订单相关以及佣金相关修复
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m57s

This commit is contained in:
2026-04-30 09:52:39 +08:00
parent 4f4e42f27e
commit 66e12e9629
29 changed files with 1199 additions and 181 deletions

View File

@@ -360,14 +360,33 @@ func GetOrderPaymentStatusName(status int) string {
}
}
// GetOrderCommissionStatusName 获取订单佣金计算状态名称
// 1=待计算, 2=已计算
// GetOrderCommissionStatusName 获取订单佣金流程状态名称
// 1=待计算, 2=已完成, 3=待人工处理
func GetOrderCommissionStatusName(status int) string {
switch status {
case 1:
return "待计算"
case 2:
return "已计算"
return "已完成"
case 3:
return "待人工处理"
default:
return "未知"
}
}
// GetOrderCommissionResultName 获取订单佣金业务结果名称
// 0=未知, 1=有佣金, 2=无佣金, 3=链路异常
func GetOrderCommissionResultName(result int) string {
switch result {
case 0:
return "未知"
case 1:
return "有佣金"
case 2:
return "无佣金"
case 3:
return "链路异常"
default:
return "未知"
}