限购
This commit is contained in:
parent
d8638a2bc0
commit
bc02e321ef
@ -67,7 +67,7 @@ func (this *apiComp) ShopBuy(session comm.IUserSession, req *pb.MainlineShopBuyR
|
||||
}
|
||||
info.Buytime[req.Cid] += 1
|
||||
|
||||
if shopConf.Bugtime >= info.Buytime[req.Cid] { // 限购了 买不了
|
||||
if shopConf.Bugtime > info.Buytime[req.Cid] { // 限购了 买不了
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_MainlineBuyMaxCount,
|
||||
Title: pb.ErrorCode_MainlineBuyMaxCount.ToString(),
|
||||
|
Loading…
Reference in New Issue
Block a user