From 10b5b0e82a2125ee90ff036aed877d2e6cadfe51 Mon Sep 17 00:00:00 2001 From: wdhcr <w18700852607@163.com> Date: 星期一, 10 七月 2023 16:06:49 +0800 Subject: [PATCH] 配合前端使用jsencrypt实现接口参数加密功能, 可在application.yml中全局开启, 也可通过自定义注解@ApiDecrypt对单独接口开启. --- ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/domain/GenTable.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/domain/GenTable.java b/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/domain/GenTable.java index 944fd2e..f792ceb 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/domain/GenTable.java +++ b/ruoyi-modules/ruoyi-generator/src/main/java/org/dromara/generator/domain/GenTable.java @@ -32,6 +32,12 @@ private Long tableId; /** + * 鏁版嵁婧愬悕绉� + */ + @NotBlank(message = "鏁版嵁婧愬悕绉颁笉鑳戒负绌�") + private String dataName; + + /** * 琛ㄥ悕绉� */ @NotBlank(message = "琛ㄥ悕绉颁笉鑳戒负绌�") -- Gitblit v1.9.3