调整位置服务接口
This commit is contained in:
parent
3a88d82526
commit
aa3610e716
@ -149,10 +149,11 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
def _selfGetAdList(self):
|
def _selfGetAdList(self):
|
||||||
try:
|
try:
|
||||||
|
pdb.set_trace()
|
||||||
input = json.loads(self.get_query_argument('body'))
|
input = json.loads(self.get_query_argument('body'))
|
||||||
gameid = input['gameid']
|
gameid = input['gameid']
|
||||||
channelid=input['channelid']
|
channelid=input.get('channelid',None) or 6001
|
||||||
area=input.get('locationid',0)
|
area=input.get('area',0)
|
||||||
locationid = input.get('locationid',0)
|
locationid = input.get('locationid',0)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
result = {'errcode': 2, "errmsg": f"get args failed,{str(e)}"}
|
result = {'errcode': 2, "errmsg": f"get args failed,{str(e)}"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user