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