Commit 1281f46725742f0664d61989a00fa0fe851517d0

Authored by zhangqijia
1 parent 822c6426

fix: roleByUid 多了`,`

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/utils/MysqlUtil.lua
... ... @@ -77,7 +77,7 @@ function roleUnRegister(roleId)
77 77 end
78 78  
79 79 function roleByUid(uid)
80   - local res = mysqlproxy:query(string.format("SELECT id, name, level, FROM `Role` WHERE `del` = 0 and `uid` = '%s'", uid))
  80 + local res = mysqlproxy:query(string.format("SELECT id, name, level FROM `Role` WHERE `del` = 0 and `uid` = '%s'", uid))
81 81 if res["errno"] or not next(res) then
82 82 return false
83 83 end
... ...