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 | | ad_channel | int | | 广告特征码 见上ad_property.jump_param |
| adid | int | | 广告ID | | adid | int | | 广告ID |
""" """
pdb.set_trace()
try: try:
post_data = self.request.body_arguments post_data = self.request.body_arguments
post_data = {x: post_data.get(x)[0].decode("utf-8") for x in post_data.keys()} 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() g = GetTgaConfig()
item = g.get_api_key(gameid) 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"") log.error(f"")
return self.write({'errcode': 1, "errmsg": 'get args failed!'}) return self.write({'errcode': 1, "errmsg": 'get args failed!'})