diff --git a/app/mix/service/logic/vas_zone.go b/app/mix/service/logic/vas_zone.go index f7d2e2a5..f9eca3bf 100644 --- a/app/mix/service/logic/vas_zone.go +++ b/app/mix/service/logic/vas_zone.go @@ -1183,7 +1183,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, diff --git a/dbstruct/vas_mongo.go b/dbstruct/vas_mongo.go index b8faead5..bed04ee7 100644 --- a/dbstruct/vas_mongo.go +++ b/dbstruct/vas_mongo.go @@ -207,12 +207,12 @@ type WithdrawFreeze 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 {