diff --git a/ad_interface_tornado.py b/ad_interface_tornado.py index 5b72972..ce5f798 100644 --- a/ad_interface_tornado.py +++ b/ad_interface_tornado.py @@ -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!'})