@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * 获取卡券颜色. |
| 77 | 77 | * |
| 78 | - * @return array |
|
| 78 | + * @return \EasyWeChat\Support\Collection |
|
| 79 | 79 | */ |
| 80 | 80 | public function getColors() |
| 81 | 81 | { |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | * |
| 119 | 119 | * @param array $cardList |
| 120 | 120 | * |
| 121 | - * @return array|bool |
|
| 121 | + * @return \EasyWeChat\Support\Collection |
|
| 122 | 122 | */ |
| 123 | 123 | public function qrCode($cardList = []) |
| 124 | 124 | { |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | * @param $scene |
| 252 | 252 | * @param $cardList |
| 253 | 253 | * |
| 254 | - * @return array |
|
| 254 | + * @return \EasyWeChat\Support\Collection |
|
| 255 | 255 | */ |
| 256 | 256 | public function landingPage($banner, $pageTitle, $canShare, $scene, $cardList) |
| 257 | 257 | { |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | * @param $cardId |
| 273 | 273 | * @param $code |
| 274 | 274 | * |
| 275 | - * @return array |
|
| 275 | + * @return \EasyWeChat\Support\Collection |
|
| 276 | 276 | */ |
| 277 | 277 | public function deposit($cardId, $code) |
| 278 | 278 | { |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | * |
| 290 | 290 | * @param $cardId |
| 291 | 291 | * |
| 292 | - * @return array |
|
| 292 | + * @return \EasyWeChat\Support\Collection |
|
| 293 | 293 | */ |
| 294 | 294 | public function getDepositCount($cardId) |
| 295 | 295 | { |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | * @param $cardId |
| 307 | 307 | * @param $code |
| 308 | 308 | * |
| 309 | - * @return array |
|
| 309 | + * @return \EasyWeChat\Support\Collection |
|
| 310 | 310 | */ |
| 311 | 311 | public function checkCode($cardId, $code) |
| 312 | 312 | { |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | * |
| 324 | 324 | * @param $cardId |
| 325 | 325 | * |
| 326 | - * @return array |
|
| 326 | + * @return \EasyWeChat\Support\Collection |
|
| 327 | 327 | */ |
| 328 | 328 | public function getHtml($cardId) |
| 329 | 329 | { |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | * @param $openid |
| 341 | 341 | * @param $username |
| 342 | 342 | * |
| 343 | - * @return array |
|
| 343 | + * @return \EasyWeChat\Support\Collection |
|
| 344 | 344 | */ |
| 345 | 345 | public function testWhiteList($openid, $username) |
| 346 | 346 | { |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | * @param $checkConsume |
| 360 | 360 | * @param $cardId |
| 361 | 361 | * |
| 362 | - * @return array |
|
| 362 | + * @return \EasyWeChat\Support\Collection |
|
| 363 | 363 | */ |
| 364 | 364 | public function codeGet($code, $checkConsume, $cardId) |
| 365 | 365 | { |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | * @param $cardId |
| 379 | 379 | * @param $code |
| 380 | 380 | * |
| 381 | - * @return array |
|
| 381 | + * @return \EasyWeChat\Support\Collection |
|
| 382 | 382 | */ |
| 383 | 383 | public function consume($cardId, $code) |
| 384 | 384 | { |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | * |
| 396 | 396 | * @param $encryptCode |
| 397 | 397 | * |
| 398 | - * @return array |
|
| 398 | + * @return \EasyWeChat\Support\Collection |
|
| 399 | 399 | */ |
| 400 | 400 | public function decrypt($encryptCode) |
| 401 | 401 | { |
@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | * @param $openid |
| 413 | 413 | * @param string $cardId |
| 414 | 414 | * |
| 415 | - * @return array |
|
| 415 | + * @return \EasyWeChat\Support\Collection |
|
| 416 | 416 | */ |
| 417 | 417 | public function getCardList($openid, $cardId = '') |
| 418 | 418 | { |
@@ -429,7 +429,7 @@ discard block |
||
| 429 | 429 | * |
| 430 | 430 | * @param $cardId |
| 431 | 431 | * |
| 432 | - * @return array |
|
| 432 | + * @return \EasyWeChat\Support\Collection |
|
| 433 | 433 | */ |
| 434 | 434 | public function cardGet($cardId) |
| 435 | 435 | { |
@@ -447,7 +447,7 @@ discard block |
||
| 447 | 447 | * @param int $count |
| 448 | 448 | * @param string $statusList |
| 449 | 449 | * |
| 450 | - * @return array |
|
| 450 | + * @return \EasyWeChat\Support\Collection |
|
| 451 | 451 | */ |
| 452 | 452 | public function batchGet($offset = 0, $count = 10, $statusList = 'CARD_STATUS_VERIFY_OK') |
| 453 | 453 | { |
@@ -468,7 +468,7 @@ discard block |
||
| 468 | 468 | * @param array $baseInfo |
| 469 | 469 | * @param array $especial |
| 470 | 470 | * |
| 471 | - * @return array |
|
| 471 | + * @return \EasyWeChat\Support\Collection |
|
| 472 | 472 | */ |
| 473 | 473 | public function update($cardId, $type, $baseInfo = [], $especial = []) |
| 474 | 474 | { |
@@ -491,7 +491,7 @@ discard block |
||
| 491 | 491 | * @param $cardId |
| 492 | 492 | * @param bool $isOpen |
| 493 | 493 | * |
| 494 | - * @return array |
|
| 494 | + * @return \EasyWeChat\Support\Collection |
|
| 495 | 495 | */ |
| 496 | 496 | public function payCellSet($cardId, $isOpen = true) |
| 497 | 497 | { |
@@ -534,7 +534,7 @@ discard block |
||
| 534 | 534 | * @param $newCode |
| 535 | 535 | * @param array $cardId |
| 536 | 536 | * |
| 537 | - * @return array |
|
| 537 | + * @return \EasyWeChat\Support\Collection |
|
| 538 | 538 | */ |
| 539 | 539 | public function codeUpdate($code, $newCode, $cardId = []) |
| 540 | 540 | { |
@@ -552,7 +552,7 @@ discard block |
||
| 552 | 552 | * |
| 553 | 553 | * @param $cardId |
| 554 | 554 | * |
| 555 | - * @return array |
|
| 555 | + * @return \EasyWeChat\Support\Collection |
|
| 556 | 556 | */ |
| 557 | 557 | public function cardDelete($cardId) |
| 558 | 558 | { |
@@ -569,7 +569,7 @@ discard block |
||
| 569 | 569 | * @param $code |
| 570 | 570 | * @param null $cardId |
| 571 | 571 | * |
| 572 | - * @return array |
|
| 572 | + * @return \EasyWeChat\Support\Collection |
|
| 573 | 573 | */ |
| 574 | 574 | public function unavailable($code, $cardId = null) |
| 575 | 575 | { |
@@ -588,7 +588,7 @@ discard block |
||
| 588 | 588 | * @param $endDate |
| 589 | 589 | * @param int $condSource |
| 590 | 590 | * |
| 591 | - * @return array |
|
| 591 | + * @return \EasyWeChat\Support\Collection |
|
| 592 | 592 | */ |
| 593 | 593 | public function getCardBizUinInfo($beginDate, $endDate, $condSource = 0) |
| 594 | 594 | { |
@@ -617,7 +617,7 @@ discard block |
||
| 617 | 617 | * @param int $condSource |
| 618 | 618 | * @param string $cardId |
| 619 | 619 | * |
| 620 | - * @return array |
|
| 620 | + * @return \EasyWeChat\Support\Collection |
|
| 621 | 621 | */ |
| 622 | 622 | public function getCardCardInfo($beginDate, $endDate, $condSource = 0, $cardId = '') |
| 623 | 623 | { |
@@ -638,7 +638,7 @@ discard block |
||
| 638 | 638 | * @param $endDate |
| 639 | 639 | * @param int $condSource |
| 640 | 640 | * |
| 641 | - * @return array |
|
| 641 | + * @return \EasyWeChat\Support\Collection |
|
| 642 | 642 | */ |
| 643 | 643 | public function getCardMemberCardInfo($beginDate, $endDate, $condSource = 0) |
| 644 | 644 | { |
@@ -656,7 +656,7 @@ discard block |
||
| 656 | 656 | * |
| 657 | 657 | * @param array $activate |
| 658 | 658 | * |
| 659 | - * @return array |
|
| 659 | + * @return \EasyWeChat\Support\Collection |
|
| 660 | 660 | */ |
| 661 | 661 | public function activate($activate = []) |
| 662 | 662 | { |
@@ -670,7 +670,7 @@ discard block |
||
| 670 | 670 | * @param array $requiredForm |
| 671 | 671 | * @param array $optionalForm |
| 672 | 672 | * |
| 673 | - * @return array |
|
| 673 | + * @return \EasyWeChat\Support\Collection |
|
| 674 | 674 | */ |
| 675 | 675 | public function activateUserFrom($cardId, $requiredForm = [], $optionalForm = []) |
| 676 | 676 | { |
@@ -688,7 +688,7 @@ discard block |
||
| 688 | 688 | * @param $cardId |
| 689 | 689 | * @param $code |
| 690 | 690 | * |
| 691 | - * @return array |
|
| 691 | + * @return \EasyWeChat\Support\Collection |
|
| 692 | 692 | */ |
| 693 | 693 | public function memberCardUserInfo($cardId, $code) |
| 694 | 694 | { |
@@ -705,7 +705,7 @@ discard block |
||
| 705 | 705 | * |
| 706 | 706 | * @param array $updateUser |
| 707 | 707 | * |
| 708 | - * @return array |
|
| 708 | + * @return \EasyWeChat\Support\Collection |
|
| 709 | 709 | */ |
| 710 | 710 | public function memberCardUpdateUser($updateUser = []) |
| 711 | 711 | { |
@@ -727,7 +727,7 @@ discard block |
||
| 727 | 727 | * @param $operatorMediaId |
| 728 | 728 | * @param string $appId |
| 729 | 729 | * |
| 730 | - * @return array |
|
| 730 | + * @return \EasyWeChat\Support\Collection |
|
| 731 | 731 | */ |
| 732 | 732 | public function subMerchant($brandName, $logoUrl, $protocol, $endTime, $primaryCategoryId, $secondaryCategoryId, $agreementMediaId, $operatorMediaId, $appId = '') |
| 733 | 733 | { |
@@ -751,7 +751,7 @@ discard block |
||
| 751 | 751 | /** |
| 752 | 752 | * 卡券开放类目查询接口. |
| 753 | 753 | * |
| 754 | - * @return array|bool |
|
| 754 | + * @return \EasyWeChat\Support\Collection |
|
| 755 | 755 | */ |
| 756 | 756 | public function getApplyProtocol() |
| 757 | 757 | { |
@@ -787,7 +787,7 @@ discard block |
||
| 787 | 787 | * |
| 788 | 788 | * @param string $url |
| 789 | 789 | * |
| 790 | - * @return array |
|
| 790 | + * @return Card |
|
| 791 | 791 | */ |
| 792 | 792 | public function setUrl($url) |
| 793 | 793 | { |