Commit 4624852192c0e5328c148cfdfd79ba0bb66102de

Authored by zhangqijia
1 parent 01d10772

fix: searchAllRoleRpc协议 serverid和uid参数错误

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/actions/RoleAction.lua
... ... @@ -522,8 +522,8 @@ function _M.searchAllRoleRpc(agent, data)
522 522 local serverId = skynet.getenv("servId")
523 523 local codeurl = skynet.getenv("codeurl")
524 524 local content = {
525   - serverid = serverId,
526   - uid = uid,
  525 + ["serverid"]= serverId,
  526 + ["uid"]= uid,
527 527 }
528 528  
529 529 local status, body = httpc.get(codeurl, "/search_role?" .. httpGetFormatData(content), {})
... ...