This commit is contained in:
2025-08-07 01:15:42 +08:00
parent 9d5b915f8f
commit a849ebc34f
3 changed files with 67 additions and 8 deletions

View File

@@ -100,7 +100,7 @@ func (l *PaymentLogic) QueryOrderPayment(req *types.PaymentReq, session sqlx.Ses
if err != nil {
return nil, errors.Wrapf(xerr.NewErrCode(xerr.DB_ERROR), "生成订单, 获取用户信息失败: %v", err)
}
amount = product.SellPrice
if user.Inside == 1 {
amount = 0.01
}