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

Commit

Permalink
fix get_user_multi
Browse files Browse the repository at this point in the history
  • Loading branch information
fztcjjl committed Sep 22, 2023
1 parent 1ad738b commit 7b20ef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ make
./tools/redis.sh
./tools/startlogin.sh
./tools/startgame.sh
lua client.lua login 80 1
./skynet/3rd/lua/lua client.lua login 80 1
```

## About skynet
Expand Down
2 changes: 1 addition & 1 deletion common/dbmgr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ function CMD.get_user_multi(tbname, uid, id, fields)
result[v] = t[id][v]
end
else
result = t[id]
result = t[id] or {}
end
else
if fields then
Expand Down

0 comments on commit 7b20ef7

Please sign in to comment.