irving
08c0e2f7b1
test: format CouponWhitelistTest imports to satisfy Spotless
Build and Push Backend / docker (push) Failing after 5s
2025-10-07 00:04:47 -04:00
irving
044280bc89
feat(coupon): hide whitelist-only coupons from non-whitelisted users in wx queryAll
2025-10-07 00:00:11 -04:00
irving
e6106ecb88
feat(coupon): add enum ClaimConditionType and whitelist support\n\n- Add CouponClaimConditionType enum (ALL/FILTER/WHITELIST)\n- Schema: add custom_whitelist JSON column (Flyway V2)\n- Entity/VO: add customWhitelist; claimConditionType now 0/1/2\n- Service: enforce whitelist when claimConditionType=2\n- Controller: validate whitelist when creating coupon\n- Fix imports per formatting
2025-10-06 23:52:20 -04:00
huchuansai
f64964a39a
fix
Build and Push Backend / docker (push) Failing after 8s
2025-10-05 22:03:32 +08:00
huchuansai
4ee24aabea
fix: 修复bug
2025-10-04 23:59:17 +08:00
irving
043483a076
docker push不上去,尝试加入github action在服务器构建
2025-10-03 23:25:48 -04:00
huchuansai
29da6b906b
fix
2025-09-29 17:58:07 +08:00
huchuansai
e6b71cd897
fix
2025-09-28 09:59:47 +08:00
huchuansai
190f77529a
fix
2025-09-27 17:09:26 +08:00
huchuansai
b803e836eb
fix: 去æå已经取消的订单隐藏微信号功能
2025-09-24 11:03:12 +08:00
huchuansai
e777adf6b0
feat: 订单催促
2025-09-24 10:49:50 +08:00
huchuansai
e391058b30
fix: code style
2025-09-18 10:06:21 +08:00
huchuansai
099546b0a7
fix: 解决订单状态问题
2025-09-18 10:05:24 +08:00
huchuansai
4e456a3157
fix: 结算
2025-09-15 14:29:20 +08:00
huchuansai
b4d9a0285b
合并
2025-09-13 14:04:56 +08:00
huchuansai
9e46230b70
fix: bug
2025-09-13 14:02:52 +08:00
irving
4bc5b67937
修复部署失败问题
...
- 移除SpringSecurityConfig中重复的corsFilter Bean
- 保留CorsConfig中的全局CORS配置
- 解决因Bean定义冲突导致的应用启动失败问题
2025-09-07 17:13:01 -04:00
irving
de54406d19
修复跨域请求问题
...
- 添加全局CORS配置类CorsConfig.java
- 移除SpringSecurityConfig中的重复CORS配置
- 支持所有域名跨域访问并允许携带凭据
- 解决前端跨域请求被阻止的问题
2025-09-07 17:04:14 -04:00
irving
5a50114b59
Refactor order creation with Builder pattern and type-safe enums
...
- Replace 20+ parameter method calls with Builder pattern in WxCustomController
- Add RewardType and CommodityType enums with database compatibility
- Update DTOs and service layer for enum conversion
- Fix all test cases with proper enum usage
- Ensure backward compatibility through service layer conversion
2025-09-06 23:20:44 -04:00
irving
295400b83e
重构订单创建逻辑:采用Builder模式替代20+参数方法
...
主要改进:
- 新增OrderCreationRequest及相关DTO类,使用Builder模式提升代码可读性
- 引入类型安全的枚举类OrderConstant,替代魔法字符串常量
- 重构PlayOrderInfoServiceImpl,新增基于Builder模式的createOrderInfo方法
- 保留原有方法并标记为@Deprecated,确保向后兼容性
- 完善单元测试覆盖,包含Mockito模拟和边界条件测试
- 优化包结构,将DTO类从vo包迁移到dto包
- 添加JUnit 5和Mockito测试依赖
- 移除实体类过度使用的Lombok注解,改用精简的自定义构造器
- 新增数据库开发工作流程文档
技术栈:
- Spring Boot 2.7.9
- MyBatis-Plus 3.5.3.2
- JUnit 5 + Mockito
- Lombok Builder模式
- 类型安全枚举设计
2025-09-06 22:58:14 -04:00
irving
b96fdc6427
feat: 增强日志系统和请求追踪功能
...
- 新增CorrelationFilter过滤器,为每个请求生成唯一跟踪ID
- 增强logback配置,支持关联ID、租户信息和用户ID的结构化日志
- 新增RequestLoggingInterceptor,记录详细的HTTP请求响应信息
2025-09-06 20:30:13 -04:00
irving
dd2342a234
优化构建配置和网络连接设置
...
- 移除特定平台的JAVE依赖,改用Maven profiles实现跨平台支持
- 更新开发环境配置使用Tailscale网络地址(100.80.201.143)
- 添加macOS Apple Silicon和Linux x86_64的Maven profiles配置
- 升级JAVE版本到3.5.0并优化依赖管理
- 清理代码格式,移除多余的空行导入
2025-09-06 19:42:41 -04:00
huchuansai
b9b67dfe8b
fix: 订æ 订单消息异常
2025-09-04 10:16:28 +08:00
huchuansai
203d17c0f3
feat: 是å¯随å 随机单
2025-09-03 10:40:14 +08:00
huchuansai
d91de22318
fix: 定时任务解决订单未结束的需求
2025-09-01 11:32:30 +08:00
huchuansai
a78ddd0ece
fix: 合并
2025-09-01 10:03:13 +08:00
huchuansai
fcf8b2d4e8
fix
2025-09-01 10:02:14 +08:00
irving
717d5a0c41
chore: 升级项目版本至1.1并优化代码格式
...
- 升级所有模块版本从1.0到1.1
- 统一Maven依赖版本管理
- 优化PlayClerkUserInfoServiceImpl导入语句格式
- 确保版本一致性和向后兼容性
2025-08-31 13:49:39 -04:00
irving
1c4d8776df
增加在线排序queryByPage
2025-08-31 12:42:08 -04:00
irving
662eb93289
优化店员查询接口:在线店员优先显示
...
- 在 /wx/clerk/user/queryByPage 接口中添加排序逻辑
- 在线状态(onlineState=1)的店员优先显示在列表前面
- 离线状态(onlineState=0)的店员排在后面
- 正确处理空值情况,将 null 视为离线状态
- 在控制器层实现排序,保持服务层代码简洁
2025-08-30 21:55:27 -04:00
irving
d719a047d8
style: 应用 Spotless 代码格式化
...
- 对所有 Java 源文件应用统一的代码格式化
- 统一缩进为 4 个空格
- 清理尾随空白字符和文件末尾换行
- 优化导入语句组织
- 总计格式化 654 个 Java 文件
有问题可以回滚或者找我聊
2025-08-30 21:21:08 -04:00
irving
fd514edf60
添加健康检查接口
...
- 新增 /health 健康检查端点,返回服务状态信息
- 新增 /health/ping 简单检查端点,返回 pong 响应
- 配置 Spring Security 允许健康检查端点无需认证访问
- 支持负载均衡器和监控系统进行服务可用性检查
2025-08-30 15:03:56 -04:00
irving
cd0449d6af
WIP
2025-08-29 09:59:08 -04:00
irving
197ca509c5
TODO
2025-08-29 09:58:52 -04:00
irving
f4c412be9d
增强日志配置:启用DEBUG级别详细日志记录
...
- 配置logback-spring.xml启用所有com.starry包的DEBUG日志
- 新增Spring框架请求处理和安全相关的DEBUG日志
- 启用MyBatis Plus和数据库SQL查询的详细日志
- 更新application-dev.yml添加各模块的DEBUG级别配置
- 改善问题排查和系统监控能力
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-28 22:44:06 -04:00
huchuansai
dd57c27269
fix: update password
2025-07-04 10:37:26 +08:00
huchuansai
e7df05ccee
fix: upload avatar
2025-07-02 19:23:47 +08:00
huchuansai
db6e2170e3
fix: article list bug fix
2025-07-02 18:48:01 +08:00
huchuansai
646097f88c
Merge branch 'master' into master-refactor
2025-06-16 11:57:19 +08:00
huchuansai
3460ed83fb
Merge branch 'master-domain'
2025-06-16 11:56:48 +08:00
huchuansai
4935207277
fix
2025-06-16 11:53:21 +08:00
huchuansai
d3fcd31510
fix: 接口新返回等级信息
2025-06-13 09:41:48 +08:00
huchuansai
da9771cb9d
fix
2025-06-12 13:10:49 +08:00
huchuansai
d5a51faf8b
docs: swagger docs refacto & perf
2025-06-12 10:23:22 +08:00
huchuansai
725d14c125
feat: 店铺装修
2025-06-11 16:09:23 +08:00
hucs
784bc2ee1e
fix
2025-06-06 13:58:24 +08:00
hucs
e60929bf57
fix: refund bug
2025-05-12 11:22:40 +08:00
huchuansai
e558639c62
fix: change domain
2025-05-09 16:59:09 +08:00
huchuansai
3d0a8493c5
fix
2025-05-08 16:39:42 +08:00
hucs
e588acf896
fix
2025-05-08 14:54:25 +08:00