| @@ 622-632 (lines=11) @@ | ||
| 619 | * |
|
| 620 | * @return array |
|
| 621 | */ |
|
| 622 | public function getFreeCardInfo($beginDate, $endDate, $condSource = 0, $cardId = '') |
|
| 623 | { |
|
| 624 | $params = [ |
|
| 625 | 'begin_date' => $beginDate, |
|
| 626 | 'end_date' => $endDate, |
|
| 627 | 'cond_source' => intval($condSource), |
|
| 628 | 'card_id' => $cardId, |
|
| 629 | ]; |
|
| 630 | ||
| 631 | return $this->parseJSON('json', [self::API_CARD_CARD_INFO, $params]); |
|
| 632 | } |
|
| 633 | ||
| 634 | /** |
|
| 635 | * 拉取会员卡数据接口. |
|
| @@ 643-652 (lines=10) @@ | ||
| 640 | * |
|
| 641 | * @return array |
|
| 642 | */ |
|
| 643 | public function getMemberCardInfo($beginDate, $endDate, $condSource = 0) |
|
| 644 | { |
|
| 645 | $params = [ |
|
| 646 | 'begin_date' => $beginDate, |
|
| 647 | 'end_date' => $endDate, |
|
| 648 | 'cond_source' => intval($condSource), |
|
| 649 | ]; |
|
| 650 | ||
| 651 | return $this->parseJSON('json', [self::API_CARD_MEMBER_CARD_INFO, $params]); |
|
| 652 | } |
|
| 653 | ||
| 654 | /** |
|
| 655 | * 会员卡接口激活. |
|