Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
fix issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
fztcjjl committed Aug 20, 2015
1 parent ba8fb10 commit 4a022b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/entitybase/UserMultiEntity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ end
function UserMultiEntity:Load(uid)

if not self.recordset[uid] then
local rs = skynet.call("dbmgr", "lua", "load_user_multi", self.tbname, uid)
local rs = skynet.call("dbmgr", "lua", "get_user_multi", self.tbname, uid)
if rs then
self.recordset[uid] = rs
end
Expand Down
2 changes: 1 addition & 1 deletion common/entitybase/UserSingleEntity.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end
-- 加载玩家数据
function UserSingleEntity:Load(uid)
if not self.recordset[uid] then
local record = skynet.call("dbmgr", "lua", "load_user_single", self.tbname, uid)
local record = skynet.call("dbmgr", "lua", "get_user_single", self.tbname, uid)
if not table.empty(record) then
self.recordset[uid] = record
end
Expand Down

0 comments on commit 4a022b3

Please sign in to comment.