Merge branch 'feat-IRONFANS-70' into test

This commit is contained in:
lwl0608 2024-04-16 22:14:49 +08:00
commit d4192b06ce
1 changed files with 0 additions and 3 deletions

View File

@ -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: