Skip to content

Commit

Permalink
!877 修正注释错误
Browse files Browse the repository at this point in the history
Merge pull request !877 from moon69/master
  • Loading branch information
YunaiV authored and gitee-org committed Feb 27, 2024
2 parents 74a669f + a8ee4a8 commit ccc0a09
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public interface RedisKeyConstants {
/**
* 序号的缓存
*
* KEY 格式:trade_no:{prefix}
* KEY 格式:seq_no:{prefix}
* VALUE 数据格式:编号自增
*/
String NO = "erp:seq_no:";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public CommonResult<Boolean> updateMenu(@Valid @RequestBody MenuSaveVO updateReq

@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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;
import java.util.Set;

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -52,7 +52,7 @@ public interface RedisKeyConstants {
/**
* OAuth2 客户端的缓存
* <p>
* KEY 格式:user:{id}
* KEY 格式:oauth_client:{id}
* VALUE 数据类型:String 客户端信息
*/
String OAUTH_CLIENT = "oauth_client";
Expand All @@ -78,7 +78,7 @@ public interface RedisKeyConstants {
/**
* 邮件账号的缓存
* <p>
* KEY 格式:sms_template:{id}
* KEY 格式:mail_account:{id}
* VALUE 数据格式:String 账号信息
*/
String MAIL_ACCOUNT = "mail_account";
Expand Down

0 comments on commit ccc0a09

Please sign in to comment.