 XingQueandCursor
|
eacee38438
|
fix: 抢单押金校验计入提现冻结中押金
押金提现申请后余额已扣,仅抢单接口把审核中/待收款冻结额加回可用;提现与换人等其它场景仍只认实际余额。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-17 01:50:45 +08:00 |
|
 XingQueandCursor
|
6af64c939f
|
feat(merchant): 订单操作流水表与按真实操作人统计
新增 merchant_order_action_log,在结算/撤单/退款/罚单/派单/换打手成功路径写入真实操作人;提供 action-stats / action-operators 接口供经营数据页筛选统计。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-15 23:42:39 +08:00 |
|
 XingQueandCursor
|
d64248ce9a
|
fix: 子客服(总管)申请罚款证据上传权限,支持商家客服代商家操作
COS 上传接口 fakuan_evidence / fakuan_evidence_draft 现允许具 penalty_apply 或 penalty_manage 且能查看该订单的子客服。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-13 16:00:06 +08:00 |
|
 XingQueandCursor
|
242ac35cb0
|
feat: 打手抢单大厅默认关闭假单展示,保留开关可恢复
通过 FAKE_GRAB_ORDER_POOL_ENABLED 控制,False 时仅返回真实订单,后台假单管理功能不变。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-13 15:29:27 +08:00 |
|
XingQue
|
bbafd8dc14
|
Merge branch 'main' of https://git.gvsds.com/XingQue/Django
Co-authored-by: Cursor <cursoragent@cursor.com>
# Conflicts:
# orders/views/payment.py
|
2026-07-10 19:40:07 +08:00 |
|
 XingQueandCursor
|
c21a4926f8
|
fix: 星阙(xq)微信支付改读后台 club 表配置
移除 xq 强制回落 app_secrets 的逻辑,与星之界一致优先读 club 表;
字段为空时仍按项回落 settings,避免未配置时中断现网。
订单 fucha 查单同步使用 club 对应商户号。
回退: git reset --hard backup-before-xq-club-pay-20260710
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-10 19:39:15 +08:00 |
|
TermiNexus
|
3697e11248
|
修复了主动点单能力
|
2026-07-10 15:50:43 +08:00 |
|
TermiNexus
|
f21c761bfa
|
修复了订单状态的验签问题
|
2026-07-09 20:49:26 +08:00 |
|
TermiNexus
|
632152217b
|
修复了支付宝 fucha 逻辑
|
2026-07-09 20:28:12 +08:00 |
|
TermiNexus
|
f1a3457dea
|
修复二维码当面付问题
|
2026-07-09 20:06:01 +08:00 |
|
TermiNexus
|
64571f2749
|
使用二维码进行支付宝交易
|
2026-07-09 19:50:40 +08:00 |
|
TermiNexus
|
34ae83956b
|
fixed: fucha接口硬编码了微信查询
|
2026-07-09 03:08:14 +08:00 |
|
TermiNexus
|
b287f2f1d4
|
修复 URL 过长的问题
|
2026-07-09 02:53:52 +08:00 |
|
TermiNexus
|
0d9ba50013
|
测试中,尝试接入支付宝(沙箱)
|
2026-07-09 01:51:18 +08:00 |
|
 XingQueandCursor
|
f5a3f01e3a
|
fix: 修复 dddhq resolve_effective_club_id 未导入导致 500
函数内局部 import 导致 UnboundLocalError,将会员刷新 import 提前到使用处。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 15:37:26 +08:00 |
|
 XingQueandCursor
|
1b4862d49d
|
fix: dddhq与dashouxinxi每次请求同步刷新会员clumber
抢单池拉单前先 sync 权益;老端依赖 yaoqiuleixing=0 与 clumber 即时更新。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 15:34:10 +08:00 |
|
 XingQueandCursor
|
5ef49ea071
|
fix: 抢单池按订单会员类型逐单校验,取消任意会员放开全部单
会员单不再统一 yaoqiuleixing=0;clumber 裁剪为仅有权限的会员;ddhq 返回 hasRequiredMember。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 14:59:00 +08:00 |
|
 XingQueandCursor
|
f94ff8c228
|
fix: 严格校验体验会员不可提现,抢单按会员类型匹配
展示层 clumber 与提现/抢单权限分离:佣金提现须正式会员并双重拦截体验期;抢单走 resolve_order_membership_ids + 总会员包含判断。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 14:26:16 +08:00 |
|
 XingQueandCursor
|
26e32ad3f6
|
fix: 抢单池有体验/已付会员一律按已开通返回
/ddhq 有任意有效会员时 yaoqiuleixing 强制为 0;czjilu 已付单可合成 clumber;抢单校验支持充值单兜底。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 14:18:36 +08:00 |
|
 XingQueandCursor
|
b4926fd278
|
fix: 老端抢单池有体验/正式会员时 yaoqiuleixing 返回 0
/ddhq 在用户有有效会员(含体验)时将 yaoqiuleixing 置 0,老小程序不再显示未开通会员;抢单仍由服务端校验。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 14:13:24 +08:00 |
|
 XingQueandCursor
|
a96696470c
|
fix: 纯后端适配老小程序抢单池会员展示
/ddhq 有权限时返回 yaoqiuleixing=0;clumber 统一 huiyuanid+daoqi 字符串并补齐 ID 变体;读取前自动补写已付未落库的体验/正式会员。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 14:05:22 +08:00 |
|
 XingQueandCursor
|
662d872303
|
fix: 抢单池会员展示加强校验与 hasRequiredMember 直返
会员 ID 忽略前导零等价匹配;订单缺 huiyuan_id 时回退商品类型;接口直返 hasRequiredMember 并将已授权订单 yaoqiuleixing 置 0。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 13:56:54 +08:00 |
|
 XingQueandCursor
|
8332ea8147
|
fix: 体验/总会员抢单池显示与接单权限
统一 clumber 返回 huiyuanid 并展开总会员子类型;抢单池接口对已具备会员权限的用户将 yaoqiuleixing 置 0,使小程序无需发版即可正常显示分佣并抢单。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-08 13:47:05 +08:00 |
|
TermiNexus
|
3d2c6091e5
|
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 |
|
 XingQueandCursor
|
b25eeb54b6
|
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 |
|
 XingQueandCursor
|
dd2e299a27
|
fix: dashou 订单列表补全 ZHIDING_HF_TEXT 常量
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-07-05 17:06:32 +08:00 |
|
TermiNexus
|
9d37f59971
|
进行了完整的视图拆分,同步了 merchant_ops 的修改
|
2026-07-05 10:01:09 +08:00 |
|