Loading…

Get a list of all currently ongoing group purchases

```javascript WXAPI.pingtuanList({ page: 1, pageSize: 10, goodsId: 1223, status: 0 }) ``` + page gets the page data. If this parameter is not passed, the default value is 1. + pageSize How many records are read per page? If this parameter is not passed, the default is 50 + goodsId If this parameter is passed, only the grouping of this product will be returned. + status 0 In progress 1 Invalid 2 Completed, if this parameter is not passed, all statuses will be returned ```json { "code": 0, "data": { "result": [ { "apiExtUser": { "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIqqIzbIXdONjn5yTCtJU6ONiaR6WtFTibXbFibKBHLjPnsq2Dd4hG1UcERbqTM5yvrVZotiboB10MRzw/132", "nick": "雷子" }, "dateAdd": "2022-01-03 11:35:15", "dateEnd": "2022-01-04 11:35:16", "goodsId": 6761, "goodsNumber": 1, "helpNumber": 1, "id": 16858, "orderNumber": 1, "pingtuanId": 3773, "status": 0, "statusStr": "In progress", "uid": 2017654 } ], "totalRow": 1, "totalPage": 1 }, "msg": "success" } ``` + apiExtUser leader information - avatarUrl avatar - nick nickname + id is the id of the group, use this id to participate in this group fight + goodsNumber total number of goods + dateEnd cut-off time + helpNumber Number of team members (including the team leader himself) + orderNumber total order number + pingtuanId is the ID of the group setting, corresponding to the id in `setting` + status 0 in progress 1 invalid 2 completed