PIG AI
|
2d7d089fcd
|
feat(auth): 优化租户过期验证逻辑并统一Redis key格式
- 修改登录失败/成功处理中的Redis key格式,移除tenantKeyStrResolver依赖
- 简化RedisUtils.execute调用方式,移除冗余的RedisCallback类型声明
- 在SysTenantServiceImpl中增加租户状态和时间有效性过滤
- 重构TenantContextHolderFilter的租户验证逻辑,增加remoteTenantService备用查询
- 调整租户无效时的HTTP状态码为426并优化响应内容类型
|
2025-07-04 16:41:06 +08:00 |
|
PIG AI
|
00efa97eef
|
feat(cache): 在RedisUtils中增加increment方法并优化验证码缓存服务
- 新增RedisUtils.increment方法用于原子递增操作
- 重构CaptchaCacheServiceProvider使用RedisUtils替代直接stringRedisTemplate调用
- 统一Redis缓存操作工具类方法调用方式
|
2025-07-04 12:24:28 +08:00 |
|
PIG AI
|
32c7aec93d
|
fix(mybatis): 修复匿名用户处理逻辑返回null值问题
- 修改AnonymousAuthenticationToken情况下的返回值为null
- 优化authentication对象存在性检查逻辑
|
2025-07-04 12:07:15 +08:00 |
|
PIG AI
|
3a53fb5677
|
feat(redis): 添加Redis工具类,优化RedisTemplate配置
|
2025-07-04 11:57:22 +08:00 |
|
PIG AI
|
7205251977
|
feat(upms): ❕ 增强多租户支持,支持在线切换租户
- 新增SysTenantUser实体类及Mapper用于租户用户关系管理
- 新增SysUserDept实体类及Mapper实现用户多部门支持
- 重构用户信息查询逻辑,支持跨租户查询
- 优化部门管理,支持多租户下的部门树查询
- 扩展UserInfo DTO增加deptId字段
- 重构Redis授权服务,优化租户信息存储结构
# Conflicts:
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/controller/SysTenantController.java
# pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/service/SysUserService.java
|
2025-07-04 11:56:14 +08:00 |
|
PIG AI
|
a970fe166a
|
refactor(stream): 替换Collectors.toList()为toList()方法
- 优化代码简洁性,使用Java 16引入的Stream.toList()替代Collectors.toList()
- 统一代码风格,减少冗余代码
- 提升代码可读性,简化stream操作
|
2025-07-04 11:50:17 +08:00 |
|
PIG AI
|
718a587c19
|
feat(tenant): 增强租户状态检查逻辑
- 新增对租户有效期的检查,包括startTime和endTime验证
- 优化无效租户的响应方式,返回401状态码和JSON格式错误信息
- 使用JSONUtil和ContentType处理错误响应输出
- 添加@SneakyThrows注解处理潜在异常
|
2025-06-23 16:18:09 +08:00 |
|
PIG AI
|
8d0eb9c8fb
|
feat(mybatis): 修改匿名用户处理逻辑以返回用户名
- 移除未使用的SecurityUtils import
- 当用户为AnonymousAuthenticationToken时返回authentication.getName()
- 保持原有非匿名用户处理逻辑不变
|
2025-06-23 16:16:39 +08:00 |
|
冷冷
|
8edb1458a0
|
feat(mybatis): 支持Oracle和PostgreSQL数据库的SQL表名提取功能
|
2025-06-23 16:04:25 +08:00 |
|
冷冷
|
cc0f1cda67
|
feat(data): 支持通过参数跳过数据权限
用法:
DataScope dataScope = new DataScope();
dataScope.setSkip(true);
baseMapper.selectPageByScope(page, wrapper, dataScope);
|
2024-12-25 09:36:18 +08:00 |
|
冷冷
|
536be6fb15
|
refactor(data): 数据权限查询角色优化
|
2024-11-26 14:14:27 +08:00 |
|
冷冷
|
0d798c328f
|
refactor(data): 数据权限查询角色优化
|
2024-11-26 14:06:11 +08:00 |
|
冷冷
|
10e5234e34
|
refactor(core): 适配 mybatis-plus 3.5.9
|
2024-11-24 18:04:22 +08:00 |
|
冷冷
|
075cda636a
|
refactor(data): 业务代码里的规则,覆盖计算规则
|
2024-11-22 10:38:15 +08:00 |
|
冷冷
|
02dea27959
|
refactor(data): 支持多角色数据权限计算
|
2024-11-21 23:10:28 +08:00 |
|
冷冷
|
fddf156651
|
refactor(data): 支持多角色数据权限计算
|
2024-11-21 23:10:13 +08:00 |
|
luolin
|
1e79c85b17
|
♻️ Refactoring code.解决数据库存空串的情况
|
2024-09-10 23:00:13 +08:00 |
|
冷冷
|
0d8cde1e13
|
refactor(core): TenantContextHolderFilter 清空TTL 避免内存泄漏
Closes 5896
|
2024-09-03 16:23:50 +08:00 |
|
冷冷
|
6671a4abf9
|
refactor(缓存): redistemplate / spring cache 使用 Json 序列化
sas 默认的缓存没有修改
|
2024-08-21 14:39:19 +08:00 |
|
冷冷
|
5827c163c2
|
feat(租户管理): 状态过期,强制退出对应租户所有操作
|
2024-08-16 15:28:13 +08:00 |
|
冷冷
|
cdac9cab16
|
✨ 增加mybatis-plus乐观锁插件
(cherry picked from commit b3ab378edaa27685ca1f8f02f0b46ed84f1c1729)
|
2024-08-16 15:17:17 +08:00 |
|
冷冷
|
aba51bbdb8
|
♻️ 增加 NoToken 注解方便对应 无token feign调用场景
(cherry picked from commit 2d78533a29c9c392f75d76cf202ae1daf8f7c77b)
|
2024-08-16 15:16:20 +08:00 |
|
冷冷
|
159ec6d9d4
|
♻️ Refactoring code. 架构重构支持 一套代码两种方式运行
|
2024-04-18 18:01:40 +08:00 |
|
lbw
|
9f6be8850b
|
🐛 Fixing a bug. 前端排序规则失效 SqlInjectionUtils Error
|
2024-03-04 21:57:19 +08:00 |
|
lbw
|
37bebcd066
|
♻️ Refactoring code. sql注入检测使用mybatis-plus 提供工具类替换
|
2024-02-22 19:23:18 +08:00 |
|
lbw
|
96278499dc
|
✨ Introducing new features. @TenantTable 注解
|
2024-02-19 13:03:14 +08:00 |
|
lbw
|
c5b2f82a7a
|
⬆️ Upgrading dependencies. springboot 3.2.x
|
2024-01-29 13:05:13 +08:00 |
|
lbw
|
d15832c784
|
♻️ Refactoring code. sql server durid
|
2023-12-12 12:30:37 +08:00 |
|
lbw
|
f98fb3ba1a
|
♻️ Refactoring code. common-idempotent 适配 SpringBoot 3.X
|
2023-10-28 21:22:09 +08:00 |
|
lbw
|
cb4f51facc
|
⬆️ Upgrading dependencies. druid 1.2.20 & mybatis-plus-join 1.4.6 & sharding 5.4.1
|
2023-10-22 15:12:32 +08:00 |
|
lbw
|
dd89faff1e
|
♻️ Refactoring code. RedisTemplate 序列化规则使用常量类
|
2023-09-25 11:47:15 +08:00 |
|
lbw
|
2c6a700154
|
🔖 Releasing / Version tags. 5.2
🔖 Releasing / Version tags. 5.2
|
2023-09-13 10:28:40 +08:00 |
|
lbw
|
b9939a1420
|
✨ Introducing new features. druid log 支持根据表名跳过输出
|
2023-08-05 22:24:04 +08:00 |
|
lbw
|
d0bb2f01e7
|
✨ Introducing new features. #5041 ParamResolver 增加批量获取参数的方法封装
|
2023-08-02 17:40:53 +08:00 |
|
lbw
|
3aa2a54b56
|
♻️ Refactoring code. close #I7PVTQ 登录日志的创建人不对
|
2023-08-02 12:57:53 +08:00 |
|
lbw
|
c37b60e9dd
|
♻️ Refactoring code. close #I7PVTQ 登录日志的创建人不对
|
2023-08-02 12:54:51 +08:00 |
|
lbw
|
18d1ac8356
|
🐛 Fixing a bug. #5025 数据权限 COUNT 函数在全部数据权限级别执行错误
|
2023-07-25 19:41:14 +08:00 |
|
lbw
|
b69285c55b
|
✨ flowable M1的适配版本
|
2023-07-24 08:17:04 +08:00 |
|
lbw
|
78947f4258
|
♻️ Refactoring code. druid 适配 springboot 3.0
|
2023-07-10 23:18:54 +08:00 |
|
lbw
|
791f5e9a56
|
♻️ Refactoring code. druid 适配 springboot 3.0
|
2023-07-10 21:47:55 +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
|
4cc73e7372
|
♻️ Refactoring code. 审计字段自动填充强制覆盖用户修改
|
2023-07-04 11:41:22 +08:00 |
|
lbw
|
7976d4401c
|
🎨 Improving structure / format of the code. 格式化代码
|
2023-06-20 11:35:42 +08:00 |
|
lbw
|
373e394d59
|
♻️ Refactoring code. 重构排序查询条件,避免gateway 两次编码导致失效问题
|
2023-06-20 11:26:30 +08:00 |
|
lbw
|
c45af2c29c
|
✨ Introducing new features. 支持 mybatis-plus 连表查询
|
2023-06-05 16:20:09 +08:00 |
|
lbw
|
fbde71ccc4
|
🎨 Improving structure / format of the code. 优化代码,批量删除无用 import
|
2023-04-07 14:39:09 +08:00 |
|
lbw
|
c0f7da40f7
|
♻️ Refactoring code. 重构部门结构
|
2023-04-04 11:12:47 +08:00 |
|
lbw
|
4d8389601c
|
♻️ Refactoring code. 兼容更多排序数组类型的配置
|
2023-02-09 18:18:53 +08:00 |
|
lbw
|
0513be8644
|
♻️ Refactoring code. 迁移 Spring Authorization Server
|
2022-12-11 15:18:48 +08:00 |
|