This commit is contained in:
pengtao 2019-09-24 15:33:05 +08:00
parent 70f4dffc4b
commit 4d6dfc7fcc

View File

@ -50,7 +50,6 @@ class DispatchHandler(tornado.web.RequestHandler):
| ad_channel | int | | 广告特征码 见上ad_property.jump_param |
| adid | int | | 广告ID |
"""
pdb.set_trace()
try:
post_data = self.request.body_arguments
post_data = {x: post_data.get(x)[0].decode("utf-8") for x in post_data.keys()}
@ -70,7 +69,7 @@ class DispatchHandler(tornado.web.RequestHandler):
g = GetTgaConfig()
item = g.get_api_key(gameid)
if not (gameid and locationid and uid and ad_channel and aid):
if not (gameid and locationid and uid and ad_channel and adid):
log.error(f"")
return self.write({'errcode': 1, "errmsg": 'get args failed!'})