Commit Graph

11 Commits

Author SHA1 Message Date
danaisuiyuan
9b4020d44f fix(points): prevent stale integral balance updates
Use atomic integral updates during balance payment so older user snapshots cannot overwrite newer self-bonus rewards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-19 08:57:13 +08:00
danaisuiyuan
ccb70ca10e Merge branch 'sxsy80' into czleilei240 2026-05-16 18:36:18 +08:00
danaisuiyuan
403ffe0fde feat(dashboard): add boss dashboard H5 and APIs
Implement the mobile dashboard frontend, admin overview APIs, report archive export, and local dev proxy so the boss dashboard can run against real backend data while preserving MSW demos.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 13:07:55 +08:00
danaisuiyuan
693c66c258 fix(integral): 防止个人奖金重复生成积分
将个人奖金转积分流程改为先写唯一流水再加积分,并用 wa_selfbonus_logid 唯一索引兜底多入口并发场景;同时补充历史重复数据修复与索引落地 SQL 脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-11 13:07:55 +08:00
danaisuiyuan
d8ad6cde20 feat(integral-external): 新增寄卖外部免认证三件套页面 2026-05-02 06:13:41 +08:00
apple
708bf9af48 feat(sxsy80): 外部用户 UID 筛选与积分明细展示
User list API accepts uid; admin external pages tighten filters and
integral log maps self-bonus rows via wa_selfbonus_log for display.

Made-with: Cursor
2026-04-27 13:30:05 +08:00
apple
f8ba25e7d5 feat(integral-external): order/user list, integral log, wa selfBonus
- Fix ExternalIntegral order list (no double restPage); default 普通订单; UI columns for useIntegral and buyer uid/nickname/phone; enrich StoreOrderDetailResponse and admin query select.
- External user list: UserResponse.selfBonus and fillWaSelfBonus from wa_users.id=uid.
- Integral log: AdminIntegralSearchRequest nickName/phone; findAdminList filters and ordering; integralExternal API sends page/limit as query params.
- Integral detail page: linkType Chinese mapping including selfbonus; update docs/newpage.md.
- Dashboard grid menu entries for integral-external routes.

Made-with: Cursor
2026-04-09 15:10:16 +08:00
scott
fe9e1916fa feat: 重构营销模块积分日志页面
- 优化搜索区域:支持用户昵称、用户ID、时间范围筛选
- 新增表格字段:ID、用户ID、昵称、来源/用途、积分变化、变化后积分、关联类型、状态、备注、日期
- 积分变化带颜色标识:增加(绿色+)、扣减(红色-)
- 状态标签彩色区分:订单创建/冻结期/完成/失效
- 关联类型中文映射:订单/签到/系统
- 使用已有的 integralListApi 接口
- 参考用户详情页积分明细样式
2026-03-20 15:53:48 +08:00
apple
fcb10e9bc7 fix: 积分页支出明细不显示 + integral/list 支持 type 参数
- 前端 points.vue: 支出明细 type 过滤改为 Number(item.type)===2;onLoad 先 await loadUserInfo 再 loadPointsList;请求 getIntegralList 时传 type=2
- 后端 integral/list: 增加可选参数 type(1=收入,2=支出),UserIntegralRecordServiceImpl 支持按 type 筛选
- 新增 backend/shell/test-integral-list.sh 测试 integral/list 支出明细
- 新增 backend/shell/start-front-miao33.sh 使用 nohup 启动 crmeb-front(miao33)

Made-with: Cursor
2026-03-16 07:42:51 +08:00
apple
31c5426641 会员管理-积分余额:支持小数点后3位,修复用户列表积分不显示
- 后台:UserOperateIntegralMoneyRequest.integralValue 改为 BigDecimal,支持3位小数
- 后台:UserServiceImpl 积分操作逻辑改为 BigDecimal,支持小数
- 后台:UserResponse.integral 改为 BigDecimal,修复 BeanUtils 复制导致列表积分不显示
- 前端:积分输入框增加 precision=3、step=0.001,支持3位小数输入

Made-with: Cursor
2026-03-12 15:40:02 +08:00
apple
5432904bcb Initial commit: 单商户积分商城 - 管理后台前端 + CRMEB 后端
Made-with: Cursor
2026-03-08 18:35:11 +08:00