Commit 720eab0325ed4e0fdaa02c5bab604240a5cb8754
1 parent
5de33f03
log缺失 ucode
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/models/RoleLog.lua
@@ -664,7 +664,7 @@ function RoleLog.bind(Role) | @@ -664,7 +664,7 @@ function RoleLog.bind(Role) | ||
664 | for field, tag in pairs(schema) do | 664 | for field, tag in pairs(schema) do |
665 | if not contents[field] then | 665 | if not contents[field] then |
666 | if tag == "ucode" then | 666 | if tag == "ucode" then |
667 | - contents[field] = self:getActionUcode() | 667 | + doc[field] = self:getActionUcode() |
668 | elseif tag == "auto" then | 668 | elseif tag == "auto" then |
669 | else | 669 | else |
670 | printError(string.format("LOG ERROR: logType [%s] lose field [%s].", logType, field)) | 670 | printError(string.format("LOG ERROR: logType [%s] lose field [%s].", logType, field)) |