fix some error
This commit is contained in:
parent
b51976defc
commit
a8a8b7f49c
@ -95,9 +95,14 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
|
|
||||||
def _selfGetAdList(self):
|
def _selfGetAdList(self):
|
||||||
|
try:
|
||||||
input = json.loads(self.get_query_argument('body'))
|
input = json.loads(self.get_query_argument('body'))
|
||||||
gameid = input['gameid']
|
gameid = input['gameid']
|
||||||
locationid = input['locationid']
|
locationid = input['locationid']
|
||||||
|
except Exception as e:
|
||||||
|
result = {'errcode': 2, "errmsg": e}
|
||||||
|
self.write(result)
|
||||||
|
|
||||||
key = f"{gameid}::{locationid}"
|
key = f"{gameid}::{locationid}"
|
||||||
ids = my_redis.smembers(key)
|
ids = my_redis.smembers(key)
|
||||||
info = []
|
info = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user