Loading…

Product purchase ranking

Who buys more goods ```javascript WXAPI.goodsSellNumberStatistics(page, pageSize, goodsId) ``` + page gets the page data. If this parameter is not passed, the default value is 1. + pageSize How many records are obtained per page? If this parameter is not passed, the default is 50 + goodsId is the product ID. If it is not passed, it will be for all goods. If it is passed, it will be the ranking of the specified product. ```json { "code": 0, "data": { "result": [ { "apiExtUser": { "avatarUrl": "https://7.s2m.cc/cuser/951/2022/07/04/21e98462-eba3-43b6-b176-47b29cfd03fe.jpeg", "nick": "gooking (founder of apifm)" }, "goodsId": 235853, "number": 63, "uid": 1351478 }, { "apiExtUser": { "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIqqIzbIXdONjn5yTCtJU6ONiaR6WtFTibXbFibKBHLjPnsq2Dd4hG1UcERbqTM5yvrVZotiboB10MRzw/132", "nick": "雷子" }, "goodsId": 235853, "number": 7, "uid": 2017654 } ], "totalPage": 3, "totalRow": 115 }, "msg": "success" } ```