添加返回条数控制
This commit is contained in:
parent
764ed22669
commit
a39d97fbbc
@ -115,16 +115,15 @@ class DispatchHandler(tornado.web.RequestHandler):
|
||||
|
||||
|
||||
def _selfGetAdList(self):
|
||||
pdb.set_trace()
|
||||
try:
|
||||
input = json.loads(self.get_query_argument('body'))
|
||||
|
||||
gameid = input['gameid']
|
||||
locationid = input['locationid']
|
||||
except Exception as e:
|
||||
result = {'errcode': 2, "errmsg": f"get args failed,{str(e)}"}
|
||||
log.error(result)
|
||||
self.write_error(2)
|
||||
return False
|
||||
|
||||
if gameid and locationid:
|
||||
key = f"ad::{gameid}::{locationid}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user