fix
This commit is contained in:
parent
e33b76ba66
commit
95a927c26f
|
@ -1995,16 +1995,16 @@ func (v *Vas) WithdrawApply(ctx *gin.Context, req *vasproto.WithdrawApplyReq) (t
|
|||
}
|
||||
|
||||
// 获取能提现的支付宝
|
||||
//alipayAcnt, err := v.store.GetAvailableWithdrawAlipayAccount(ctx, money)
|
||||
//if err != nil {
|
||||
// logger.Error("GetAvailableWithdrawAlipayAccount fail, err: %v", err)
|
||||
// err = fmt.Errorf("提现维护中,请稍后再试")
|
||||
// return
|
||||
//}
|
||||
//alipayCli := alipaycli.GetAlipayClientByAppId(alipayAcnt.AppId)
|
||||
//logger.Info("Get AlipayAcnt ok, aliAcnt: %v, req: %v", util.ToJson(alipayCli), util.ToJson(req))
|
||||
alipayAcnt, err := v.store.GetAvailableWithdrawAlipayAccount(ctx, money)
|
||||
if err != nil {
|
||||
logger.Error("GetAvailableWithdrawAlipayAccount fail, err: %v", err)
|
||||
err = fmt.Errorf("提现维护中,请稍后再试")
|
||||
return
|
||||
}
|
||||
alipayCli := alipaycli.GetAlipayClientByAppId(alipayAcnt.AppId)
|
||||
logger.Info("Get AlipayAcnt ok, aliAcnt: %v, req: %v", util.ToJson(alipayCli), util.ToJson(req))
|
||||
|
||||
alipayCli := alipaycli.GetAlipayClientByAppId(alipaycli.AppIdXinYiDaoLe)
|
||||
//alipayCli := alipaycli.GetAlipayClientByAppId(alipaycli.AppIdXinYiDaoLe)
|
||||
|
||||
// 添加提现订单
|
||||
wOrder = &dbstruct.WithdrawOrder{
|
||||
|
|
Loading…
Reference in New Issue