简要描述:

请求域名:

  • http://xx.com

请求URL:

POST:route=plugin.wechat.admin.material.controller.article.index

参数:

参数名 是否必须 类型 说明
page int 页数
title string 文章标题
status int 0待审核 -1失败 1成功
time_arr[0] int 开始时间
time_arr[1] int 结束时间

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 4,
                "uniacid": 1,
                "status": 1,
                "examine_status": 0,
                "publish_id": "",
                "article_id": "7sD3ijKnFh4NjjstECm_6LouHaYLQUTtLdAjQTK67qiNwb5yNj49y-mPHUOn3imf",
                "examine_time": 1647398935,
                "update_time": 1646991932,
                "created_at": "2022-03-16 10:48:55",
                "updated_at": "2022-03-16 10:48:55",
                "deleted_at": null,
                "has_many_article": [
                    {
                        "title": "hahahahq0311",
                        "thumb_url": "",
                        "digest": "aafagaga",
                        "examine_id": 4,
                        "id": 7,
                        "content_source_url": "http://www.baidu.com",
                        "url": "http://mp.weixin.qq.com/s?__biz=MzI3NDU5NTY3NA==&mid=2247483696&idx=1&sn=b4971e8dc6a0b92055983c6b562d9bf0&chksm=eb10eb05dc676213cccbabb3f147e3cb1e6323918c9ab1bd7b71619f930d6da38ae8fd2c02a2#rd"
                    }
                ]
            },
            {
                "id": 3,
                "uniacid": 1,
                "status": 1,
                "examine_status": 0,
                "publish_id": "",
                "article_id": "7sD3ijKnFh4NjjstECm_6K-KfWhDcspTi-aXk8H09FNbfJY2u892BuF9VK_p1V9k",
                "examine_time": 1647398935,
                "update_time": 1647397706,
                "created_at": "2022-03-16 10:48:55",
                "updated_at": "2022-03-16 10:48:55",
                "deleted_at": null,
                "has_many_article": [
                    {
                        "title": "测试图文发布",
                        "thumb_url": "",
                        "digest": "sgvsgsgsg",
                        "examine_id": 3,
                        "id": 5,
                        "content_source_url": "http://www.baidu.com",
                        "url": "http://mp.weixin.qq.com/s?__biz=MzI3NDU5NTY3NA==&mid=2247483700&idx=1&sn=23ed251c49e9d2a04cf5fc9ad05b0149&chksm=eb10eb01dc6762174671c4d098015d970bcf28c9cd995180700e9f656cfb83d372574236fa9a#rd"
                    },
                    {
                        "title": "测试图文发布2",
                        "thumb_url": "",
                        "digest": "afafafafafafaf",
                        "examine_id": 3,
                        "id": 6,
                        "content_source_url": "http://www.google.com",
                        "url": "http://mp.weixin.qq.com/s?__biz=MzI3NDU5NTY3NA==&mid=2247483700&idx=2&sn=be795cb3672ab0ae257a6fd0197baa8e&chksm=eb10eb01dc6762175708a979d29fa1466065337185ad91b61d005c5eebd0247fa747c0f2f358#rd"
                    }
                ]
            }
        ],
        "first_page_url": "https://release.yunzmall.com/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "https://release.yunzmall.com/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "https://release.yunzmall.com/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 2,
        "total": 2
    }
}

错误时返回:

{
    "result": 0, 
    "msg": "删除失败", 
    "data": []
}

返回参数说明:

参数名 类型 说明
result int 成功或者失败的状态码,0为失败,1为成功
msg string 提示信息
data array 数据

备注:

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