修改域名ad关键字

This commit is contained in:
pengtao 2019-08-05 10:32:56 +08:00
parent 9ca09a447d
commit 420464147d
3 changed files with 37 additions and 61 deletions

View File

@ -44,31 +44,21 @@ http://154.8.214.202:5015/interface/company?status=0
| companykey | string | 是 | 用于API认证 |
##### 返回示例
{
"code": 200,
"message": [
{
"appid": "zpoHY37u",
"appkey": "undefined",
"contact": "miles",
"id": "1006",
"name": "kingsome",
"status": 0,
"tel": "17771"
},
{
"appid": "5bOaA82t",
"appkey": "undefined",
"contact": "miles",
"id": "1007",
"name": "kingsome",
"status": 0,
"tel": "17771"
}
]
"code": 200,
"message": [
{
"appid": "BKadJbmZ",
"appkey": "undefined",
"contact": "pt",
"id": "1001",
"name": "kings",
"status": 0,
"tel": "1234",
"user": "None"
}
]
}
#### 2、新增公司信息
##### 接口地址
@ -207,33 +197,19 @@ http://154.8.214.202:5015/interface/location?gameid=1004
| message | json | 是 | 所有位置信息 |
##### 返回示例
{
"code": 200,
"message": [
{
"area": "1,1,.1",
"channelid": 6001,
"gameid": 1003,
"id": 1010,
"mode": 2,
"type": 1
}
{
"area": "1,8,15",
"channelid": 6001,
"gameid": 1004,
"id": 1007,
"mode": 1,
"type": 2
}
]
}
#### 6、添加位置服务信息
##### 接口地址
@ -346,7 +322,7 @@ http://154.8.214.202:5015/interface/location?id=1015
##### 接口地址
http://154.8.214.202:5015/interface/ad
http://154.8.214.202:5015/interface/prometion
##### 返回格式json
@ -354,7 +330,7 @@ http://154.8.214.202:5015/interface/ad
##### 请求示范
http://154.8.214.202:5015/interface/ad?name=abc&gameid=1003&locationid=1&ad_title=hello&ad_body=hi world&ad_image=http://1&ad_url=http://2&companyid=2
http://154.8.214.202:5015/interface/prometion?name=abc&gameid=1003&locationid=1&ad_title=hello&ad_body=hi world&ad_image=http://1&ad_url=http://2&companyid=2
##### 请求参数说明
@ -391,7 +367,7 @@ http://154.8.214.202:5015/interface/ad?name=abc&gameid=1003&locationid=1&ad_titl
##### 接口地址
http://154.8.214.202:5015/interface/ad
http://154.8.214.202:5015/interface/prometion
##### 返回格式json
@ -399,7 +375,7 @@ http://154.8.214.202:5015/interface/ad
##### 请求示范
http://154.8.214.202:5015/interface/ad?name=abc&gameid=1003&locationid=1&ad_title=hello&ad_body=hi world&ad_image=http://1&ad_url=http://2&begin_time=2019-06-01&end_time=2019-12-01&ad_num=300&ad_sort=1&status=1&id=1001&companyid=2
http://154.8.214.202:5015/interface/prometion?name=abc&gameid=1003&locationid=1&ad_title=hello&ad_body=hi world&ad_image=http://1&ad_url=http://2&begin_time=2019-06-01&end_time=2019-12-01&ad_num=300&ad_sort=1&status=1&id=1001&companyid=2
##### 请求参数说明
@ -439,7 +415,7 @@ http://154.8.214.202:5015/interface/ad?name=abc&gameid=1003&locationid=1&ad_titl
##### 接口地址
http://154.8.214.202:5015/interface/ad
http://154.8.214.202:5015/interface/prometion
##### 返回格式json
@ -447,7 +423,7 @@ http://154.8.214.202:5015/interface/ad
##### 请求示范
http://154.8.214.202:5015/interface/ad
http://154.8.214.202:5015/interface/prometion
##### 请求参数说明
@ -471,7 +447,7 @@ http://154.8.214.202:5015/interface/ad
##### 接口地址
http://154.8.214.202:5015/interface/ad
http://154.8.214.202:5015/interface/prometion
##### 返回格式json
@ -479,11 +455,11 @@ http://154.8.214.202:5015/interface/ad
##### 请求示范
http://154.8.214.202:5015/interface/ad?id=1002
http://154.8.214.202:5015/interface/prometion?id=1002
http://154.8.214.202:5015/interface/ad?companyid=0
http://154.8.214.202:5015/interface/prometion?companyid=0
http://154.8.214.202:5015/interface/ad?status=0
http://154.8.214.202:5015/interface/prometion?status=0
##### 请求参数说明

View File

@ -2,7 +2,7 @@
##### 接口地址
http://ad.kingsome.cn/webapp/index.php
http://prometion.kingsome.cn/webapp/index.php
##### 返回格式json
@ -10,8 +10,8 @@ http://ad.kingsome.cn/webapp/index.php
##### 请求示范
http://ad.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1003","channelid":6001,"locationid":1001}
http://ad.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1004:6001","channelid":6001,"area":1}
http://prometion.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1003","channelid":6001,"locationid":1001}
http://prometion.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1004:6001","channelid":6001,"area":1}
##### 请求参数说明
@ -71,7 +71,7 @@ http://ad.kingsome.cn/webapp/index.php?c=Ops&a=getAdList&body={"gameid":"1004:60
##### 接口地址
http://ad.kingsome.cn/webapp/index.php
http://prometion.kingsome.cn/webapp/index.php
##### 返回格式json
@ -79,7 +79,7 @@ http://ad.kingsome.cn/webapp/index.php
##### 请求示范
http://ad.kingsome.cn/webapp/index.php?c=Ops&a=upAdRecording&adid=1009
http://prometion.kingsome.cn/webapp/index.php?c=Ops&a=upAdRecording&adid=1009
##### 请求参数说明

View File

@ -21,7 +21,7 @@ api = Api(app)
api.add_resource(Company, '/interface/company')
api.add_resource(Location, '/interface/location')
api.add_resource(Ad, '/interface/ad')
api.add_resource(Ad, '/interface/prometion')
api.add_resource(Cos_sdk, '/interface/cos_upload')