修改为活动价

This commit is contained in:
richboo111
2022-07-20 17:44:04 +08:00
parent 7f894c9cef
commit 81fca6fb44

View File

@@ -559,7 +559,7 @@ func InvestMember(ctx *jxcontext.Context, memberID int, userID string, isFree bo
if err = auth2.CheckWeixinminiAuthBind(userIDReal); err != nil {
return "", err
}
if userBill.AccountBalance < memberCard.Price {
if userBill.AccountBalance < memberCard.ActPrice {
return model.ErrCodeAccountBalanceNotEnough, fmt.Errorf("用户余额不足,请充值!")
}
}