简要描述:
- 用户登录接口
请求域名:
- http://xx.com
请求URL:
POST/plugin.download-center.frontend.controllers.index.download
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 3,
"name": "发放3",
"icon": "https://img0.baidu.com/it/u=1937665916,307154246&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=333",
"tip": "犯得上地方"
},
{
"id": 1,
"name": "发放1",
"icon": "https://img0.baidu.com/it/u=1937665916,307154246&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=333",
"tip": "犯得上地方"
},
{
"id": 4,
"name": "测试下载牛逼12",
"icon": "http://yzhonshop.com/static/upload/image/65dee4b6a264acf4b017f707465d8d72.jpg",
"tip": "谢谢谢谢谢谢"
}
],
"first_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://yzhonshop.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://yzhonshop.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 3,
"total": 3
}
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
icon | string | 图标 |
name | string | 名称 |
tip | string | 下载提示 |
must_sign | int | 0=不需要签约;1=需要签约 |
scene_id | int | 场景合同id |
备注:
- 更多返回错误代码请看首页的错误代码描述