简要描述:

  • 供应链-知识库-首页

请求URL:

GET/route=plugin.project-template.frontend.knowledge.knowledgeBaseList

参数:

参数名 是否必须 类型 说明
page int 分页
title string 知识库名称

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 2,
                "title": "测试",
                "status": 1,
                "banner": null,
                "content": "111111"
            },
            {
                "id": 3,
                "title": "测试",
                "status": 1,
                "banner": null,
                "content": "111111"
            },
            {
                "id": 4,
                "title": "测试",
                "status": 1,
                "banner": null,
                "content": "111111"
            },
            {
                "id": 5,
                "title": "测试",
                "status": 1,
                "banner": null,
                "content": "111111"
            },
            {
                "id": 6,
                "title": "测试",
                "status": 1,
                "banner": null,
                "content": "111111"
            },
            {
                "id": 7,
                "title": "测试",
                "status": 1,
                "banner": null,
                "content": "111111"
            }
        ],
        "first_page_url": "http://shop/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://shop/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://shop/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 6,
        "total": 6
    }
}


knowledge_base:

参数名 类型 说明
id int 专题id
title string 知识库名称
banner string 封面
content string 简介