XingQue
|
46d64fbf92
|
fix: 商品分成字段名兼容,修复后台默认/自定义分成无法回显与保存
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-23 19:41:49 +08:00 |
|
XingQue
|
6a107e873d
|
feat: UFO 转盘购票与专区图标(不影响现有俱乐部点单)
新增转盘活动/奖品/机会表与 Czjilu leixing=7 履约;专区 tupian_url;hqsp/详情下发 shi_zhuanpan。普通点单与抢单主链路保持不变。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-22 18:59:26 +08:00 |
|
XingQue
|
98b58f8058
|
fix: 商品基础数据容错避免500;类型专区按俱乐部上架并管专区
具体俱乐部只返回已上架类型;上架/下架允许 7007a 或 8080a。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-21 03:33:49 +08:00 |
|
XingQue
|
6515568ec0
|
feat: 只看审核按俱乐部隔离,商品管理支持俱乐部视图
未绑店出货开关按 club_id 配置;后台商品列表可在具体小程序下管理并切换审核展示。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-21 03:20:03 +08:00 |
|
XingQue
|
d5b8ff5b8a
|
feat: 商品/专区/店铺按俱乐部分离,工单统计与点单手机号认证
商品与专区、店铺增加 club_id(历史默认 xq);列表按俱乐部过滤;工单列表返回待办统计;新增 hqshouji/rzwlsjh 手机号查询与认证接口。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-21 01:55:14 +08:00 |
|
|
|
f1c8633345
|
perf: P1 性能优化批量修复 + kefu 视图拆分
P1 性能优化(避免循环内 N+1 / N 次 DB 查询):
- shop_order_views._batch_images: 移除 ThreadPoolExecutor 掩盖的 N 次查询,改单次批量 + Python 侧分组
- product_query.DashouHuiyuanList: 5N 查询 -> 3 次批量预取 + 本地闭包判断
- roles.GetRolePermissionView / 用户列表: 循环内 RolePermission/Permission/UserRole/Role -> 批量 __in 预取
- guanli / zuzhang 杜次分红 4.2/4.3: 循环内 update_or_create + 单条 delete -> bulk_create + bulk_update + 批量 delete
- admin_config QQ 群配置: 循环内 exists/first/save/create -> 批量预取 + bulk_create + bulk_update
- jituan 服务层多处合并统计查询、批量预取 map
- rank 多处循环 N+1 改批量预取
- backend 多处循环内 count/create 改批量
- config/orders/merchant_ops 多处循环 N+1 改批量预取
其他改动:
- users/views/kefu.py 拆分为 kefu_base/kefu_dashou/kefu_orders/kefu_punishment/kefu_withdraw 5 个文件
- 删除遗留脚本 check_prod_uid.py / create_rbac_tables.sql
|
2026-07-05 23:17:38 +08:00 |
|
|
|
63cb8e9ee9
|
尝试将 backend 做了视图拆分,来保证可维护性,若此版本存在生产环境问题应该回退
|
2026-07-04 18:52:00 +08:00 |
|