简要描述:

  • 用户登录接口

请求域名:

  • http://xx.com

请求URL:

POST/plugin.download-center.frontend.controllers.index.notice

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "title": "测试公告",
                "link": "http://yzhonshop.com/admin/shop?route=plugin.download-center.admin.controllers.notice.index.details&id=1",
                "id": 1,
                "date": "2024-03-23"
            },
            {
                "title": "安卓公告",
                "link": "http://yzhonshop.com/admin/shop?route=plugin.download-center.admin.controllers.notice.index.details&id=0",
                "id": 5,
                "date": "2024-04-11"
            }
        ],
        "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": 2,
        "total": 2
    }
}

错误时返回:

  {
    "errcode": 500,
    "errmsg": "invalid appid"
  }

返回参数说明:

参数名 类型 说明
date string 时间
title string 名称
link string 链接

备注:

  • 更多返回错误代码请看首页的错误代码描述