添加位置服务接口

This commit is contained in:
pengtao 2019-07-10 10:34:47 +08:00
parent 64c909889a
commit 848e34c7fb

View File

@ -19,7 +19,7 @@ parser.add_argument('type')
parser.add_argument('in_used')
class Location():
class Location(Resource):
def get(self):
sql = f"select id,gameid,area,type from localtion where in_used=1"
try: