调整locationid 对应的区域信息

This commit is contained in:
pengtao 2019-09-12 11:42:28 +08:00
parent ed59f2b031
commit d6972e6fa8
2 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,7 @@ http://154.8.214.202:5015/interface/location
##### 请求示范
http://154.8.214.202:5015/interface/location?gameid=1003&area=1,1,1&type=1&mode=2
http://154.8.214.202:6015/interface/location?gameid=1001&area=2&type=1&mode=2&x=2&y=2&x_offset=3&y_offset=3
##### 请求参数说明

View File

@ -54,6 +54,7 @@ class Location(Resource):
AND channelid={channelid}
and in_used=1;"""
try:
print(f"sql={sql}")
data = self.mydb.query(sql)
except Exception:
log.error("get data from location failed!", exc_info=True)