fix: 统一佣金状态常量并修复佣金明细关联查询
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m33s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m33s
- 删除 model/commission.go 中与 constants 包冲突的旧常量(值=1/2) - 所有服务层改用 constants.CommissionStatusReleased(值=3)写入和查询 - 数据库迁移:status 1→3(已发放),2→4(已失效) - 修复佣金明细列表接口,通过 JOIN 关联返回 order_no、iccid、virtual_no、order_created_at - 新增 seller_shop_id / seller_shop_name 销售来源字段 - 统计接口过滤条件从精确匹配改为排除无效(NOT IN 4,99) - 更新 OpenAPI 文档及 commission-record-query spec
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
"apiKey": "sk-ZBGcMXCdwtSK7G35s"
|
||||
}
|
||||
},
|
||||
"google": {
|
||||
"minimax": {
|
||||
"options": {
|
||||
"baseURL": "http://45.155.220.179:8317/v1beta",
|
||||
"baseURL": "http://45.155.220.179:8317/v1",
|
||||
"apiKey": "sk-ZBGcMXCdwtSK7G35s"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user