Commit 9bc0f861321da908462f3b1c39231dff61f759c4
1 parent
f2348164
fix bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/RolePlugin.lua
... | ... | @@ -2153,7 +2153,7 @@ function RolePlugin.bind(Role) |
2153 | 2153 | elseif status == "fail" then |
2154 | 2154 | -- redisproxy:hdel(string.format(R_ORDERS, roleId), rechargeId) |
2155 | 2155 | elseif status == "finsh" then |
2156 | - skynet.error(string.format("updatePurchaseOrder user_id:%d,orderId:%s", role:getProperty("id"), partnerOrderStr)) | |
2156 | + skynet.error(string.format("updatePurchaseOrder user_id:%d,orderId:%s", self:getProperty("id"), partnerOrderStr)) | |
2157 | 2157 | orderObject:setProperty("finishTime", skynet.time()) |
2158 | 2158 | redisproxy:hdel(string.format(R_ORDERS, roleId), rechargeId) |
2159 | 2159 | end | ... | ... |