revome gameid from localtion
This commit is contained in:
parent
2b39e072e1
commit
b826e6a435
@ -135,7 +135,7 @@ class DispatchHandler(tornado.web.RequestHandler):
|
||||
self.write_error(2)
|
||||
|
||||
if gameid and locationid:
|
||||
key = f"{gameid}::{locationid}"
|
||||
key = f"ad::{gameid}::{locationid}"
|
||||
|
||||
ids = my_redis.smembers(key)
|
||||
info = []
|
||||
@ -144,7 +144,7 @@ class DispatchHandler(tornado.web.RequestHandler):
|
||||
else:
|
||||
try:
|
||||
for id in ids:
|
||||
temp = my_redis.hgetall(f"{id}::info")
|
||||
temp = my_redis.hgetall(f"ad::{id}::info")
|
||||
info.append(temp)
|
||||
result = {'errcode': 0, "errmsg": '', "message": {"totoal": len(info), "result": info}}
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user