Commit 2e8ef4fb0d3114bc3330549445b06d946b109b6c

Authored by 熊润斐
2 parents c910ed7c b73aad41

Merge branch 'tr/bugfix-qa' into tr/publish/qa-dev

src/actions/StoreAction.lua
... ... @@ -23,7 +23,7 @@ function _M.rechargeRpc(agent , data)
23 23 skynet.timeout(10, function ()
24 24 role:handlePurchase({
25 25 order = partnerOrderId,
26   - amount = dataSet.rmb,
  26 + amount = dataSet.rmb * 100,
27 27 game_money = dataSet.diamond,
28 28 product_id = dataSet.productId,
29 29 pay_time = skynet.timex(),
... ...
src/models/Activity.lua
... ... @@ -1000,9 +1000,10 @@ activityFunc[Activity.ActivityType.CommonSignIn] = {
1000 1000 ["init"] = function(self, actType, isCrossDay, notify, actId)
1001 1001 if not isCrossDay then
1002 1002 activityFunc[Activity.ActivityType.CommonSignIn]["crossDay"](self, actType, notify, actId)
  1003 +
  1004 + local taskStatus = self.owner:getProperty("dTask")
  1005 + activityFunc[Activity.ActivityType.CommonSignIn]["check"](self, actType, notify, 0, (taskStatus["a"] or 0))
1003 1006 end
1004   - local taskStatus = self.owner:getProperty("dTask")
1005   - activityFunc[Activity.ActivityType.CommonSignIn]["check"](self, actType, notify, 0, (taskStatus["a"] or 0))
1006 1007 end,
1007 1008 ["crossDay"] = function(self, actType, notify, actId)
1008 1009 local actCfg = csvdb["activity_ctrlCsv"][actId]
... ...
src/models/RoleTimeReset.lua
... ... @@ -5,6 +5,7 @@ RoleTimeReset.bind = function (Role)
5 5 -- 重置内容 对应 GlobalVar TimeReset
6 6 local ResetFunc = {}
7 7 ResetFunc["CrossDay"] = function(self, notify, response, now)
  8 + self:setProperty("dTask", {})
8 9 self.activity:checkActivityStatus(now, true, notify)
9 10  
10 11 self.dailyData:refreshDailyData(notify)
... ... @@ -12,7 +13,6 @@ ResetFunc["CrossDay"] = function(self, notify, response, now)
12 13 self.activity:refreshDailyData(notify)
13 14 self.storeData:onCrossDay()
14 15  
15   - self:setProperty("dTask", {})
16 16 self:incrProperty("lday", 1)
17 17 self:advRandomSupportEffect(not notify)
18 18  
... ...