feat: 更新SQL脚本(本次更新范围较大,请先备份再拉取代码)

This commit is contained in:
ageer
2025-03-31 20:12:31 +08:00
parent d3f4d7b8ca
commit ae141a6591
6 changed files with 396 additions and 481 deletions

View File

@@ -59,7 +59,7 @@
- 演示地址: https://web.pandarobot.chat - 演示地址: https://web.pandarobot.chat
- 后台管理: https://admin.pandarobot.chat - 后台管理: https://admin.pandarobot.chat
- 用户名: admin 密码admin123 - 用户名: admin 密码admin123
-
### gitcode源码地址 ### gitcode源码地址
- https://gitcode.com/ageerle/ruoyi-ai - https://gitcode.com/ageerle/ruoyi-ai
- https://gitcode.com/ageerle/ruoyi-web - https://gitcode.com/ageerle/ruoyi-web
@@ -168,16 +168,11 @@ RuoYi-AI
该项目使用了MIT授权许可详情请参阅 [LICENSE.txt](https://github.com/ageerle/ruoyi-ai/blob/main/LICENSE) 该项目使用了MIT授权许可详情请参阅 [LICENSE.txt](https://github.com/ageerle/ruoyi-ai/blob/main/LICENSE)
### 项目现状
### 作者寄语
最近我们的项目意外地受到了广泛关注甚至被许多人误以为是一个已经成熟且能够快速落地的项目。然而事实并非如此。这个项目是我个人在业余时间进行的研究主要目的是学习和探索。它是一个以人工智能AI为核心的平台旨在帮助企业通过配置的方式快速构建AI应用。
#### 项目现状
目前项目还处于早期阶段距离成熟还有很长的路要走。由于个人精力有限项目的发展速度受到了一定的限制。为了加快项目的进度我真诚地希望更多人能够参与到项目中来。无论是经验丰富的开发者还是刚刚入门的小白我都热烈欢迎你们提交Pull RequestPR。即使代码修改得很少或者存在一些错误都没有关系。我会认真审核每一位贡献者的代码并和大家一起完善项目。 目前项目还处于早期阶段距离成熟还有很长的路要走。由于个人精力有限项目的发展速度受到了一定的限制。为了加快项目的进度我真诚地希望更多人能够参与到项目中来。无论是经验丰富的开发者还是刚刚入门的小白我都热烈欢迎你们提交Pull RequestPR。即使代码修改得很少或者存在一些错误都没有关系。我会认真审核每一位贡献者的代码并和大家一起完善项目。
#### 开发计划 ### 开发计划
- 智能体管理 - 智能体管理

View File

@@ -19,6 +19,11 @@ public enum SensitiveStrategy {
*/ */
ID_CARD(s -> DesensitizedUtil.idCardNum(s, 3, 4)), ID_CARD(s -> DesensitizedUtil.idCardNum(s, 3, 4)),
/**
* 密钥脱敏
*/
SKY(s -> DesensitizedUtil.idCardNum(s, 0, 1)),
/** /**
* 手机号脱敏 * 手机号脱敏
*/ */

View File

@@ -44,7 +44,7 @@ public class ChatConfig extends TenantEntity {
/** /**
* 配置值 * 配置值
*/ */
@Sensitive(strategy = SensitiveStrategy.ID_CARD) @Sensitive(strategy = SensitiveStrategy.SKY)
private String configValue; private String configValue;
/** /**

View File

@@ -45,7 +45,7 @@ public class ChatConfigBo extends BaseEntity {
/** /**
* 配置值 * 配置值
*/ */
@Sensitive(strategy = SensitiveStrategy.ID_CARD) @Sensitive(strategy = SensitiveStrategy.SKY)
@NotBlank(message = "配置值不能为空", groups = { AddGroup.class, EditGroup.class }) @NotBlank(message = "配置值不能为空", groups = { AddGroup.class, EditGroup.class })
private String configValue; private String configValue;

View File

@@ -38,7 +38,6 @@ public class ChatConfigVo implements Serializable {
* 配置类型 * 配置类型
*/ */
@ExcelProperty(value = "配置类型") @ExcelProperty(value = "配置类型")
@Sensitive(strategy = SensitiveStrategy.ID_CARD)
private String category; private String category;
/** /**
@@ -51,6 +50,7 @@ public class ChatConfigVo implements Serializable {
* 配置值 * 配置值
*/ */
@ExcelProperty(value = "配置值") @ExcelProperty(value = "配置值")
@Sensitive(strategy = SensitiveStrategy.SKY)
private String configValue; private String configValue;
/** /**

File diff suppressed because it is too large Load Diff