fix: int64

This commit is contained in:
wangxinyu 2024-12-05 16:23:29 +08:00
parent b9bbb70b96
commit e24b88cb3a
2 changed files with 7 additions and 7 deletions

View File

@ -1068,7 +1068,7 @@ func (v *Vas) ZoneRefundV2(ctx *gin.Context, req *vasproto.ZoneRefundReq) error
Mid: req.Mid,
ByTime: order.GetCt(),
RefundT: time.Now().Unix(),
RefundsStatus: int64(refundsStatus),
RefundsStatus: refundsStatus,
ContactName: req.ContactName,
ContactPhone: req.ContactPhone,
Note: req.Note,

View File

@ -190,12 +190,12 @@ type WithdrawHis struct {
// 用户退款状态
const (
Refunds_Awaiting = 1 // 待退款
Refunds_Approved = 2 // 主播审核通过
Refunds_Rejected = -1 // 主播审核拒绝
Refunds_Automatic = 3 // 2小时内,自动通过
Refunds_Overtime = 4 // 主播审核超时,自动通过
Refunds_Prohibit = 5 // 超过 24 小时,禁止退款(人工审核退款)
Refunds_Awaiting int64 = 1 // 待退款
Refunds_Approved int64 = 2 // 主播审核通过
Refunds_Rejected int64 = -1 // 主播审核拒绝
Refunds_Automatic int64 = 3 // 2小时内,自动通过
Refunds_Overtime int64 = 4 // 主播审核超时,自动通过
Refunds_Prohibit int64 = 5 // 超过 24 小时,禁止退款(人工审核退款)
)
type RefundInfo struct {