Commit Graph
2735 Commits
Author SHA1 Message Date
leng leng ce07c9dcb9 feat(area): 重构行政区划管理接口 (#72) 2026-08-01 11:59:35 +08:00
PIGCLOUD fb5e1bdf6e fix(sequence): 发号器自动建表兼容 PostgreSQL 等非 MySQL 方言
Table.from 推导的列缺少 originType,DDL 阶段无法按目标库转换类型,
PostgreSQL 下 DATETIME 原样输出导致建表失败(type "datetime" does not exist)。
补全 originType 使 anyline 方言别名转换(DATETIME -> TIMESTAMP)生效。

同时显式命名主键约束:anyline 随机生成的约束名约 16% 概率以数字开头,
未加引号时为 SQL 语法错误。

MySQL 差分验证建表行为不变;本地 PostgreSQL 实测建表成功。
2026-08-01 11:59:35 +08:00
PIGCLOUD 2ab4d66f28 fix(feign): 修复首次并发请求转换器竞态 2026-08-01 11:59:35 +08:00
PIGCLOUD d3afca673e fix(upms): aggregate log statistics in database (#7568) 2026-08-01 11:59:35 +08:00
PIGCLOUD 0a15577761 fix log multipart serialization 2026-08-01 11:59:35 +08:00
PIGCLOUD 2bc5fb5f24 feat(datasource): 支持通过 query-ds-enabled 关闭数据库配置表加载扩展数据源
新增 spring.datasource.druid.query-ds-enabled 配置项,默认开启;显式设为
false 时跳过从 gen_datasource_conf 表加载扩展数据源,便于不依赖该表的部署
场景关闭此行为。
2026-08-01 11:59:35 +08:00
PIGCLOUD 76ea7f45ac feat(pigx-upms-biz): 小程序登录支持手机号不存在时自动注册
- 当用户不存在且系统注册功能开启时,自动以手机号注册新用户并返回用户信息
- 初始密码使用10位随机数字,注册逻辑与SysRegisterController保持一致
2026-08-01 11:59:35 +08:00
PIGCLOUD 8062730ec3 fix sequence range update name condition 2026-08-01 11:59:35 +08:00
PIGCLOUD 15fb0df080 fix(upms): restrict user list by ids to inner calls 2026-08-01 11:59:35 +08:00
PIGCLOUD 1e74a8e4b2 fix(job): set default XXL-Job access token 2026-08-01 11:59:35 +08:00
PIGCLOUD 194e3e0f99 fix(service): 使用 JakartaMailUtil 替换 MailUtil 发送邮件 2026-08-01 11:59:35 +08:00
PIGCLOUD 4f79671c94 chore(deps): upgrade xxl-job to 3.4.2 2026-08-01 11:58:31 +08:00
PIGCLOUD 91b5d27347 upgrade(xxl-job): 升级 3.4.1 2026-08-01 11:58:10 +08:00
PIGCLOUD d6ef8e4e98 upgrade(xxl-job): 升级 3.4.1 2026-08-01 11:58:02 +08:00
PIGCLOUD 87489ed353 chore(deps): align non-AI platform with 6.1.0 2026-08-01 11:57:32 +08:00
PIGCLOUD e883e64a65 chore(deps): upgrade jasypt to 4.0.4 v6.0 2026-08-01 11:53:16 +08:00
PIGCLOUD 00a4b30ecb chore(deps): upgrade spring boot admin to 4.1.1 2026-08-01 11:53:16 +08:00
PIGCLOUD 82743a0375 fix(pom): 升级 spring-boot-admin 版本至 4.1.0 2026-08-01 11:52:59 +08:00
PIGCLOUD a8437aacad fix: 升级 spring-cloud 版本至 2025.1.2
- 升级 spring-cloud 版本至 2025.1.2
2026-08-01 11:52:42 +08:00
PIGCLOUD 74fb06e3ea feat(deps): 升级 Spring Boot 4.1.0 并迁移 Redis 监听到 @RedisListener
- spring-boot.version 4.0.6 -> 4.1.0
- 共享容器 Bean 改名为 redisMessageListenerContainer,适配 Boot 4.1 按名称回退的自动配置
- ClientDetailsInitRunner/DynamicRouteInitRunner 移除 InitializingBean 手工注册,改用 @RedisListener
- WxMpInitConfigRunner 移除自定义 redisContainer Bean,改用 @RedisListener
- 注意:需配合 Nacos 共享配置关闭 spring.cloud.compatibility-verifier(SC 2025.1.1 官方仅声明兼容 Boot 4.0.x)
2026-08-01 11:52:42 +08:00
PIGCLOUD bdeba4ce3d fix(core): avoid replacing projecting jackson converter 2026-06-18 22:51:49 +08:00
PIGCLOUD a6af889ccf fix(upms): validate password reset result 2026-06-18 08:33:11 +08:00
PIGCLOUD 9236384ce6 refactor(pigx-register): 添加 hessian 依赖并移除 jraft-core 的排除配置 2026-06-15 13:26:47 +08:00
PIGCLOUD 53bf0dbcb1 fix(db): 将多个表的 tenant_id 字段长度从 10 增加到 64 2026-06-13 19:21:33 +08:00
PIGCLOUD dda210e91a fix: 修复 YungouosMergePayOrderHandler 中的参数传递问题 2026-06-13 19:21:19 +08:00
PIGCLOUD 783c688b6c fix(pigx-gateway):添加命名异步查询订阅服务配置 2026-06-13 19:21:13 +08:00
PIGCLOUD 2c2a9a3bd7 fix(config): 更新 pigx-daemon-elastic-job-dev.yml 配置,添加 XXL-Job 配置
(cherry picked from commit a0d855e01faf89aeb952718150f1220e351ec724)
2026-06-08 12:28:15 +08:00
PIGCLOUD d7c4ab10b3 fix(visual): align xxl_job schema with xxl-job 3.4.0 (add token, sha256 admin) 2026-06-08 11:20:24 +08:00
PIGCLOUD a5d3dff3fc fix(codegen): 加固 Velocity 模板渲染 2026-06-04 18:32:16 +08:00
PIGCLOUD d3966d64f5 chore(deps): 升级依赖版本 2026-06-04 17:20:20 +08:00
PIGCLOUD fef648a8cf refactor(pigx-upms-api): 将 SiteConfigDTO 迁移至 pigx-upms-api 模块
- 移动 SiteConfigDTO 类从 pigx-upms-biz 的 dto 包到 pigx-upms-api 的 api.dto 包
- 更新业务模块中所有对该类的 import 引用
2026-06-04 00:06:54 +08:00
PIGCLOUD 28c16ac730 fix: 默认关闭反调试保护功能
- 将 `SITE_ANTI_DEBUG_ENABLE` 参数默认值从 `1` 改为 `0`
2026-06-03 23:40:01 +08:00
PIGCLOUD b82721c293 feat(codegen): add generator path check
(cherry picked from commit 11dd892078e9b4f5dabf5df1d2c75d61df6823bd)
2026-06-03 20:58:01 +08:00
PIGCLOUD ace1e560f7 feat(pigx-xxl-job-admin): 新增 XXL-Job Admin 微服务配置 2026-06-03 12:59:08 +08:00
PIGCLOUD e3287e3d8a feat(pigx-common-bom): 新增 mybatis-spring-boot-starter 依赖管理
- 添加 mybatis-spring-boot-starter 依赖并配置版本属性 4.0.1
2026-06-03 12:59:05 +08:00
PIGCLOUD 778e795d9d chore: update version from 6.0.0-SNAPSHOT to 6.0.0 in pom.xml 2026-06-01 09:12:29 +08:00
PIGCLOUD 45c7ceec17 chore(pigx-register): 更新 nacos 版本从 3.2.1 到 3.2.2
- 升级 nacos 依赖版本至 3.2.2
2026-06-01 09:05:29 +08:00
PIGCLOUD 5d561bee33 feat(pigx-codegen): 支持实体生成到独立 api 模块
- 新增 DataModelConstants 定义 API_PATH、ENTITY_PATH 等实体路径常量
- 实现 setEntityModel 方法,自动识别 `-biz` 模块同级 `-api` 模块,将实体生成路径和包名切换到 api 模块
- 更新 gen_template.sql 代码生成模板,使用 entityClassName、entityPath 等动态变量替代硬编码包路径
- 扩展 isSpringBoot3 判断逻辑,兼容 SpringBoot 4.x 主版本
2026-05-28 15:57:50 +08:00
PIGCLOUD f172154800 feat(pigx-codegen): 支持实体生成到独立 api 模块
- 新增 DataModelConstants 定义 API_PATH、ENTITY_PATH 等实体路径常量
- 实现 setEntityModel 方法,自动识别 `-biz` 模块同级 `-api` 模块,将实体生成路径和包名切换到 api 模块
- 更新 gen_template.sql 代码生成模板,使用 entityClassName、entityPath 等动态变量替代硬编码包路径
- 扩展 isSpringBoot3 判断逻辑,兼容 SpringBoot 4.x 主版本
2026-05-28 14:41:17 +08:00
PIGCLOUD f3c0b2034c feat(pigx-upms-biz): 重构微信小程序登录,由 openid 改为手机号登录
- 修改 `MiniAppLoginHandler` 登录流程:使用前端 `getPhoneNumber` 返回的 code 换取手机号,并通过手机号获取用户信息;绑定逻辑改为写入手机号字段
- 引入微信接口调用凭证(access_token)的获取与 Redis 缓存机制,减少重复请求
- 新增 `SecurityConstants` 中 `MINI_APP_ACCESS_TOKEN_URL` 和 `MINI_APP_PHONE_NUMBER_URL` 常量
- 移除自动创建小程序用户逻辑,未绑定时直接返回 null
- 提取微信响应校验、缓存读取/写入、HTTP 请求等方法,便于单元测试覆盖
2026-05-28 14:41:15 +08:00
PIGCLOUD dd49790ceb refactor: 更新 XXL-Job Admin 配置
- 重写 `pigx-xxl-job-admin-dev.yml` 配置内容,增加 Web 服务、Actuator 监控、HikariCP 连接池、邮箱服务及 XXL-SSO 单点登录等详细配置
2026-05-26 07:41:17 +08:00
PIGCLOUD 3b6c63dd64 feat(pigx-register): 禁用Nacos AI扩展功能与广告展示
- 添加配置 `nacos.extension.ai.enabled=false` 关闭AI扩展功能
- 添加配置 `nacos.console.ad.enabled=false` 关闭控制台广告展示
2026-05-26 07:40:59 +08:00
PIGCLOUD b19c1c2f0f feat(docs): add behavioral guidelines for coding practices in AGENTS.md and CLAUDE.md 2026-05-13 09:46:38 +08:00
PIGCLOUD 21127c11b5 chore(db): sync non-ai database scripts 2026-05-25 17:31:39 +08:00
PIGCLOUD 5eff0d71df feat: add new models and update application structure for job scheduling 2026-05-01 23:59:12 +08:00
PIGCLOUD 124a2547dd refactor(xxl-job): replace xxl-job-admin for boot4 2026-05-25 17:31:39 +08:00
PIGCLOUD 3132cc3784 feat(pigx-upms-biz): 新增密码规则预设功能 2026-05-21 17:21:03 +08:00
PIGCLOUD 1b87ae9787 refactor(pigx-common-datasource): 重构数据源类型枚举,新增 AnyLine 解析适配器字段及插件状态查询 2026-05-24 18:49:20 +08:00
PIGCLOUD 0fca2924d4 refactor(pigx-common-data): 解耦 pigx-common-data 对 pigx-common-security 的依赖 2026-05-21 10:39:50 +08:00
PIGCLOUD 5ad4dfb711 refactor(pigx-common-security): 统一验证码校验逻辑并新增短信验证码前置校验 2026-05-20 23:24:23 +08:00