简要描述:

请求域名:

  • http://xx.com

请求URL:

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

参数:

参数名 是否必须 类型 说明
page int 页数
filename string 素材标题

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "success",
    "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": [
                    {
                        "id": 7,
                        "uniacid": 1,
                        "thumb_url": "",
                        "title": "hahahahq0311",
                        "author": "xu",
                        "digest": "aafagaga",
                        "content": "<p>qdqfqfqfqfqf<img data-src=\"https://mmbiz.qpic.cn/mmbiz_png/O17kngzODiaVfQ8SibCQjbyvicVpI9hjNsb9C3h7P1U1SzBMuiahicZicXoyltML9YnRPBly2PjlmsXGpoGejYCJ1etQ/640\"></p>",
                        "content_source_url": "http://www.baidu.com",
                        "thumb_media_id": "1TWwZNUetfZVlNPmSEwLygq6H5Q5OvwCFSNGnatZ9jNmAkngmeZRFjnBA-H9RmUA",
                        "show_cover_pic": 0,
                        "need_open_comment": 0,
                        "only_fans_can_comment": 0,
                        "url": "http://mp.weixin.qq.com/s?__biz=MzI3NDU5NTY3NA==&mid=2247483696&idx=1&sn=b4971e8dc6a0b92055983c6b562d9bf0&chksm=eb10eb05dc676213cccbabb3f147e3cb1e6323918c9ab1bd7b71619f930d6da38ae8fd2c02a2#rd",
                        "display_order": 1,
                        "created_at": null,
                        "updated_at": null,
                        "deleted_at": null,
                        "examine_id": 4
                    }
                ]
            },
            {
                "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": [
                    {
                        "id": 5,
                        "uniacid": 1,
                        "thumb_url": "",
                        "title": "测试图文发布",
                        "author": "作者x",
                        "digest": "sgvsgsgsg",
                        "content": "<p><img data-src=\"https://mmbiz.qpic.cn/mmbiz_png/O17kngzODiaV6ibwdC9A4b5T37A9aLecRxZEpwxseuq5DHeghzoDgj3IOGJXEKeW9HtMms49Qjg29M00h1F9r6lg/640\"></p>",
                        "content_source_url": "http://www.baidu.com",
                        "thumb_media_id": "1TWwZNUetfZVlNPmSEwLygq6H5Q5OvwCFSNGnatZ9jNmAkngmeZRFjnBA-H9RmUA",
                        "show_cover_pic": 0,
                        "need_open_comment": 0,
                        "only_fans_can_comment": 0,
                        "url": "http://mp.weixin.qq.com/s?__biz=MzI3NDU5NTY3NA==&mid=2247483700&idx=1&sn=23ed251c49e9d2a04cf5fc9ad05b0149&chksm=eb10eb01dc6762174671c4d098015d970bcf28c9cd995180700e9f656cfb83d372574236fa9a#rd",
                        "display_order": 1,
                        "created_at": null,
                        "updated_at": null,
                        "deleted_at": null,
                        "examine_id": 3
                    },
                    {
                        "id": 6,
                        "uniacid": 1,
                        "thumb_url": "",
                        "title": "测试图文发布2",
                        "author": "作者y",
                        "digest": "afafafafafafaf",
                        "content": "<p>afafafafafafaf</p>",
                        "content_source_url": "http://www.google.com",
                        "thumb_media_id": "1TWwZNUetfZVlNPmSEwLygq6H5Q5OvwCFSNGnatZ9jNmAkngmeZRFjnBA-H9RmUA",
                        "show_cover_pic": 0,
                        "need_open_comment": 0,
                        "only_fans_can_comment": 0,
                        "url": "http://mp.weixin.qq.com/s?__biz=MzI3NDU5NTY3NA==&mid=2247483700&idx=2&sn=be795cb3672ab0ae257a6fd0197baa8e&chksm=eb10eb01dc6762175708a979d29fa1466065337185ad91b61d005c5eebd0247fa747c0f2f358#rd",
                        "display_order": 2,
                        "created_at": null,
                        "updated_at": null,
                        "deleted_at": null,
                        "examine_id": 3
                    }
                ]
            }
        ],
        "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
    }
}

错误时返回:


返回参数说明:

参数名 类型 说明

备注:

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