yue不足

This commit is contained in:
苏尹岚
2020-10-27 16:44:03 +08:00
parent b7e25130ce
commit cba8a36aae
3 changed files with 4 additions and 4 deletions

View File

@@ -311,7 +311,7 @@ func DeleteMessageGroup(ctx *jxcontext.Context, groupID int, userID string) (err
return errCode, err
}
if userBill.AccountBalance < quitPrice {
return model.ErrCodeAccountBalanceNotEnough, err
return model.ErrCodeAccountBalanceNotEnough, fmt.Errorf("用户余额不足,请充值!")
}
dao.Begin(db)
defer func() {