Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
d4192b06ce
|
@ -329,9 +329,6 @@ func (v *Vas) CreateOrder(ctx *gin.Context, req *vasproto.CreateOrderReq) (data
|
|||
}
|
||||
|
||||
func (v *Vas) CheckWalletExist(ctx *gin.Context, tx *sqlx.Tx, mid int64) (wallet *dbstruct.Wallet, exist bool) {
|
||||
if mid <= 0 {
|
||||
return
|
||||
}
|
||||
wallet, err := v.store.GetWalletByMid(ctx, tx, mid)
|
||||
switch err {
|
||||
case sql.ErrNoRows:
|
||||
|
|
Loading…
Reference in New Issue