简要描述:
- 用户登录接口
请求域名:
- http://xx.com
请求URL:
POST/plugin.download-center.frontend.controllers.index.nav
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"icon": "http://yzhonshop.com/static/upload/newimage/ecce351878f3f08bd40faa46d2654412.png",
"title": "测试图标",
"link": "http://yzhonshop.com/admin/shop?route=plugin.download-center.admin.controllers.nav.index.details&id=0",
"id": 4
}
],
"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": 8,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
icon | string | 图标 |
title | string | 名称 |
link | string | 链接 |
备注:
- 更多返回错误代码请看首页的错误代码描述