调整位置服务接口

This commit is contained in:
pengtao 2019-07-25 15:36:12 +08:00
parent 3a88d82526
commit aa3610e716

View File

@ -149,10 +149,11 @@ class DispatchHandler(tornado.web.RequestHandler):
def _selfGetAdList(self):
try:
pdb.set_trace()
input = json.loads(self.get_query_argument('body'))
gameid = input['gameid']
channelid=input['channelid']
area=input.get('locationid',0)
channelid=input.get('channelid',None) or 6001
area=input.get('area',0)
locationid = input.get('locationid',0)
except Exception as e:
result = {'errcode': 2, "errmsg": f"get args failed,{str(e)}"}