fix area not input

This commit is contained in:
pengtao 2019-10-28 12:04:54 +08:00
parent b93549aa62
commit ed7927f98f

View File

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