| @@ 230-239 (lines=10) @@ | ||
| 227 | * |
|
| 228 | * @return array |
|
| 229 | */ |
|
| 230 | public function lists($type, $offset = 0, $count = 20) |
|
| 231 | { |
|
| 232 | $params = [ |
|
| 233 | 'type' => $type, |
|
| 234 | 'offset' => intval($offset), |
|
| 235 | 'count' => min(20, $count), |
|
| 236 | ]; |
|
| 237 | ||
| 238 | return $this->parseJSON('json', [self::API_LISTS, $params]); |
|
| 239 | } |
|
| 240 | ||
| 241 | /** |
|
| 242 | * Get stats of materials. |
|
| @@ 473-482 (lines=10) @@ | ||
| 470 | * |
|
| 471 | * @return \EasyWeChat\Support\Collection |
|
| 472 | */ |
|
| 473 | public function lists($offset = 0, $count = 10, $statusList = 'CARD_STATUS_VERIFY_OK') |
|
| 474 | { |
|
| 475 | $params = [ |
|
| 476 | 'offset' => $offset, |
|
| 477 | 'count' => $count, |
|
| 478 | 'status_list' => $statusList, |
|
| 479 | ]; |
|
| 480 | ||
| 481 | return $this->parseJSON('json', [self::API_LIST_CARD, $params]); |
|
| 482 | } |
|
| 483 | ||
| 484 | /** |
|
| 485 | * 更改卡券信息接口 and 设置跟随推荐接口. |
|