fix bug
This commit is contained in:
parent
70f4dffc4b
commit
4d6dfc7fcc
@ -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!'})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user