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,7 +386,7 @@ function _M.shopBuyRpc(agent , data) | ||
386 | local buyRecord = role.storeData:getProperty("buyR") | 386 | local buyRecord = role.storeData:getProperty("buyR") |
387 | if math.illegalNum(count, 1, (dataSet.limit == 0 and 10000 or dataSet.limit - (buyRecord[id] or 0))) then | 387 | if math.illegalNum(count, 1, (dataSet.limit == 0 and 10000 or dataSet.limit - (buyRecord[id] or 0))) then |
388 | skynet.error(string.format("shop buy over limit, user_id:%d, goods_id:%d", role:getProperty("id"), id)) | 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 | end | 390 | end |
391 | 391 | ||
392 | local cost | 392 | local cost |