简要描述:

  • PC端模板2专题页请求

请求域名:

  • http://yunzshop.com

请求URL:

GET:plugin.pc-terminal-two.frontend.home.featuresList

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 1,
                "uniacid": 1,
                "name": "中台控制系统",
                "url": "www.baidu.com",
                "copy_h5_url": "",
                "title": "中台系统",
                "keyword": "专题,标题,描述",
                "description": "",
                "page_content": "",
                "created_at": null,
                "updated_at": "2022-03-24 16:06:12"
            }
        ],
        "first_page_url": "http://www.shop.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://www.shop.com/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://www.shop.com/addons/yun_shop/api.php",
        "per_page": 20,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

错误时返回:

{
  "result": 0,
  "msg": "用户名或密码错误",
  "data": []
}

返回参数说明:

参数名 类型 说明
id int 专题id
name string 专题名
url string 移动端自定义链接
copy_h5_url string 专题页链接
title string 标题
keyword string 关键词
description string 描述
page_content string 页面内容

备注:

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