Commit Graph

13 Commits

Author SHA1 Message Date
33d89431cf refactor: 使用 CollUtils 替代部分 Stream 操作,提高代码的可读性,减少代码行数(缺点:方法写起来不如流式代码舒爽) 2025-07-17 23:05:59 +08:00
08f45b5f4d refactor: CommonController 迁移至 system 模块、OnlineUserController 迁移至 system/auth 模块 2025-07-17 22:39:32 +08:00
6136797588 build: continew-starter 2.13.0 => 2.13.1
1.DataPermissionUserContextProvider 相关命名调整,以避免和 Admin 内类名冲突
DataPermissionUserContextProvider => DataPermissionUserDataProvider
UserContext => UserData
RoleContext => RoleData
2.引入 crane4j 依赖及填充处理(Starter 为了扩展性,移除了此依赖及相关处理)
3.API 替换
3.1SpringUtil.getBean(TenantHandler.class) => TenantUtils
3.2JakartaServletUtil.write => ServletUtils.writeJSON
3.3tenantExtensionProperties.isEnabled() => TenantContextHolder.isTenantEnabled()
4.Starter 内部修复
4.1FastExcel POI 版本冲突导致的导出报错
4.2EnumValue 校验支持了 BaseEnum
2025-07-17 22:29:09 +08:00
7e9a950694 refactor(tenant): 优化租户相关代码 2025-07-17 22:15:13 +08:00
6e7d371565 refactor(tenant): 移除租户数据源及数据源级隔离适配代码 2025-07-15 21:54:22 +08:00
af1079da6d refactor(tenant): 优化租户相关代码 2025-07-15 20:09:54 +08:00
小熊
ed6dd65a51 feat(plugin/tenant): 新增多租户插件模块 (#175) 2025-07-10 20:38:59 +08:00
dcc28bcf34 refactor: 优化行为验证码 CaptchaService 服务获取方式,关闭行为验证码不会导致启动报错
Closes #91
2025-07-08 21:40:08 +08:00
2138bee42c build: continew-starter 2.12.2 => 2.13.0
1.引入 continew-starter-validation(从 core 拆分)、sa-token-sign(从 sa-token-core 拆分并调整了部分 API)
2.Starter import 包路径调整
- EasyExcel 替换为 FastExcel:com.alibaba.excel(EasyExcel) => cn.idev.excel(FastExcel)
- top.continew.starter.file.excel => top.continew.starter.excel
- top.continew.starter.core.validation.constraints => top.continew.starter.validation.constraints
- top.continew.starter.core.validation.ValidationUtils、CheckUtils、Validator => top.continew.starter.core.util.validation
- cn.dev33.satoken.sign => cn.dev33.satoken.sign.template
- top.continew.starter.core.autoconfigure.project => top.continew.starter.core.autoconfigure.application
- top.continew.starter.data.core、top.continew.starter.data.mp => top.continew.starter.data
- top.continew.starter.data.mp.base.BaseMapper => top.continew.starter.data.mapper.BaseMapper
2.Starter 基础类命名调整
CRUD:AbstractBaseController => AbstractCrudController,BaseService => CrudService,BaseServiceImpl => CrudServiceImpl
Core:ProjectProperties(项目配置,project.xxx) => ApplicationProperties(应用配置更为贴切,且变量 application.xx 可以和 Maven 变量显著区分开)
3.groupId 调整:top.continew.starter、top.continew.admin(避免部分童鞋全局替换包名时出现把 starter 也一起替换了!)
4.Admin import 包路径调整:BaseController、BaseDO等 => common.base
5.新增 BaseService、BaseServiceImpl 替代 Starter 原 BaseXxx,方便用户根据项目实际需要重写或新增全局通用接口、方法
6.snail-job server 数据库脚本更新至 v1.5.0
7.Valid 及 Validated 使用梳理(CrudService 支持通过在实现类添加 Validated 注解来实现 Service 层基础校验)
2025-07-05 21:33:45 +08:00
fcc3cb909a fix(system/storage): 修复对象存储域名配置 2025-06-22 19:45:06 +08:00
4e44507e78 chore: 优化控制台启动完成输出内容 2025-06-21 11:56:12 +08:00
93bd70dc5c refactor: 拆分接口文档分组配置及 controller 到各自模块 2025-06-14 22:12:05 +08:00
71fee0f58d build: 优化模块命名 continew-webapi => continew-server,continew-module-system => continew-system 2025-06-14 21:08:38 +08:00