This commit is contained in:
aozhiwei 2024-08-17 19:30:43 +08:00
parent 084cb8d1e4
commit fa3ba318ab

View File

@ -137,6 +137,10 @@ func (this *RechargeApi) internalBuy(c *gin.Context,
f5.RspErr(c, 2, "num param error")
return
}
if email != "" && goodsMeta.GetCanEmailBuy() == 0 {
f5.RspErr(c, 2, "cant email buy")
return
}
nowTime := q5.ToInt32(f5.GetApp().GetRealSeconds())
shortOrderId := f5.GetApp().NewLockNodeUuid()
orderId := ""