Commit 7c25211e1f62806814cbb919613bd86cbf9591a6
Merge branch 'cn/develop' into cn/publish/zhaolu
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/StoreAction.lua
... | ... | @@ -386,7 +386,7 @@ function _M.shopBuyRpc(agent , data) |
386 | 386 | local buyRecord = role.storeData:getProperty("buyR") |
387 | 387 | if math.illegalNum(count, 1, (dataSet.limit == 0 and 10000 or dataSet.limit - (buyRecord[id] or 0))) then |
388 | 388 | skynet.error(string.format("shop buy over limit, user_id:%d, goods_id:%d", role:getProperty("id"), id)) |
389 | - return 1 | |
389 | + return 6 | |
390 | 390 | end |
391 | 391 | |
392 | 392 | local cost | ... | ... |