调整位置服务接口
This commit is contained in:
parent
a6ec54f42f
commit
1cb13e00ed
23
README.MD
23
README.MD
@ -192,17 +192,14 @@ http://154.8.214.202:5015/interface/location
|
||||
|
||||
http://154.8.214.202:5015/interface/location
|
||||
|
||||
http://154.8.214.202:5015/interface/location
|
||||
|
||||
##### 请求参数说明
|
||||
|
||||
| 名称 | 类型 | 必填 | 说明 |
|
||||
| ----------- | ---- | ---- | --------------------------------------------- |
|
||||
| gameid | int | 是 | 游戏ID |
|
||||
| channelid | int | 是 | 渠道ID,默认是6001 |
|
||||
| area | int | 是 | 游戏区域 (1=首页,2=游戏中,3=结算页,4=关闭) |
|
||||
| type | int | 是 | 类型(1=icon,2=banner,3=浮窗,4=icon2) |
|
||||
| localtionid | int | 是 | 位置ID |
|
||||
| 名称 | 类型 | 必填 | 说明 |
|
||||
| --------- | ---- | ---- | --------------------------------------------- |
|
||||
| gameid | int | 是 | 游戏ID |
|
||||
| channelid | int | 是 | 渠道ID,默认是6001 |
|
||||
| area | int | 否 | 游戏区域 (1=首页,2=游戏中,3=结算页,4=关闭) |
|
||||
| type | int | 否 | 类型(1=icon,2=banner,3=浮窗,4=icon2) |
|
||||
|
||||
##### 返回参数说明
|
||||
|
||||
@ -239,8 +236,6 @@ http://154.8.214.202:5015/interface/location
|
||||
|
||||
http://154.8.214.202:5015/interface/location?area=1&type=1&gameid=1003
|
||||
|
||||
http://154.8.214.202:5015/interface/location
|
||||
|
||||
##### 请求参数说明
|
||||
|
||||
| 名称 | 类型 | 必填 | 说明 |
|
||||
@ -278,9 +273,9 @@ http://154.8.214.202:5015/interface/location?id=1002
|
||||
|
||||
##### 请求参数说明
|
||||
|
||||
| 名称 | 类型 | 必填 | 说明 |
|
||||
| ---- | ---- | ---- | -------------- |
|
||||
| id | int | 是 | 需删除的位置ID |
|
||||
| 名称 | 类型 | 必填 | 说明 |
|
||||
| ---------- | ---- | ---- | -------------- |
|
||||
| locationid | int | 是 | 需删除的位置ID |
|
||||
|
||||
##### 返回参数说明
|
||||
|
||||
|
@ -48,7 +48,7 @@ class Location(Resource):
|
||||
return jsonify({'code': 200, 'message': all_data})
|
||||
else:
|
||||
log.error(f"{data} not found in mysql !")
|
||||
return jsonify({'code': 404})
|
||||
return jsonify({'code': 200, 'message': ""})
|
||||
|
||||
|
||||
def post(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user