Commit Graph
238 Commits
Author SHA1 Message Date
PIGCLOUD f312f1b229 fix(pigx-common-core): #7229 登录时调用 getUserInfo 获取用户权限,但此时租户上下文还没设置(或设置为默认租户 1),导致 findMenuByRoleId 查询的是错误租户的菜单数据。 @786556226 2026-03-08 14:58:51 +08:00
PIGCLOUD 2acdceac2a feat(i18n): set default locale to China for message sources 2026-03-08 14:56:04 +08:00
PIGCLOUD c36ef5fdf5 refactor(copyright): 更新版权年份至 2026
- 统一更新所有源文件、LICENSE、pom.xml 等的版权年份至 2026
2026-01-03 22:55:26 +08:00
PIGCLOUD f30b32a28a feat(upms): 重构国际化消息和错误码模块化架构
- 移除全局ErrorCodes接口,按模块拆分Auth/Upms/App错误码定义
- 新增模块化i18n消息文件,支持多JAR包扫描加载机制
- 重构MsgUtils支持LocaleContextHolder动态区域解析
- 统一OAuthClientException异常处理支持错误码和描述参数
- 优化企业微信/钉钉同步错误消息国际化支持
2025-12-28 11:27:03 +08:00
PIGCLOUD 6d837c6f1c fix(ImageCodeEndpoint): 修改验证码类型为动态参数,支持多种验证码类型
fix(ValidateCodeFilter): 更新验证码校验逻辑,支持滑块和点击文字验证码
2025-11-18 09:39:37 +08:00
PIGCLOUD 15f28dcd35 feat(personal): 修改手机号,新增短信验证码校验功能
- 在UserDTO中增加验证码字段用于手机号修改校验
- 修改用户信息时增加短信验证码校验逻辑
- 新增验证码错误提示信息到i18n配置
- 扩展SysMessageService支持区分已注册/未注册手机号验证
2025-11-18 09:38:38 +08:00
claudecode d16d8bc18a feat(flow): 扩展流程发起人权限验证支持岗位类型
- 在NodeUserTypeEnum中新增POST类型以支持岗位权限验证
- 修改CombinationGroupServiceImpl中的权限验证逻辑,增加对岗位权限的检查
- 调整PigxUser结构以支持多部门、多角色、多岗位的存储
- 更新AssignUserLeaderStrategyImpl以适配用户的多部门信息
- 在SysDeptServiceImpl的getOrgTree方法中增加对岗位类型的支持
- 优化UserVO中集合属性的初始化以避免空指针异常
2025-10-17 15:42:09 +08:00
PIG AI c8a8da7497 feat(tenant): 新增租户用户管理功能
- 在SysUserPost实体类中添加tenantId字段
- 新增SysTenantUserDTO用于租户用户数据传输
- 在SysTenantController中新增用户租户管理接口
- 实现租户用户的增删改查及分页查询功能
- 优化ValidateCodeFilter中的验证码校验逻辑
- 修复PigxUserDetailsService中空部门列表处理问题
2025-07-04 12:01:27 +08:00
PIG AI 78874c1646 refactor(pom): 适配 springboot 3.5 & spring cloud 2025 2025-06-23 16:19:50 +08:00
冷冷 19a223695f refactor(core): 重构WebPriorityHeader相关配置类并优化结构
- 将PriorityHeaderConfiguration重命名为PriorityHeaderInitBinder以明确用途
- 合并RestTemplate配置至新创建的WebCommonConfiguration类
- 在WebCommonConfiguration中统一管理Web相关Bean配置
- 添加ConditionalOnWebApplication条件注解确保Servlet环境
2025-06-23 16:06:54 +08:00
冷冷 37035cbf27 refactor(core): 重构WebPriorityHeader相关配置类并优化结构
- 将PriorityHeaderConfiguration重命名为PriorityHeaderInitBinder以明确用途
- 合并RestTemplate配置至新创建的WebCommonConfiguration类
- 在WebCommonConfiguration中统一管理Web相关Bean配置
- 添加ConditionalOnWebApplication条件注解确保Servlet环境
2025-06-23 16:06:54 +08:00
冷冷 7f9e6105f8 feat(core): 添加PriorityHeaderConfiguration解决请求头冲突问题 2025-06-23 16:05:22 +08:00
冷冷 5b5aac37d0 feat(core): 在 WebUtils 中添加 isMicro 方法用于检测微服务环境
新增 `isMicro` 方法,通过 `SpringContextHolder` 获取应用上下文并检查 `security.micro` 属性,默认返回 `true`。
2025-03-10 23:40:00 +08:00
冷冷 d474799fa7 feat(encrypt-api): 支持全局请求报文加密
BREAKING CHANGE: 文档和用法完全和之前不一样,不需要耦合代码
2025-03-07 18:18:02 +08:00
冷冷 7f8626e04f feat: 更新 PigxTokenEndpoint 和相关模板,优化授权流程和界面 2025-02-18 22:17:42 +08:00
冷冷 3e7df4cc61 feat(core): Add utility method to convert boolean to YesNoEnum code 2025-02-17 15:35:50 +08:00
冷冷 e77e2c5a4a refactor(security): 增加 satoken 通用配置属性 2024-11-27 20:11:57 +08:00
冷冷 f763512a6c refactor(core): 优化默认查询SQL输出,quartz、工作流的SQL 不输出 2024-11-24 17:38:55 +08:00
冷冷 61121eb507 refactor(core): 调整 request.getParameterMap()等使用,兼容东方通等容器 2024-11-24 17:38:31 +08:00
冷冷 6671a4abf9 refactor(缓存): redistemplate / spring cache 使用 Json 序列化
sas 默认的缓存没有修改
2024-08-21 14:39:19 +08:00
冷冷 7750314ac6 refactor(common-core): 新增通用配置 common-config , 简化 application配置
大部分情况下 common-config 一旦确定后续不修改,所以不需要写在 application 做一个简化

(cherry picked from commit 872fa03dce8e25f663e918c06e759ad49460c74e)
2024-08-16 15:26:56 +08:00
冷冷 c9d8c6a421 refactor(common-core): 新增通用配置 common-config , 简化 application配置
大部分情况下 common-config 一旦确定后续不修改,所以不需要写在 application 做一个简化

(cherry picked from commit 56f4b2fb915f3552e83ed4760772b13942ebd4d6)
2024-08-16 15:26:53 +08:00
冷冷 e94b2f1d63 ✨ Introducing new features. 【系统管理】敏感词维护管理
(cherry picked from commit 85fbc6de0d50a9dc8869ed54c55155583fdc0709)
2024-08-16 15:18:11 +08:00
冷冷 e96eaa2179 ✨ 新增 pigx-common-sensitive 脱敏模块
(cherry picked from commit 39899b1e8ff25ca1ac3708086c1ddb677fb56541)
2024-08-16 15:16:26 +08:00
冷冷 835d582b3b ✨ 支持根据角色动态脱敏指定数据属性
(cherry picked from commit 51541692ba7ee9ea5cf68f054f33c52133ca1a71)
2024-08-16 15:16:06 +08:00
冷冷 26bc891783 ♻️ ServiceNameConstants 增加代码生成模块常量 2024-04-20 21:57:03 +08:00
冷冷 b77d318f07 ✨ add AsyncConfiguration 明确异步线程池配置 2024-04-20 21:56:25 +08:00
冷冷 159ec6d9d4 ♻️ Refactoring code. 架构重构支持 一套代码两种方式运行 2024-04-18 18:01:40 +08:00
冷冷 60257eec93 ♻️ Refactoring code. 增加序列化规则 Duration 类型 2024-04-15 22:54:18 +08:00
lbw 96278499dc ✨ Introducing new features. @TenantTable 注解 2024-02-19 13:03:14 +08:00
lbw 34bf7572bf #5285 代码扫描命名规范优化,命名规范扫描发现未知属性词汇“decs”,调整简写改为“desc” 2023-11-27 16:03:32 +08:00
lbw f1a1291203 🎨 Improving structure / format of the code. 2023-10-28 23:09:37 +08:00
lbw 22bc9ef90e 🔒 Fixing security issues. 避免C端用户携带token 访问 B端接口 2023-10-27 17:38:47 +08:00
lbw 893c4c79a4 ♻️ Refactoring code. 脱敏支持 车牌号、IPV4 2023-10-09 13:35:07 +08:00
lbw 86aa539ad9 ♻️ Refactoring code. 适配最新 flowable 工作流代码 2023-08-09 15:57:51 +08:00
lbw b69285c55b ✨ flowable M1的适配版本 2023-07-24 08:17:04 +08:00
lbw c536c79434 ♻️ Refactoring code. 优化现有SPI 加载方式 2023-07-10 21:16:37 +08:00
lbw 1525a14753 ✨ Introducing new features. 先解决编译问题 2023-07-10 17:49:56 +08:00
lbw d6bd0d1652 🔥 Removing code or files. 删除无用代码属性 2023-02-20 17:19:15 +08:00
lbw e78da7a9e3 ♻️ Refactoring code.增加I18N 缓存 2023-02-15 11:06:32 +08:00
lbw 999d2f4d15 ✨ Introducing new features. 支持 vue3 代码生成 2023-02-06 16:34:12 +08:00
aeizzz 6843d5ab59 ✨ Introducing new features. 更新app端登录信息适配单体模块 2023-01-30 14:44:10 +08:00
aeizzz 246fa10785 🐛 Fixing a bug. 修改移动端请求头识别字段,防止被nginx过滤 2023-01-11 20:05:24 +08:00
lbw 6b9225f039 ♻️ Refactoring code. 升级springboot2.7 report 启动失败 2023-01-04 19:21:13 +08:00
lbw 2a842989e2 🐛 Fixing a bug.ObjectUtil.isEmpty 2023-01-02 21:58:28 +08:00
lbw eb3387da9f ♻️ Refactoring code. 使用openapi3 替代swagger2 2023-01-02 10:17:44 +08:00
lbw 0513be8644 ♻️ Refactoring code. 迁移 Spring Authorization Server 2022-12-11 15:18:48 +08:00
aeizzz 2cfc9c9a95 ♻️ Refactoring code. 格式化代码 2022-12-08 21:38:14 +08:00
aeizzz 3119fe2a1e ✨ Introducing new features. 移动端社交登录 2022-12-08 21:37:28 +08:00
aeizzz 5078800250 ✨ Introducing new features. 增加用户新增和编辑时候的手机号重复判断 2022-12-08 21:18:18 +08:00