内容列表

请求 - GET

参数必填格式说明

token

必填

string

请求密钥

type

必填

string

列表为 list

module

必填

string

news、product、image、download、feedback

id

可选

string

为空获取当前 module 下内容列表

keyword

可选

string

top 置顶、com 推荐、hot 热门、notop 排除置顶、nocom 排除推荐、rand随机显示;

传入除以上字符外的其它任意字符,则搜索对应内容标题

page

可选

int

页码 默认 1

limit

可选

int

每页条数 默认 10

返回

success

{
    "code": 1,
    "msg": "success",
    "go": "",
    "data": {
        "list": [
            {
                "id": "1",
                "mid": "",
                "menu": "",
                "reorder": "",
                "title": "",
                "editor": "",
                "source": "",
                "cover": "",
                "covers": [],
                "content": "",
                "keywords": null,
                "description": "",
                "target": null,
                "addtime": "",
                "updatetime": "",
                "views": "",
                "isshow": "",
                "istop": "",
                "iscom": "",
                "lcms": "",
                "isarea": "",
                "stitle": null,
                "tags": [],
                "diytpl": null,
                "diytplmob": null,
                "video": null,
                "file_link": null
            }
        ],
        "next": 2,
        "total": "7",
        "limit": "1",
        "module": "news"
    }
}

error

{
    "code": 0,
    "msg": "ERROR"
}
大纲