XingQue
|
98b58f8058
|
fix: 商品基础数据容错避免500;类型专区按俱乐部上架并管专区
具体俱乐部只返回已上架类型;上架/下架允许 7007a 或 8080a。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-21 03:33:49 +08:00 |
|
XingQue
|
f1db185d03
|
fix: 专区管理允许在具体俱乐部操作,类型仍限集团汇总
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-21 03:24:41 +08:00 |
|
XingQue
|
6515568ec0
|
feat: 只看审核按俱乐部隔离,商品管理支持俱乐部视图
未绑店出货开关按 club_id 配置;后台商品列表可在具体小程序下管理并切换审核展示。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-21 03:20:03 +08:00 |
|
XingQue
|
60d8b52693
|
feat: 点单端邀请绑定与只看审核商品开关
复用 ClubMiniappIcon 增加点单端海报背景;新增 C 端邀请码/换绑店铺接口;hqsp 支持 zhi_kan_shenhe,不影响支付抢单分红。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-21 02:37:31 +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 |
|
XingQue
|
cb89720260
|
feat: 打手赠送会员(免费接单)独立表与抢单资格
新增 dashou_zengsong_huiyuan,与购买会员分离;抢单/抢单池认赠送有效会员;后台送/改期/移除接口,送时积分非10则改为10并写操作日志。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-17 02:14:07 +08:00 |
|
XingQue
|
60fdf8c427
|
fix: 加固称号增删改接口参数校验
兼容空 leixing/中文类型名,规范化板块与称号 ID,避免误报无效类型;修正 update_feiyong 复用逻辑。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-16 15:53:31 +08:00 |
|
XingQue
|
118260a710
|
fix: 修复考核官添加板块校验与板块改名接口
板块 ID 统一按整数校验,避免字符串与数据库整型比较导致误报不存在;板块接口补充 scope 与 bankuai_id 校验。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-16 15:33:54 +08:00 |
|
XingQue
|
a92352f2b0
|
fix: 店铺管理接口超级管理员权限校验失效
改用 has_perm_code 替代 set(permissions) 交集判断,避免 _AllPermissions 被转成 set 后丢失超管放行能力。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-09 23:06:34 +08:00 |
|
XingQue
|
214b52badd
|
feat: 新增后台复制店铺商品目录接口
支持按用户ID复制商品类型、专区与商品,OSS图片独立拷贝,并提供覆盖/补充两种模式。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-09 22:58:56 +08:00 |
|
XingQue
|
2248a61936
|
fix: 添加后台用户不再硬编码绑定客服角色,按所选俱乐部角色分配
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 21:47:50 +08:00 |
|
XingQue
|
cec7d69199
|
fix: 停止每次拉单补回已删会员;后台移除标记充值单撤销
ddhq 不再全量 sync 充值单;jian_huiyuan 标记权益已撤销防复活;clumber 只读 huiyuangoumai。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 15:49:07 +08:00 |
|
XingQue
|
a14cba63e6
|
fix: 集团可给各俱乐部分配不同功能角色,按俱乐部隔离权限校验
|
2026-07-06 19:14:00 +08:00 |
|
XingQue
|
45a4dde034
|
fix: 切换俱乐部仅算本俱乐部角色权限,统一权限解析
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-06 19:00:18 +08:00 |
|
XingQue
|
df6c6912d9
|
fix: 恢复全局角色权限校验,修复商家订单403
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-06 18:36:39 +08:00 |
|
XingQue
|
64ddb7d0b8
|
fix: 俱乐部000001不再展开全部菜单权限
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-06 18:32:01 +08:00 |
|
XingQue
|
1c6607fa6e
|
fix: 角色分配按俱乐部超管权限隔离
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-06 18:23:29 +08:00 |
|
XingQue
|
2bbe166d63
|
fix: 角色操作按俱乐部解析避免同名Role冲突
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-06 18:17:37 +08:00 |
|
XingQue
|
2573db1bbf
|
fix: 俱乐部分配任职仅集团高层可操作
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-06 18:06:37 +08:00 |
|
XingQue
|
1dfb46c38c
|
feat: 多俱乐部后台权限与管理员用户俱乐部分配
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-06 17:59:59 +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 |
|
XingQue
|
2a350a2ec8
|
feat: 会员充值明细接口与俱乐部一键创建总会员
新增 hy-recharge-records 查询 czjilu 会员单并关联 gsfenhong 分红;hy-bundle-create 支持俱乐部一步创建总会员;会员数据分析页权限改为 3300a。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-05 18:27:48 +08:00 |
|
XingQue
|
37bc8f960a
|
feat: 总会员(包含式)模型、迁移、抢单校验与后台配置
- Huiyuan.is_bundle + club_huiyuan_bundle_include 表
- 购买/到期逻辑不变,抢单时总会员覆盖子会员类型
- dshyhq/clumber 返回 is_bundle 与 included_huiyuan_ids
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-05 18:12:57 +08:00 |
|
XingQue
|
5754a69e0b
|
feat: 打手中心全量可配置图标下发与会员卡片图上传接口
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-05 17:36:31 +08:00 |
|
XingQue
|
aaf0c95925
|
feat: 会员充值页卡片图与 miniapp 背景图配置
|
2026-07-05 16:25:42 +08:00 |
|
|
|
c5ae30507b
|
进行了完整的视图拆分,同步了 merchant_ops 的修改
|
2026-07-05 10:01:09 +08:00 |
|
|
|
9d98ac9e83
|
修复了常量归类
|
2026-07-04 19:58:19 +08:00 |
|
|
|
63cb8e9ee9
|
尝试将 backend 做了视图拆分,来保证可维护性,若此版本存在生产环境问题应该回退
|
2026-07-04 18:52:00 +08:00 |
|
XingQue
|
c7adec20db
|
fix: 修复添加后台用户 RoleUUID 转换错误并严格校验角色绑定
|
2026-07-02 16:03:23 +08:00 |
|
XingQue
|
2dcd5cc9a6
|
fix: 平台审核仅zhuangtai=5,不再误纳入旧商家待缴纳
|
2026-07-02 02:54:49 +08:00 |
|
XingQue
|
0c40b326ea
|
fix: 平台审核队列兼容旧商家罚款+列表筛选
|
2026-07-02 02:38:21 +08:00 |
|
XingQue
|
5d20d1a25e
|
fix: 修复换打手权限、后台用户重复创建及角色绑定
|
2026-07-02 02:20:29 +08:00 |
|
XingQue
|
c21168ad2d
|
商家罚款增加平台审核:新增状态5、证据图、审核API;审核通过前不影响抢单,提现仍拦截未结案罚单
|
2026-07-02 01:53:25 +08:00 |
|
XingQue
|
5ef4ff7c91
|
feat: 排行榜奖励按俱乐部分奖与手动领取
- 新增奖励方案/档位/结算/领取四表与懒结算服务
- 小程序 phbjlxx/phbjllq/phbjlphb 新接口,phbhqsj 零改动
- 后台 phbjhq/phbjbc/phbjjl 与 phbj666 权限菜单
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-01 17:40:56 +08:00 |
|
XingQue
|
e533424de5
|
feat: 客服后台话术配置接口与会话管理菜单
|
2026-07-01 12:28:22 +08:00 |
|
XingQue
|
645b075f89
|
feat: add dashou deposit increase requires group executive
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-29 01:51:31 +08:00 |
|
XingQue
|
dc71c4f1cb
|
feat: gate withdraw audit and add-balance to group executives only
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-29 01:30:56 +08:00 |
|
XingQue
|
dd9e4afa49
|
revert: restore gvsdsdk role/permission APIs; keep KefuProfile login fix
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-29 00:02:40 +08:00 |
|
XingQue
|
42cb117a8a
|
fix: kefu permissions use legacy permission table instead of gvsdsdk
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-28 23:59:32 +08:00 |
|
XingQue
|
c336a893a0
|
fix: merge legacy user_role permissions with gvsdsdk for kefu login
|
2026-06-28 23:27:24 +08:00 |
|
XingQue
|
188792328e
|
fix: menu access fallback and bind kefu role by yonghuid
|
2026-06-28 23:24:26 +08:00 |
|
XingQue
|
218001399c
|
fix: bind kefu role by yonghuid when phone duplicated
|
2026-06-28 23:18:14 +08:00 |
|
XingQue
|
de91089743
|
fix: clearer no-perm message with bound roles
|
2026-06-28 23:11:50 +08:00 |
|
XingQue
|
3a1aaa9b61
|
feat(jituan): 后台按俱乐部添加考核官 khggl-add
|
2026-06-28 00:32:52 +08:00 |
|
XingQue
|
54f8e23488
|
fix: separate penalty czjilu from merchant recharge and correct finance stats
|
2026-06-27 18:50:32 +08:00 |
|
XingQue
|
ee7867b36f
|
fix: 罚单/积分处罚归属申请人俱乐部;申请锁定分红缴纳按锁定值入账
|
2026-06-27 18:15:42 +08:00 |
|
XingQue
|
d19b6250ae
|
fix: 罚单申请时锁定分红利率与应得金额,缴纳按锁定值入账
|
2026-06-27 17:46:39 +08:00 |
|
XingQue
|
85531da9eb
|
feat: 考试权限dsks666、页面内切俱乐部、商品板块仅集团可改
|
2026-06-26 06:07:52 +08:00 |
|
XingQue
|
34e79aa753
|
feat: 考试集团一览与商品集团权限边界
|
2026-06-26 05:57:39 +08:00 |
|
XingQue
|
f6b99f96a4
|
fix: 会员永久分红生效,管事/组长分红配置按俱乐部读取
|
2026-06-26 02:22:44 +08:00 |
|