fix(constants): 修正红包领取状态映射的键值

- 将红包领取状态映射的键从1开始调整为0开始
- 重新排列状态值对应,保持顺序一致
- 修正代码逻辑中状态码对应的实际含义
This commit is contained in:
zhouyonggao 2025-12-18 21:29:54 +08:00
parent ae04be7ea0
commit 6dbc3eb1a1
1 changed files with 4 additions and 4 deletions

View File

@ -161,10 +161,10 @@ var ThirdPartyType = map[int]string{
// OrderCashReceiveStatus 红包领取状态映射1 待领取 2 领取中 3 领取成功 4 领取失败) // OrderCashReceiveStatus 红包领取状态映射1 待领取 2 领取中 3 领取成功 4 领取失败)
var OrderCashReceiveStatus = map[int]string{ var OrderCashReceiveStatus = map[int]string{
1: "待领取", 0: "待领取",
2: "领取中", 1: "领取中",
3: "领取成功", 2: "领取成功",
4: "领取失败", 3: "领取失败",
} }
// OrderCashChannel 红包渠道映射 // OrderCashChannel 红包渠道映射