Sfoglia il codice sorgente

update

adv_callback
dengbiao 1 mese fa
parent
commit
da784e25ff
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      app/svc/svc_withdraw_apply.go

+ 3
- 0
app/svc/svc_withdraw_apply.go Vedi File

@@ -33,6 +33,9 @@ func CheckWithdraw(c *gin.Context, amount string) (err error, realAmount, fee st
//2、判断是否为第一次提现
var isCompleteFirstWithdraw bool
has, err := db.Db.Where("uid =?", user.Id).Get(&model.FinWithdrawApply{})
if err != nil {
return
}
if !has { //第一次提现
isFirst = true
var firstWithdrawSet md.FirstWithdrawSet


Caricamento…
Annulla
Salva