调整locationid 对应的区域信息
This commit is contained in:
parent
ed59f2b031
commit
d6972e6fa8
@ -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
|
||||
|
||||
##### 请求参数说明
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user