Commit c72853af155f80505b27feee7fcdb7dfce22ea9c

Authored by liuzujun
1 parent e30b047e

修改每日礼包检测开启bug

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/actions/StoreAction.lua
... ... @@ -205,7 +205,7 @@ function _M.shopBuyRpc(agent , data)
205 205 if not dataSet then return end
206 206  
207 207 if dataSet.unlock ~= "" then
208   - if not role:checkHangPass(tonumber(config.unlock)) then
  208 + if not role:checkHangPass(tonumber(dataSet.unlock)) then
209 209 skynet.error(string.format("shopBuyRpc,user do not finish hang pass, user_id:%d", role:getProperty("id")))
210 210 return 1
211 211 end
... ...