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