diff --git a/youlai-common/common-base/src/main/java/com/youlai/common/constant/RedisConstants.java b/youlai-common/common-base/src/main/java/com/youlai/common/constant/RedisConstants.java index a95b76b89..4cfb4ad5c 100644 --- a/youlai-common/common-base/src/main/java/com/youlai/common/constant/RedisConstants.java +++ b/youlai-common/common-base/src/main/java/com/youlai/common/constant/RedisConstants.java @@ -53,4 +53,15 @@ public interface RedisConstants { */ String PRODUCT_SKUS_LOCK_PREFIX = "product:skus:lock:"; + /** + * 手机验证码缓存前缀 + */ + + String MOBILE_VERIFICATION_CODE_PREFIX = "verification_code:mobile:"; + + /** + * 邮箱验证码缓存前缀 + */ + String EMAIL_VERIFICATION_CODE_PREFIX = "verification_code:email:"; + } diff --git a/youlai-system/system-boot/src/main/java/com/youlai/system/controller/MenuController.java b/youlai-system/system-boot/src/main/java/com/youlai/system/controller/MenuController.java index 062941ffd..407d0113e 100644 --- a/youlai-system/system-boot/src/main/java/com/youlai/system/controller/MenuController.java +++ b/youlai-system/system-boot/src/main/java/com/youlai/system/controller/MenuController.java @@ -48,8 +48,11 @@ public class MenuController { @Operation(summary = "菜单下拉列表") @GetMapping("/options") - public Result listMenuOptions() { - List