Loading…

Get article list

```javascript WXAPI.cmsArticlesV3({ page: 1, pageSize: 50 }) ``` + page reads which page of data. If this parameter is not passed, the default value is 1. + pageSize How many records are displayed on each page of data? If this parameter is not passed, the default is 50 + token current user login credentials + type 0 rich text editor 1 plain text editor 2 markdown + uid View a user's articles + shopId the store ID to which it belongs + categoryId category ID + categoryKey is obtained based on the category number + isRecommend Whether to recommend: true recommended / false not recommended + showExtJson shows extended attributes + hasContent needs to include article details, true / false + showPics shows multiple pictures + showUserMap displays publisher information collection + showMyUsefulLogs returns my like/dislike records + k keyword search + orderBy sorting method: - If this parameter is not passed, the sorting will be done in ascending order according to the sorting field filled in the background. - newer The newest one is ranked first - older The oldest is listed first - viewUp sorts in ascending order of views - viewDown sorts in reverse order of views - Useful in descending order of likes + organizeId organization ID + associatedGoodsId Whether to return associated product ID information, pass true / false ["Interface parameter description"](https://cms.apifm.com/doc.html#/%E5%89%8D%E7%AB%AF%E6%8E%A5%E5%8F%A3/CMS%E6%A8%A1%E5%9D%97/listV2) Return example: ```json { "code": 0, "data": { "result": [ { "categoryId": 60068, "commentNumber": 0, "dateAdd": "2021-11-23 17:41:07", "descript": "1", "hasTourJourney": false, "id": 104900, "isRecommend": false, "keywords": "1", "numberFav": 0, "paixu": 0, "status": 2, "statusStr": "Approved", "title": "4", "uid": 0, "unusefulNumber": 0, "usefulNumber": 0, "userId": 72, "video": "http://video.it120.cc/39ea7262563b49deba1921907a61297e/d47de474bdc447d08635586797f2fe52-699a80a29a15c59c9d0868389f86cc3f.mp4", "views": 0 } ], "totalRow": 4, "totalPage": 4 }, "msg": "success" } ``` + totalPage How many pages are there in total? + totalRow total number of records + result article list - id article ID - type 0 rich text editor 1 plain text editor 2 markdown - pic cover picture - title title - descript summary - commentNumber number of message comments - numberFav collection number - usefulNumber number of likes - unusefulNumber The number of dislikes - views - keywords keywords - tags tags - income source -