This commit is contained in:
lwl0608 2024-05-16 16:50:29 +08:00
commit 3ce8ba6efb
2 changed files with 60 additions and 61 deletions

View File

@ -283,11 +283,10 @@ func WithdrawApply(ctx *gin.Context) {
ReplyErrorMsg(ctx, "最低提现金额不能小于100元") ReplyErrorMsg(ctx, "最低提现金额不能小于100元")
return return
} }
//if !vasproto.IsWithdrawAnyDiasEnable(req.Mid) && req.Diamonds > 20000 {
if !vasproto.IsWithdrawAnyDiasEnable(req.Mid) && req.Diamonds > 20000 { // ReplyErrorMsg(ctx, "最大提现金额不能大于2000元")
ReplyErrorMsg(ctx, "最大提现金额不能大于2000元") // return
return //}
}
time.Sleep(time.Second * 1) time.Sleep(time.Second * 1)

View File

@ -1580,7 +1580,7 @@ func (v *Vas) WithdrawApply(ctx *gin.Context, req *vasproto.WithdrawApplyReq) (t
} }
// 2000元以下直接操作 // 2000元以下直接操作
if money <= 200000 || vasproto.IsWithdrawAnyDiasEnable(req.Mid) { //if money <= 200000 || vasproto.IsWithdrawAnyDiasEnable(req.Mid) {
alipayCli := alipaycli.GetAlipayClientByAppId(alipaycli.AppIdXinYiDaoLe) alipayCli := alipaycli.GetAlipayClientByAppId(alipaycli.AppIdXinYiDaoLe)
// 更改状态 // 更改状态
@ -1637,7 +1637,7 @@ func (v *Vas) WithdrawApply(ctx *gin.Context, req *vasproto.WithdrawApplyReq) (t
logger.Error("UniTransfer fail, param: %v, resp: %v, err: %v", util.ToJson(transferParam), util.ToJson(transferResp), err) logger.Error("UniTransfer fail, param: %v, resp: %v, err: %v", util.ToJson(transferParam), util.ToJson(transferResp), err)
return return
} }
} //}
return return
} }