修正注释错误
This commit is contained in:
parent
123a009394
commit
a8ee4a85ce
|
@ -10,7 +10,7 @@ public interface RedisKeyConstants {
|
|||
/**
|
||||
* 序号的缓存
|
||||
*
|
||||
* KEY 格式:trade_no:{prefix}
|
||||
* KEY 格式:seq_no:{prefix}
|
||||
* VALUE 数据格式:编号自增
|
||||
*/
|
||||
String NO = "seq_no:";
|
||||
|
|
|
@ -50,7 +50,7 @@ public class MenuController {
|
|||
|
||||
@DeleteMapping("/delete")
|
||||
@Operation(summary = "删除菜单")
|
||||
@Parameter(name = "id", description = "角色编号", required= true, example = "1024")
|
||||
@Parameter(name = "id", description = "菜单编号", required= true, example = "1024")
|
||||
@PreAuthorize("@ss.hasPermission('system:menu:delete')")
|
||||
public CommonResult<Boolean> deleteMenu(@RequestParam("id") Long id) {
|
||||
menuService.deleteMenu(id);
|
||||
|
|
|
@ -8,7 +8,6 @@ import com.alibaba.excel.annotation.ExcelProperty;
|
|||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Set;
|
||||
|
||||
|
@ -25,7 +24,7 @@ public class RoleRespVO {
|
|||
@ExcelProperty("角色名称")
|
||||
private String name;
|
||||
|
||||
@NotBlank(message = "角色标志不能为空")
|
||||
@Schema(description = "角色标志", requiredMode = Schema.RequiredMode.REQUIRED, example = "ADMIN")
|
||||
@ExcelProperty("角色标志")
|
||||
private String code;
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ public interface RedisKeyConstants {
|
|||
/**
|
||||
* 拥有指定菜单的角色编号的缓存
|
||||
* <p>
|
||||
* KEY 格式:user_role_ids:{menuId}
|
||||
* KEY 格式:menu_role_ids:{menuId}
|
||||
* VALUE 数据类型:String 角色编号集合
|
||||
*/
|
||||
String MENU_ROLE_ID_LIST = "menu_role_ids";
|
||||
|
@ -52,7 +52,7 @@ public interface RedisKeyConstants {
|
|||
/**
|
||||
* OAuth2 客户端的缓存
|
||||
* <p>
|
||||
* KEY 格式:user:{id}
|
||||
* KEY 格式:oauth_client:{id}
|
||||
* VALUE 数据类型:String 客户端信息
|
||||
*/
|
||||
String OAUTH_CLIENT = "oauth_client";
|
||||
|
@ -78,7 +78,7 @@ public interface RedisKeyConstants {
|
|||
/**
|
||||
* 邮件账号的缓存
|
||||
* <p>
|
||||
* KEY 格式:sms_template:{id}
|
||||
* KEY 格式:mail_account:{id}
|
||||
* VALUE 数据格式:String 账号信息
|
||||
*/
|
||||
String MAIL_ACCOUNT = "mail_account";
|
||||
|
|
Loading…
Reference in New Issue