修正注释错误

This commit is contained in:
moon69 2024-02-22 12:53:59 +08:00
parent 123a009394
commit a8ee4a85ce
4 changed files with 6 additions and 7 deletions

View File

@ -10,7 +10,7 @@ public interface RedisKeyConstants {
/**
* 序号的缓存
*
* KEY 格式trade_no:{prefix}
* KEY 格式seq_no:{prefix}
* VALUE 数据格式编号自增
*/
String NO = "seq_no:";

View File

@ -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);

View File

@ -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;

View File

@ -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";