正在显示
33 个修改的文件
包含
565 行增加
和
550 行删除
| @@ -453,11 +453,11 @@ class Main | @@ -453,11 +453,11 @@ class Main | ||
| 453 | 453 | ||
| 454 | global $src_path; | 454 | global $src_path; |
| 455 | 455 | ||
| 456 | - $metaFile = $src_path . '/TiktokShop.php'; | 456 | + $metaFile = $src_path . '/Application.php'; |
| 457 | 457 | ||
| 458 | require_once $metaFile; | 458 | require_once $metaFile; |
| 459 | 459 | ||
| 460 | - $ref = new ReflectionClass(\Lackoxygen\TiktokShop\TiktokShop::class); | 460 | + $ref = new ReflectionClass(\Lackoxygen\TiktokShop\Application::class); |
| 461 | 461 | ||
| 462 | $content = file_get_contents($metaFile); | 462 | $content = file_get_contents($metaFile); |
| 463 | 463 | ||
| @@ -628,6 +628,8 @@ class CodeGenerateInterface | @@ -628,6 +628,8 @@ class CodeGenerateInterface | ||
| 628 | <?php | 628 | <?php |
| 629 | namespace Lackoxygen\TiktokShop\Request\\\${SECTION}; | 629 | namespace Lackoxygen\TiktokShop\Request\\\${SECTION}; |
| 630 | 630 | ||
| 631 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 632 | + | ||
| 631 | /** | 633 | /** |
| 632 | * @note \${ANNOTATE} | 634 | * @note \${ANNOTATE} |
| 633 | */ | 635 | */ |
| @@ -685,7 +687,7 @@ temp; | @@ -685,7 +687,7 @@ temp; | ||
| 685 | $template[] = "\t" . ' * @param array $params'; | 687 | $template[] = "\t" . ' * @param array $params'; |
| 686 | $template[] = "\t" . ' * @return ResultSet'; | 688 | $template[] = "\t" . ' * @return ResultSet'; |
| 687 | $template[] = "\t" . ' */'; | 689 | $template[] = "\t" . ' */'; |
| 688 | - $template[] = "\t" . 'function ' . $subSelf->name . '(array $params);'; | 690 | + $template[] = "\t" . 'function ' . $subSelf->name . '(array $params = []);'; |
| 689 | 691 | ||
| 690 | return $template; | 692 | return $template; |
| 691 | } | 693 | } |
| @@ -776,7 +778,7 @@ temp; | @@ -776,7 +778,7 @@ temp; | ||
| 776 | $template[] = "\t" . '/**'; | 778 | $template[] = "\t" . '/**'; |
| 777 | $template[] = "\t" . ' * @inheritDoc'; | 779 | $template[] = "\t" . ' * @inheritDoc'; |
| 778 | $template[] = "\t" . ' */'; | 780 | $template[] = "\t" . ' */'; |
| 779 | - $template[] = "\t" . 'function ' . $subSelf->name . '(array $params)'; | 781 | + $template[] = "\t" . 'function ' . $subSelf->name . '(array $params = [])'; |
| 780 | $template[] = "\t" . '{'; | 782 | $template[] = "\t" . '{'; |
| 781 | $template[] = "\t\t" . '$this->builder->method(\'' . $subSelf->method . '\')'; | 783 | $template[] = "\t\t" . '$this->builder->method(\'' . $subSelf->method . '\')'; |
| 782 | $template[] = "\t\t\t" . '->service(\'' . $subSelf->service . '\')'; | 784 | $template[] = "\t\t\t" . '->service(\'' . $subSelf->service . '\')'; |
| @@ -9,7 +9,7 @@ class Address extends Request implements AddressInterface | @@ -9,7 +9,7 @@ class Address extends Request implements AddressInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function qualificationSettle(array $params) | 12 | + public function qualificationSettle(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('qualification.settle') | 15 | ->service('qualification.settle') |
| @@ -20,7 +20,7 @@ class Address extends Request implements AddressInterface | @@ -20,7 +20,7 @@ class Address extends Request implements AddressInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function addressUpdate(array $params) | 23 | + public function addressUpdate(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('address.update') | 26 | ->service('address.update') |
| @@ -31,7 +31,7 @@ class Address extends Request implements AddressInterface | @@ -31,7 +31,7 @@ class Address extends Request implements AddressInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function addressCreate(array $params) | 34 | + public function addressCreate(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('address.create') | 37 | ->service('address.create') |
| @@ -42,7 +42,7 @@ class Address extends Request implements AddressInterface | @@ -42,7 +42,7 @@ class Address extends Request implements AddressInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function memberGetShopShortLink(array $params) | 45 | + public function memberGetShopShortLink(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('member.getShopShortLink') | 48 | ->service('member.getShopShortLink') |
| @@ -53,7 +53,7 @@ class Address extends Request implements AddressInterface | @@ -53,7 +53,7 @@ class Address extends Request implements AddressInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function addressList(array $params) | 56 | + public function addressList(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('address.list') | 59 | ->service('address.list') |
| @@ -64,7 +64,7 @@ class Address extends Request implements AddressInterface | @@ -64,7 +64,7 @@ class Address extends Request implements AddressInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function shopGetShopCategory(array $params) | 67 | + public function shopGetShopCategory(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('shop.getShopCategory') | 70 | ->service('shop.getShopCategory') |
| @@ -75,7 +75,7 @@ class Address extends Request implements AddressInterface | @@ -75,7 +75,7 @@ class Address extends Request implements AddressInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function shopBrandList(array $params) | 78 | + public function shopBrandList(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('shop.brandList') | 81 | ->service('shop.brandList') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Address; | 3 | namespace Lackoxygen\TiktokShop\Request\Address; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 店铺API | 8 | * @note 店铺API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface AddressInterface | @@ -13,7 +15,7 @@ interface AddressInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function qualificationSettle(array $params); | 18 | + public function qualificationSettle(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 店铺修改售后地址接口 | 21 | * 店铺修改售后地址接口 |
| @@ -21,7 +23,7 @@ interface AddressInterface | @@ -21,7 +23,7 @@ interface AddressInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function addressUpdate(array $params); | 26 | + public function addressUpdate(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 创建店铺地址库 | 29 | * 创建店铺地址库 |
| @@ -29,7 +31,7 @@ interface AddressInterface | @@ -29,7 +31,7 @@ interface AddressInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function addressCreate(array $params); | 34 | + public function addressCreate(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 获取商家推广链接接口 | 37 | * 获取商家推广链接接口 |
| @@ -37,7 +39,7 @@ interface AddressInterface | @@ -37,7 +39,7 @@ interface AddressInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function memberGetShopShortLink(array $params); | 42 | + public function memberGetShopShortLink(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 售后地址列表接口 | 45 | * 售后地址列表接口 |
| @@ -45,7 +47,7 @@ interface AddressInterface | @@ -45,7 +47,7 @@ interface AddressInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function addressList(array $params); | 50 | + public function addressList(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 获取店铺后台供商家发布商品的类目 | 53 | * 获取店铺后台供商家发布商品的类目 |
| @@ -53,7 +55,7 @@ interface AddressInterface | @@ -53,7 +55,7 @@ interface AddressInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function shopGetShopCategory(array $params); | 58 | + public function shopGetShopCategory(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 获取店铺的已授权品牌列表 | 61 | * 获取店铺的已授权品牌列表 |
| @@ -61,5 +63,5 @@ interface AddressInterface | @@ -61,5 +63,5 @@ interface AddressInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function shopBrandList(array $params); | 66 | + public function shopBrandList(array $params = []); |
| 65 | } | 67 | } |
| @@ -9,7 +9,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -9,7 +9,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function afterSaleOperate(array $params) | 12 | + public function afterSaleOperate(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('afterSale.operate') | 15 | ->service('afterSale.operate') |
| @@ -20,7 +20,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -20,7 +20,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function afterSaleDetail(array $params) | 23 | + public function afterSaleDetail(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('afterSale.Detail') | 26 | ->service('afterSale.Detail') |
| @@ -31,7 +31,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -31,7 +31,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function afterSaleList(array $params) | 34 | + public function afterSaleList(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('afterSale.List') | 37 | ->service('afterSale.List') |
| @@ -42,7 +42,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -42,7 +42,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function afterSaleAddOrderRemark(array $params) | 45 | + public function afterSaleAddOrderRemark(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('afterSale.addOrderRemark') | 48 | ->service('afterSale.addOrderRemark') |
| @@ -53,7 +53,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -53,7 +53,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function afterSaleOpenAfterSaleChannel(array $params) | 56 | + public function afterSaleOpenAfterSaleChannel(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('afterSale.OpenAfterSaleChannel') | 59 | ->service('afterSale.OpenAfterSaleChannel') |
| @@ -64,7 +64,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -64,7 +64,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function afterSaleBuyerExchangeConfirm(array $params) | 67 | + public function afterSaleBuyerExchangeConfirm(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('afterSale.buyerExchangeConfirm') | 70 | ->service('afterSale.buyerExchangeConfirm') |
| @@ -75,7 +75,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -75,7 +75,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function afterSaleApplyLogisticsIntercept(array $params) | 78 | + public function afterSaleApplyLogisticsIntercept(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('afterSale.applyLogisticsIntercept') | 81 | ->service('afterSale.applyLogisticsIntercept') |
| @@ -86,7 +86,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -86,7 +86,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - public function afterSaleCancelSendGoodsSuccess(array $params) | 89 | + public function afterSaleCancelSendGoodsSuccess(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('afterSale.CancelSendGoodsSuccess') | 92 | ->service('afterSale.CancelSendGoodsSuccess') |
| @@ -97,7 +97,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -97,7 +97,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - public function afterSaleReturnGoodsToWareHouseSuccess(array $params) | 100 | + public function afterSaleReturnGoodsToWareHouseSuccess(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('afterSale.returnGoodsToWareHouseSuccess') | 103 | ->service('afterSale.returnGoodsToWareHouseSuccess') |
| @@ -108,7 +108,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -108,7 +108,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 108 | /** | 108 | /** |
| 109 | * @inheritDoc | 109 | * @inheritDoc |
| 110 | */ | 110 | */ |
| 111 | - public function tradeRefundListSearch(array $params) | 111 | + public function tradeRefundListSearch(array $params = []) |
| 112 | { | 112 | { |
| 113 | $this->builder->method('POST') | 113 | $this->builder->method('POST') |
| 114 | ->service('trade.refundListSearch') | 114 | ->service('trade.refundListSearch') |
| @@ -119,7 +119,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -119,7 +119,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 119 | /** | 119 | /** |
| 120 | * @inheritDoc | 120 | * @inheritDoc |
| 121 | */ | 121 | */ |
| 122 | - public function afterSaleTimeExtend(array $params) | 122 | + public function afterSaleTimeExtend(array $params = []) |
| 123 | { | 123 | { |
| 124 | $this->builder->method('POST') | 124 | $this->builder->method('POST') |
| 125 | ->service('afterSale.timeExtend') | 125 | ->service('afterSale.timeExtend') |
| @@ -130,7 +130,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -130,7 +130,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 130 | /** | 130 | /** |
| 131 | * @inheritDoc | 131 | * @inheritDoc |
| 132 | */ | 132 | */ |
| 133 | - public function afterSaleBuyerExchange(array $params) | 133 | + public function afterSaleBuyerExchange(array $params = []) |
| 134 | { | 134 | { |
| 135 | $this->builder->method('POST') | 135 | $this->builder->method('POST') |
| 136 | ->service('afterSale.buyerExchange') | 136 | ->service('afterSale.buyerExchange') |
| @@ -141,7 +141,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -141,7 +141,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 141 | /** | 141 | /** |
| 142 | * @inheritDoc | 142 | * @inheritDoc |
| 143 | */ | 143 | */ |
| 144 | - public function afterSaleRejectReasonCodeList(array $params) | 144 | + public function afterSaleRejectReasonCodeList(array $params = []) |
| 145 | { | 145 | { |
| 146 | $this->builder->method('POST') | 146 | $this->builder->method('POST') |
| 147 | ->service('afterSale.rejectReasonCodeList') | 147 | ->service('afterSale.rejectReasonCodeList') |
| @@ -152,7 +152,7 @@ class AfterSale extends Request implements AfterSaleInterface | @@ -152,7 +152,7 @@ class AfterSale extends Request implements AfterSaleInterface | ||
| 152 | /** | 152 | /** |
| 153 | * @inheritDoc | 153 | * @inheritDoc |
| 154 | */ | 154 | */ |
| 155 | - public function afterSaleFillLogistics(array $params) | 155 | + public function afterSaleFillLogistics(array $params = []) |
| 156 | { | 156 | { |
| 157 | $this->builder->method('POST') | 157 | $this->builder->method('POST') |
| 158 | ->service('afterSale.fillLogistics') | 158 | ->service('afterSale.fillLogistics') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\AfterSale; | 3 | namespace Lackoxygen\TiktokShop\Request\AfterSale; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 售后退款API | 8 | * @note 售后退款API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface AfterSaleInterface | @@ -13,7 +15,7 @@ interface AfterSaleInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function afterSaleOperate(array $params); | 18 | + public function afterSaleOperate(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 提供给商家获取售后单详情信息 | 21 | * 提供给商家获取售后单详情信息 |
| @@ -21,7 +23,7 @@ interface AfterSaleInterface | @@ -21,7 +23,7 @@ interface AfterSaleInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function afterSaleDetail(array $params); | 26 | + public function afterSaleDetail(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 售后列表接口 | 29 | * 售后列表接口 |
| @@ -29,7 +31,7 @@ interface AfterSaleInterface | @@ -29,7 +31,7 @@ interface AfterSaleInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function afterSaleList(array $params); | 34 | + public function afterSaleList(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 店家给售后单添加备注 | 37 | * 店家给售后单添加备注 |
| @@ -37,7 +39,7 @@ interface AfterSaleInterface | @@ -37,7 +39,7 @@ interface AfterSaleInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function afterSaleAddOrderRemark(array $params); | 42 | + public function afterSaleAddOrderRemark(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 打开售后通道,使用户可以发起超级售后 | 45 | * 打开售后通道,使用户可以发起超级售后 |
| @@ -45,7 +47,7 @@ interface AfterSaleInterface | @@ -45,7 +47,7 @@ interface AfterSaleInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function afterSaleOpenAfterSaleChannel(array $params); | 50 | + public function afterSaleOpenAfterSaleChannel(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 商家确认是否收到换货 | 53 | * 商家确认是否收到换货 |
| @@ -53,7 +55,7 @@ interface AfterSaleInterface | @@ -53,7 +55,7 @@ interface AfterSaleInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function afterSaleBuyerExchangeConfirm(array $params); | 58 | + public function afterSaleBuyerExchangeConfirm(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 申请物流拦截 | 61 | * 申请物流拦截 |
| @@ -61,7 +63,7 @@ interface AfterSaleInterface | @@ -61,7 +63,7 @@ interface AfterSaleInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function afterSaleApplyLogisticsIntercept(array $params); | 66 | + public function afterSaleApplyLogisticsIntercept(array $params = []); |
| 65 | 67 | ||
| 66 | /** | 68 | /** |
| 67 | * 商家在未发货仅退款途中发送取消发货的状态 | 69 | * 商家在未发货仅退款途中发送取消发货的状态 |
| @@ -69,7 +71,7 @@ interface AfterSaleInterface | @@ -69,7 +71,7 @@ interface AfterSaleInterface | ||
| 69 | * @param array $params | 71 | * @param array $params |
| 70 | * @return ResultSet | 72 | * @return ResultSet |
| 71 | */ | 73 | */ |
| 72 | - public function afterSaleCancelSendGoodsSuccess(array $params); | 74 | + public function afterSaleCancelSendGoodsSuccess(array $params = []); |
| 73 | 75 | ||
| 74 | /** | 76 | /** |
| 75 | * 商家确认售后单对应的用户退货入仓成功 | 77 | * 商家确认售后单对应的用户退货入仓成功 |
| @@ -77,7 +79,7 @@ interface AfterSaleInterface | @@ -77,7 +79,7 @@ interface AfterSaleInterface | ||
| 77 | * @param array $params | 79 | * @param array $params |
| 78 | * @return ResultSet | 80 | * @return ResultSet |
| 79 | */ | 81 | */ |
| 80 | - public function afterSaleReturnGoodsToWareHouseSuccess(array $params); | 82 | + public function afterSaleReturnGoodsToWareHouseSuccess(array $params = []); |
| 81 | 83 | ||
| 82 | /** | 84 | /** |
| 83 | * 售后单列表查询推荐使用/afterSale/List | 85 | * 售后单列表查询推荐使用/afterSale/List |
| @@ -85,7 +87,7 @@ interface AfterSaleInterface | @@ -85,7 +87,7 @@ interface AfterSaleInterface | ||
| 85 | * @param array $params | 87 | * @param array $params |
| 86 | * @return ResultSet | 88 | * @return ResultSet |
| 87 | */ | 89 | */ |
| 88 | - public function tradeRefundListSearch(array $params); | 90 | + public function tradeRefundListSearch(array $params = []); |
| 89 | 91 | ||
| 90 | /** | 92 | /** |
| 91 | * 商家延时收获接口 | 93 | * 商家延时收获接口 |
| @@ -93,7 +95,7 @@ interface AfterSaleInterface | @@ -93,7 +95,7 @@ interface AfterSaleInterface | ||
| 93 | * @param array $params | 95 | * @param array $params |
| 94 | * @return ResultSet | 96 | * @return ResultSet |
| 95 | */ | 97 | */ |
| 96 | - public function afterSaleTimeExtend(array $params); | 98 | + public function afterSaleTimeExtend(array $params = []); |
| 97 | 99 | ||
| 98 | /** | 100 | /** |
| 99 | * 商家处理换货请求接口 | 101 | * 商家处理换货请求接口 |
| @@ -101,7 +103,7 @@ interface AfterSaleInterface | @@ -101,7 +103,7 @@ interface AfterSaleInterface | ||
| 101 | * @param array $params | 103 | * @param array $params |
| 102 | * @return ResultSet | 104 | * @return ResultSet |
| 103 | */ | 105 | */ |
| 104 | - public function afterSaleBuyerExchange(array $params); | 106 | + public function afterSaleBuyerExchange(array $params = []); |
| 105 | 107 | ||
| 106 | /** | 108 | /** |
| 107 | * 售后审核处理原因列表查询接口 | 109 | * 售后审核处理原因列表查询接口 |
| @@ -109,7 +111,7 @@ interface AfterSaleInterface | @@ -109,7 +111,7 @@ interface AfterSaleInterface | ||
| 109 | * @param array $params | 111 | * @param array $params |
| 110 | * @return ResultSet | 112 | * @return ResultSet |
| 111 | */ | 113 | */ |
| 112 | - public function afterSaleRejectReasonCodeList(array $params); | 114 | + public function afterSaleRejectReasonCodeList(array $params = []); |
| 113 | 115 | ||
| 114 | /** | 116 | /** |
| 115 | * 售后商家发货 | 117 | * 售后商家发货 |
| @@ -117,5 +119,5 @@ interface AfterSaleInterface | @@ -117,5 +119,5 @@ interface AfterSaleInterface | ||
| 117 | * @param array $params | 119 | * @param array $params |
| 118 | * @return ResultSet | 120 | * @return ResultSet |
| 119 | */ | 121 | */ |
| 120 | - public function afterSaleFillLogistics(array $params); | 122 | + public function afterSaleFillLogistics(array $params = []); |
| 121 | } | 123 | } |
| @@ -9,7 +9,7 @@ class Antispam extends Request implements AntispamInterface | @@ -9,7 +9,7 @@ class Antispam extends Request implements AntispamInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function antispamUserLogin(array $params) | 12 | + public function antispamUserLogin(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('antispam.userLogin') | 15 | ->service('antispam.userLogin') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Antispam; | 3 | namespace Lackoxygen\TiktokShop\Request\Antispam; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 风控安全API | 8 | * @note 风控安全API |
| 7 | */ | 9 | */ |
| @@ -13,5 +15,5 @@ interface AntispamInterface | @@ -13,5 +15,5 @@ interface AntispamInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function antispamUserLogin(array $params); | 18 | + public function antispamUserLogin(array $params = []); |
| 17 | } | 19 | } |
| @@ -9,7 +9,7 @@ class Btas extends Request implements BtasInterface | @@ -9,7 +9,7 @@ class Btas extends Request implements BtasInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function btasShipping(array $params) | 12 | + public function btasShipping(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('btas.shipping') | 15 | ->service('btas.shipping') |
| @@ -20,7 +20,7 @@ class Btas extends Request implements BtasInterface | @@ -20,7 +20,7 @@ class Btas extends Request implements BtasInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function btasGetInspectionOrder(array $params) | 23 | + public function btasGetInspectionOrder(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('btas.getInspectionOrder') | 26 | ->service('btas.getInspectionOrder') |
| @@ -31,7 +31,7 @@ class Btas extends Request implements BtasInterface | @@ -31,7 +31,7 @@ class Btas extends Request implements BtasInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function btasSaveInspectionOnline(array $params) | 34 | + public function btasSaveInspectionOnline(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('btas.saveInspectionOnline') | 37 | ->service('btas.saveInspectionOnline') |
| @@ -42,7 +42,7 @@ class Btas extends Request implements BtasInterface | @@ -42,7 +42,7 @@ class Btas extends Request implements BtasInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function btasGetOrderInspectionResult(array $params) | 45 | + public function btasGetOrderInspectionResult(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('btas.getOrderInspectionResult') | 48 | ->service('btas.getOrderInspectionResult') |
| @@ -53,7 +53,7 @@ class Btas extends Request implements BtasInterface | @@ -53,7 +53,7 @@ class Btas extends Request implements BtasInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function btasSaveInspectionInfo(array $params) | 56 | + public function btasSaveInspectionInfo(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('btas.saveInspectionInfo') | 59 | ->service('btas.saveInspectionInfo') |
| @@ -64,7 +64,7 @@ class Btas extends Request implements BtasInterface | @@ -64,7 +64,7 @@ class Btas extends Request implements BtasInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function btasListBrand(array $params) | 67 | + public function btasListBrand(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('btas.listBrand') | 70 | ->service('btas.listBrand') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Btas; | 3 | namespace Lackoxygen\TiktokShop\Request\Btas; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note BTAS质检API | 8 | * @note BTAS质检API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface BtasInterface | @@ -13,7 +15,7 @@ interface BtasInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function btasShipping(array $params); | 18 | + public function btasShipping(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 查询订单是否需要质检 | 21 | * 查询订单是否需要质检 |
| @@ -21,7 +23,7 @@ interface BtasInterface | @@ -21,7 +23,7 @@ interface BtasInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function btasGetInspectionOrder(array $params); | 26 | + public function btasGetInspectionOrder(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 图片质检送检 | 29 | * 图片质检送检 |
| @@ -29,7 +31,7 @@ interface BtasInterface | @@ -29,7 +31,7 @@ interface BtasInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function btasSaveInspectionOnline(array $params); | 34 | + public function btasSaveInspectionOnline(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 获取订单的质检结果 | 37 | * 获取订单的质检结果 |
| @@ -37,7 +39,7 @@ interface BtasInterface | @@ -37,7 +39,7 @@ interface BtasInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function btasGetOrderInspectionResult(array $params); | 42 | + public function btasGetOrderInspectionResult(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 商家送检调用 | 45 | * 商家送检调用 |
| @@ -45,7 +47,7 @@ interface BtasInterface | @@ -45,7 +47,7 @@ interface BtasInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function btasSaveInspectionInfo(array $params); | 50 | + public function btasSaveInspectionInfo(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 获取可图片鉴定的品牌 | 53 | * 获取可图片鉴定的品牌 |
| @@ -53,5 +55,5 @@ interface BtasInterface | @@ -53,5 +55,5 @@ interface BtasInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function btasListBrand(array $params); | 58 | + public function btasListBrand(array $params = []); |
| 57 | } | 59 | } |
| @@ -9,7 +9,7 @@ class Buyin extends Request implements BuyinInterface | @@ -9,7 +9,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - function buyinSimplePlan(array $params) | 12 | + function buyinSimplePlan(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('buyin.simplePlan') | 15 | ->service('buyin.simplePlan') |
| @@ -20,7 +20,7 @@ class Buyin extends Request implements BuyinInterface | @@ -20,7 +20,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - function buyinShopActivityList(array $params) | 23 | + function buyinShopActivityList(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('buyin.ShopActivityList') | 26 | ->service('buyin.ShopActivityList') |
| @@ -31,7 +31,7 @@ class Buyin extends Request implements BuyinInterface | @@ -31,7 +31,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - function buyinShopActivityDetail(array $params) | 34 | + function buyinShopActivityDetail(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('buyin.shopActivityDetail') | 37 | ->service('buyin.shopActivityDetail') |
| @@ -42,7 +42,7 @@ class Buyin extends Request implements BuyinInterface | @@ -42,7 +42,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - function buyinApplyActivities(array $params) | 45 | + function buyinApplyActivities(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('buyin.applyActivities') | 48 | ->service('buyin.applyActivities') |
| @@ -53,7 +53,7 @@ class Buyin extends Request implements BuyinInterface | @@ -53,7 +53,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - function buyinActivityProductExtendList(array $params) | 56 | + function buyinActivityProductExtendList(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('buyin.activityProductExtendList') | 59 | ->service('buyin.activityProductExtendList') |
| @@ -64,7 +64,7 @@ class Buyin extends Request implements BuyinInterface | @@ -64,7 +64,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - function buyinActivityProductExtendApprove(array $params) | 67 | + function buyinActivityProductExtendApprove(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('buyin.activityProductExtendApprove') | 70 | ->service('buyin.activityProductExtendApprove') |
| @@ -75,7 +75,7 @@ class Buyin extends Request implements BuyinInterface | @@ -75,7 +75,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - function buyinCreateOrUpdateOrienPlan(array $params) | 78 | + function buyinCreateOrUpdateOrienPlan(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('buyin.createOrUpdateOrienPlan') | 81 | ->service('buyin.createOrUpdateOrienPlan') |
| @@ -86,7 +86,7 @@ class Buyin extends Request implements BuyinInterface | @@ -86,7 +86,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - function buyinOrienPlanList(array $params) | 89 | + function buyinOrienPlanList(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('buyin.orienPlanList') | 92 | ->service('buyin.orienPlanList') |
| @@ -97,7 +97,7 @@ class Buyin extends Request implements BuyinInterface | @@ -97,7 +97,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - function buyinOrienPlanCtrl(array $params) | 100 | + function buyinOrienPlanCtrl(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('buyin.orienPlanCtrl') | 103 | ->service('buyin.orienPlanCtrl') |
| @@ -108,7 +108,7 @@ class Buyin extends Request implements BuyinInterface | @@ -108,7 +108,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 108 | /** | 108 | /** |
| 109 | * @inheritDoc | 109 | * @inheritDoc |
| 110 | */ | 110 | */ |
| 111 | - function buyinOrienPlanAuthors(array $params) | 111 | + function buyinOrienPlanAuthors(array $params = []) |
| 112 | { | 112 | { |
| 113 | $this->builder->method('POST') | 113 | $this->builder->method('POST') |
| 114 | ->service('buyin.orienPlanAuthors') | 114 | ->service('buyin.orienPlanAuthors') |
| @@ -119,7 +119,7 @@ class Buyin extends Request implements BuyinInterface | @@ -119,7 +119,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 119 | /** | 119 | /** |
| 120 | * @inheritDoc | 120 | * @inheritDoc |
| 121 | */ | 121 | */ |
| 122 | - function buyinOrienPlanAuthorsAdd(array $params) | 122 | + function buyinOrienPlanAuthorsAdd(array $params = []) |
| 123 | { | 123 | { |
| 124 | $this->builder->method('POST') | 124 | $this->builder->method('POST') |
| 125 | ->service('buyin.orienPlanAuthorsAdd') | 125 | ->service('buyin.orienPlanAuthorsAdd') |
| @@ -130,7 +130,7 @@ class Buyin extends Request implements BuyinInterface | @@ -130,7 +130,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 130 | /** | 130 | /** |
| 131 | * @inheritDoc | 131 | * @inheritDoc |
| 132 | */ | 132 | */ |
| 133 | - function buyinOrienPlanAudit(array $params) | 133 | + function buyinOrienPlanAudit(array $params = []) |
| 134 | { | 134 | { |
| 135 | $this->builder->method('POST') | 135 | $this->builder->method('POST') |
| 136 | ->service('buyin.orienPlanAudit') | 136 | ->service('buyin.orienPlanAudit') |
| @@ -141,7 +141,7 @@ class Buyin extends Request implements BuyinInterface | @@ -141,7 +141,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 141 | /** | 141 | /** |
| 142 | * @inheritDoc | 142 | * @inheritDoc |
| 143 | */ | 143 | */ |
| 144 | - function buyinExclusivePlan(array $params) | 144 | + function buyinExclusivePlan(array $params = []) |
| 145 | { | 145 | { |
| 146 | $this->builder->method('POST') | 146 | $this->builder->method('POST') |
| 147 | ->service('buyin.exclusivePlan') | 147 | ->service('buyin.exclusivePlan') |
| @@ -152,7 +152,7 @@ class Buyin extends Request implements BuyinInterface | @@ -152,7 +152,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 152 | /** | 152 | /** |
| 153 | * @inheritDoc | 153 | * @inheritDoc |
| 154 | */ | 154 | */ |
| 155 | - function buyinExclusivePlanAuthorOperate(array $params) | 155 | + function buyinExclusivePlanAuthorOperate(array $params = []) |
| 156 | { | 156 | { |
| 157 | $this->builder->method('POST') | 157 | $this->builder->method('POST') |
| 158 | ->service('buyin.exclusivePlanAuthorOperate') | 158 | ->service('buyin.exclusivePlanAuthorOperate') |
| @@ -163,7 +163,7 @@ class Buyin extends Request implements BuyinInterface | @@ -163,7 +163,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 163 | /** | 163 | /** |
| 164 | * @inheritDoc | 164 | * @inheritDoc |
| 165 | */ | 165 | */ |
| 166 | - function allianceColonelActivityCreateOrUpdate(array $params) | 166 | + function allianceColonelActivityCreateOrUpdate(array $params = []) |
| 167 | { | 167 | { |
| 168 | $this->builder->method('POST') | 168 | $this->builder->method('POST') |
| 169 | ->service('alliance.colonelActivityCreateOrUpdate') | 169 | ->service('alliance.colonelActivityCreateOrUpdate') |
| @@ -174,7 +174,7 @@ class Buyin extends Request implements BuyinInterface | @@ -174,7 +174,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 174 | /** | 174 | /** |
| 175 | * @inheritDoc | 175 | * @inheritDoc |
| 176 | */ | 176 | */ |
| 177 | - function allianceActivityProductCategoryList(array $params) | 177 | + function allianceActivityProductCategoryList(array $params = []) |
| 178 | { | 178 | { |
| 179 | $this->builder->method('POST') | 179 | $this->builder->method('POST') |
| 180 | ->service('alliance.activityProductCategoryList') | 180 | ->service('alliance.activityProductCategoryList') |
| @@ -185,7 +185,7 @@ class Buyin extends Request implements BuyinInterface | @@ -185,7 +185,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 185 | /** | 185 | /** |
| 186 | * @inheritDoc | 186 | * @inheritDoc |
| 187 | */ | 187 | */ |
| 188 | - function allianceInstituteColonelActivityList(array $params) | 188 | + function allianceInstituteColonelActivityList(array $params = []) |
| 189 | { | 189 | { |
| 190 | $this->builder->method('POST') | 190 | $this->builder->method('POST') |
| 191 | ->service('alliance.instituteColonelActivityList') | 191 | ->service('alliance.instituteColonelActivityList') |
| @@ -196,7 +196,7 @@ class Buyin extends Request implements BuyinInterface | @@ -196,7 +196,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 196 | /** | 196 | /** |
| 197 | * @inheritDoc | 197 | * @inheritDoc |
| 198 | */ | 198 | */ |
| 199 | - function allianceInstituteColonelActivityOperate(array $params) | 199 | + function allianceInstituteColonelActivityOperate(array $params = []) |
| 200 | { | 200 | { |
| 201 | $this->builder->method('POST') | 201 | $this->builder->method('POST') |
| 202 | ->service('alliance.instituteColonelActivityOperate') | 202 | ->service('alliance.instituteColonelActivityOperate') |
| @@ -207,7 +207,7 @@ class Buyin extends Request implements BuyinInterface | @@ -207,7 +207,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 207 | /** | 207 | /** |
| 208 | * @inheritDoc | 208 | * @inheritDoc |
| 209 | */ | 209 | */ |
| 210 | - function allianceColonelActivityProduct(array $params) | 210 | + function allianceColonelActivityProduct(array $params = []) |
| 211 | { | 211 | { |
| 212 | $this->builder->method('POST') | 212 | $this->builder->method('POST') |
| 213 | ->service('alliance.colonelActivityProduct') | 213 | ->service('alliance.colonelActivityProduct') |
| @@ -218,7 +218,7 @@ class Buyin extends Request implements BuyinInterface | @@ -218,7 +218,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 218 | /** | 218 | /** |
| 219 | * @inheritDoc | 219 | * @inheritDoc |
| 220 | */ | 220 | */ |
| 221 | - function allianceColonelActivityProductAudit(array $params) | 221 | + function allianceColonelActivityProductAudit(array $params = []) |
| 222 | { | 222 | { |
| 223 | $this->builder->method('POST') | 223 | $this->builder->method('POST') |
| 224 | ->service('alliance.colonelActivityProductAudit') | 224 | ->service('alliance.colonelActivityProductAudit') |
| @@ -229,7 +229,7 @@ class Buyin extends Request implements BuyinInterface | @@ -229,7 +229,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 229 | /** | 229 | /** |
| 230 | * @inheritDoc | 230 | * @inheritDoc |
| 231 | */ | 231 | */ |
| 232 | - function buyinColonel/specialApplyList(array $params) | 232 | + function buyinColonel/specialApplyList(array $params = []) |
| 233 | { | 233 | { |
| 234 | $this->builder->method('POST') | 234 | $this->builder->method('POST') |
| 235 | ->service('buyin.colonel/specialApplyList') | 235 | ->service('buyin.colonel/specialApplyList') |
| @@ -240,7 +240,7 @@ class Buyin extends Request implements BuyinInterface | @@ -240,7 +240,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 240 | /** | 240 | /** |
| 241 | * @inheritDoc | 241 | * @inheritDoc |
| 242 | */ | 242 | */ |
| 243 | - function allianceColonelActivityProductExtension(array $params) | 243 | + function allianceColonelActivityProductExtension(array $params = []) |
| 244 | { | 244 | { |
| 245 | $this->builder->method('POST') | 245 | $this->builder->method('POST') |
| 246 | ->service('alliance.colonelActivityProductExtension') | 246 | ->service('alliance.colonelActivityProductExtension') |
| @@ -251,7 +251,7 @@ class Buyin extends Request implements BuyinInterface | @@ -251,7 +251,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 251 | /** | 251 | /** |
| 252 | * @inheritDoc | 252 | * @inheritDoc |
| 253 | */ | 253 | */ |
| 254 | - function buyinColonel/specialApplyDeal(array $params) | 254 | + function buyinColonel/specialApplyDeal(array $params = []) |
| 255 | { | 255 | { |
| 256 | $this->builder->method('POST') | 256 | $this->builder->method('POST') |
| 257 | ->service('buyin.colonel/specialApplyDeal') | 257 | ->service('buyin.colonel/specialApplyDeal') |
| @@ -262,7 +262,7 @@ class Buyin extends Request implements BuyinInterface | @@ -262,7 +262,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 262 | /** | 262 | /** |
| 263 | * @inheritDoc | 263 | * @inheritDoc |
| 264 | */ | 264 | */ |
| 265 | - function buyinOriginColonelEnrollableActivityList(array $params) | 265 | + function buyinOriginColonelEnrollableActivityList(array $params = []) |
| 266 | { | 266 | { |
| 267 | $this->builder->method('POST') | 267 | $this->builder->method('POST') |
| 268 | ->service('buyin.originColonelEnrollableActivityList') | 268 | ->service('buyin.originColonelEnrollableActivityList') |
| @@ -273,7 +273,7 @@ class Buyin extends Request implements BuyinInterface | @@ -273,7 +273,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 273 | /** | 273 | /** |
| 274 | * @inheritDoc | 274 | * @inheritDoc |
| 275 | */ | 275 | */ |
| 276 | - function buyinColonelActivityDetail(array $params) | 276 | + function buyinColonelActivityDetail(array $params = []) |
| 277 | { | 277 | { |
| 278 | $this->builder->method('POST') | 278 | $this->builder->method('POST') |
| 279 | ->service('buyin.colonelActivityDetail') | 279 | ->service('buyin.colonelActivityDetail') |
| @@ -284,7 +284,7 @@ class Buyin extends Request implements BuyinInterface | @@ -284,7 +284,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 284 | /** | 284 | /** |
| 285 | * @inheritDoc | 285 | * @inheritDoc |
| 286 | */ | 286 | */ |
| 287 | - function buyinOriginColonelUnappliedProductList(array $params) | 287 | + function buyinOriginColonelUnappliedProductList(array $params = []) |
| 288 | { | 288 | { |
| 289 | $this->builder->method('POST') | 289 | $this->builder->method('POST') |
| 290 | ->service('buyin.originColonelUnappliedProductList') | 290 | ->service('buyin.originColonelUnappliedProductList') |
| @@ -295,7 +295,7 @@ class Buyin extends Request implements BuyinInterface | @@ -295,7 +295,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 295 | /** | 295 | /** |
| 296 | * @inheritDoc | 296 | * @inheritDoc |
| 297 | */ | 297 | */ |
| 298 | - function buyinOriginColonelApplyActivities(array $params) | 298 | + function buyinOriginColonelApplyActivities(array $params = []) |
| 299 | { | 299 | { |
| 300 | $this->builder->method('POST') | 300 | $this->builder->method('POST') |
| 301 | ->service('buyin.originColonelApplyActivities') | 301 | ->service('buyin.originColonelApplyActivities') |
| @@ -306,7 +306,7 @@ class Buyin extends Request implements BuyinInterface | @@ -306,7 +306,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 306 | /** | 306 | /** |
| 307 | * @inheritDoc | 307 | * @inheritDoc |
| 308 | */ | 308 | */ |
| 309 | - function buyinActivityProductList(array $params) | 309 | + function buyinActivityProductList(array $params = []) |
| 310 | { | 310 | { |
| 311 | $this->builder->method('POST') | 311 | $this->builder->method('POST') |
| 312 | ->service('buyin.activityProductList') | 312 | ->service('buyin.activityProductList') |
| @@ -317,7 +317,7 @@ class Buyin extends Request implements BuyinInterface | @@ -317,7 +317,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 317 | /** | 317 | /** |
| 318 | * @inheritDoc | 318 | * @inheritDoc |
| 319 | */ | 319 | */ |
| 320 | - function buyinActivityProductCancel(array $params) | 320 | + function buyinActivityProductCancel(array $params = []) |
| 321 | { | 321 | { |
| 322 | $this->builder->method('POST') | 322 | $this->builder->method('POST') |
| 323 | ->service('buyin.activityProductCancel') | 323 | ->service('buyin.activityProductCancel') |
| @@ -328,7 +328,7 @@ class Buyin extends Request implements BuyinInterface | @@ -328,7 +328,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 328 | /** | 328 | /** |
| 329 | * @inheritDoc | 329 | * @inheritDoc |
| 330 | */ | 330 | */ |
| 331 | - function allianceMaterialsProductsSearch(array $params) | 331 | + function allianceMaterialsProductsSearch(array $params = []) |
| 332 | { | 332 | { |
| 333 | $this->builder->method('POST') | 333 | $this->builder->method('POST') |
| 334 | ->service('alliance.materialsProductsSearch') | 334 | ->service('alliance.materialsProductsSearch') |
| @@ -339,7 +339,7 @@ class Buyin extends Request implements BuyinInterface | @@ -339,7 +339,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 339 | /** | 339 | /** |
| 340 | * @inheritDoc | 340 | * @inheritDoc |
| 341 | */ | 341 | */ |
| 342 | - function buyinSimplePlanList(array $params) | 342 | + function buyinSimplePlanList(array $params = []) |
| 343 | { | 343 | { |
| 344 | $this->builder->method('POST') | 344 | $this->builder->method('POST') |
| 345 | ->service('buyin.simplePlanList') | 345 | ->service('buyin.simplePlanList') |
| @@ -350,7 +350,7 @@ class Buyin extends Request implements BuyinInterface | @@ -350,7 +350,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 350 | /** | 350 | /** |
| 351 | * @inheritDoc | 351 | * @inheritDoc |
| 352 | */ | 352 | */ |
| 353 | - function allianceMaterialsProductsDetails(array $params) | 353 | + function allianceMaterialsProductsDetails(array $params = []) |
| 354 | { | 354 | { |
| 355 | $this->builder->method('POST') | 355 | $this->builder->method('POST') |
| 356 | ->service('alliance.materialsProductsDetails') | 356 | ->service('alliance.materialsProductsDetails') |
| @@ -361,7 +361,7 @@ class Buyin extends Request implements BuyinInterface | @@ -361,7 +361,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 361 | /** | 361 | /** |
| 362 | * @inheritDoc | 362 | * @inheritDoc |
| 363 | */ | 363 | */ |
| 364 | - function buyinProductSkus(array $params) | 364 | + function buyinProductSkus(array $params = []) |
| 365 | { | 365 | { |
| 366 | $this->builder->method('POST') | 366 | $this->builder->method('POST') |
| 367 | ->service('buyin.productSkus') | 367 | ->service('buyin.productSkus') |
| @@ -372,7 +372,7 @@ class Buyin extends Request implements BuyinInterface | @@ -372,7 +372,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 372 | /** | 372 | /** |
| 373 | * @inheritDoc | 373 | * @inheritDoc |
| 374 | */ | 374 | */ |
| 375 | - function allianceMaterialsProductCategory(array $params) | 375 | + function allianceMaterialsProductCategory(array $params = []) |
| 376 | { | 376 | { |
| 377 | $this->builder->method('POST') | 377 | $this->builder->method('POST') |
| 378 | ->service('alliance.materialsProductCategory') | 378 | ->service('alliance.materialsProductCategory') |
| @@ -383,7 +383,7 @@ class Buyin extends Request implements BuyinInterface | @@ -383,7 +383,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 383 | /** | 383 | /** |
| 384 | * @inheritDoc | 384 | * @inheritDoc |
| 385 | */ | 385 | */ |
| 386 | - function buyinMaterialsProductStatus(array $params) | 386 | + function buyinMaterialsProductStatus(array $params = []) |
| 387 | { | 387 | { |
| 388 | $this->builder->method('POST') | 388 | $this->builder->method('POST') |
| 389 | ->service('buyin.materialsProductStatus') | 389 | ->service('buyin.materialsProductStatus') |
| @@ -394,7 +394,7 @@ class Buyin extends Request implements BuyinInterface | @@ -394,7 +394,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 394 | /** | 394 | /** |
| 395 | * @inheritDoc | 395 | * @inheritDoc |
| 396 | */ | 396 | */ |
| 397 | - function buyinKolMaterialsProductsSearch(array $params) | 397 | + function buyinKolMaterialsProductsSearch(array $params = []) |
| 398 | { | 398 | { |
| 399 | $this->builder->method('POST') | 399 | $this->builder->method('POST') |
| 400 | ->service('buyin.kolMaterialsProductsSearch') | 400 | ->service('buyin.kolMaterialsProductsSearch') |
| @@ -405,7 +405,7 @@ class Buyin extends Request implements BuyinInterface | @@ -405,7 +405,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 405 | /** | 405 | /** |
| 406 | * @inheritDoc | 406 | * @inheritDoc |
| 407 | */ | 407 | */ |
| 408 | - function buyinKolMaterialsProductsDetails(array $params) | 408 | + function buyinKolMaterialsProductsDetails(array $params = []) |
| 409 | { | 409 | { |
| 410 | $this->builder->method('POST') | 410 | $this->builder->method('POST') |
| 411 | ->service('buyin.kolMaterialsProductsDetails') | 411 | ->service('buyin.kolMaterialsProductsDetails') |
| @@ -416,7 +416,7 @@ class Buyin extends Request implements BuyinInterface | @@ -416,7 +416,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 416 | /** | 416 | /** |
| 417 | * @inheritDoc | 417 | * @inheritDoc |
| 418 | */ | 418 | */ |
| 419 | - function buyinQueryInstituteOrders(array $params) | 419 | + function buyinQueryInstituteOrders(array $params = []) |
| 420 | { | 420 | { |
| 421 | $this->builder->method('POST') | 421 | $this->builder->method('POST') |
| 422 | ->service('buyin.queryInstituteOrders') | 422 | ->service('buyin.queryInstituteOrders') |
| @@ -427,7 +427,7 @@ class Buyin extends Request implements BuyinInterface | @@ -427,7 +427,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 427 | /** | 427 | /** |
| 428 | * @inheritDoc | 428 | * @inheritDoc |
| 429 | */ | 429 | */ |
| 430 | - function buyinInstituteOrderMCN(array $params) | 430 | + function buyinInstituteOrderMCN(array $params = []) |
| 431 | { | 431 | { |
| 432 | $this->builder->method('POST') | 432 | $this->builder->method('POST') |
| 433 | ->service('buyin.instituteOrderMCN') | 433 | ->service('buyin.instituteOrderMCN') |
| @@ -438,7 +438,7 @@ class Buyin extends Request implements BuyinInterface | @@ -438,7 +438,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 438 | /** | 438 | /** |
| 439 | * @inheritDoc | 439 | * @inheritDoc |
| 440 | */ | 440 | */ |
| 441 | - function buyinInstituteOrderColonel(array $params) | 441 | + function buyinInstituteOrderColonel(array $params = []) |
| 442 | { | 442 | { |
| 443 | $this->builder->method('POST') | 443 | $this->builder->method('POST') |
| 444 | ->service('buyin.instituteOrderColonel') | 444 | ->service('buyin.instituteOrderColonel') |
| @@ -449,7 +449,7 @@ class Buyin extends Request implements BuyinInterface | @@ -449,7 +449,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 449 | /** | 449 | /** |
| 450 | * @inheritDoc | 450 | * @inheritDoc |
| 451 | */ | 451 | */ |
| 452 | - function buyinInstPickSourceConvert(array $params) | 452 | + function buyinInstPickSourceConvert(array $params = []) |
| 453 | { | 453 | { |
| 454 | $this->builder->method('POST') | 454 | $this->builder->method('POST') |
| 455 | ->service('buyin.instPickSourceConvert') | 455 | ->service('buyin.instPickSourceConvert') |
| @@ -460,7 +460,7 @@ class Buyin extends Request implements BuyinInterface | @@ -460,7 +460,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 460 | /** | 460 | /** |
| 461 | * @inheritDoc | 461 | * @inheritDoc |
| 462 | */ | 462 | */ |
| 463 | - function buyinInstGmv(array $params) | 463 | + function buyinInstGmv(array $params = []) |
| 464 | { | 464 | { |
| 465 | $this->builder->method('POST') | 465 | $this->builder->method('POST') |
| 466 | ->service('buyin.instGmv') | 466 | ->service('buyin.instGmv') |
| @@ -471,7 +471,7 @@ class Buyin extends Request implements BuyinInterface | @@ -471,7 +471,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 471 | /** | 471 | /** |
| 472 | * @inheritDoc | 472 | * @inheritDoc |
| 473 | */ | 473 | */ |
| 474 | - function buyinInstGmvDetail(array $params) | 474 | + function buyinInstGmvDetail(array $params = []) |
| 475 | { | 475 | { |
| 476 | $this->builder->method('POST') | 476 | $this->builder->method('POST') |
| 477 | ->service('buyin.instGmvDetail') | 477 | ->service('buyin.instGmvDetail') |
| @@ -482,7 +482,7 @@ class Buyin extends Request implements BuyinInterface | @@ -482,7 +482,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 482 | /** | 482 | /** |
| 483 | * @inheritDoc | 483 | * @inheritDoc |
| 484 | */ | 484 | */ |
| 485 | - function buyinKolPidCreate(array $params) | 485 | + function buyinKolPidCreate(array $params = []) |
| 486 | { | 486 | { |
| 487 | $this->builder->method('POST') | 487 | $this->builder->method('POST') |
| 488 | ->service('buyin.kolPidCreate') | 488 | ->service('buyin.kolPidCreate') |
| @@ -493,7 +493,7 @@ class Buyin extends Request implements BuyinInterface | @@ -493,7 +493,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 493 | /** | 493 | /** |
| 494 | * @inheritDoc | 494 | * @inheritDoc |
| 495 | */ | 495 | */ |
| 496 | - function buyinKolPidList(array $params) | 496 | + function buyinKolPidList(array $params = []) |
| 497 | { | 497 | { |
| 498 | $this->builder->method('POST') | 498 | $this->builder->method('POST') |
| 499 | ->service('buyin.kolPidList') | 499 | ->service('buyin.kolPidList') |
| @@ -504,7 +504,7 @@ class Buyin extends Request implements BuyinInterface | @@ -504,7 +504,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 504 | /** | 504 | /** |
| 505 | * @inheritDoc | 505 | * @inheritDoc |
| 506 | */ | 506 | */ |
| 507 | - function buyinKolPidEdit(array $params) | 507 | + function buyinKolPidEdit(array $params = []) |
| 508 | { | 508 | { |
| 509 | $this->builder->method('POST') | 509 | $this->builder->method('POST') |
| 510 | ->service('buyin.kolPidEdit') | 510 | ->service('buyin.kolPidEdit') |
| @@ -515,7 +515,7 @@ class Buyin extends Request implements BuyinInterface | @@ -515,7 +515,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 515 | /** | 515 | /** |
| 516 | * @inheritDoc | 516 | * @inheritDoc |
| 517 | */ | 517 | */ |
| 518 | - function buyinKolPidDel(array $params) | 518 | + function buyinKolPidDel(array $params = []) |
| 519 | { | 519 | { |
| 520 | $this->builder->method('POST') | 520 | $this->builder->method('POST') |
| 521 | ->service('buyin.kolPidDel') | 521 | ->service('buyin.kolPidDel') |
| @@ -526,7 +526,7 @@ class Buyin extends Request implements BuyinInterface | @@ -526,7 +526,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 526 | /** | 526 | /** |
| 527 | * @inheritDoc | 527 | * @inheritDoc |
| 528 | */ | 528 | */ |
| 529 | - function buyinShareCommandParse(array $params) | 529 | + function buyinShareCommandParse(array $params = []) |
| 530 | { | 530 | { |
| 531 | $this->builder->method('POST') | 531 | $this->builder->method('POST') |
| 532 | ->service('buyin.shareCommandParse') | 532 | ->service('buyin.shareCommandParse') |
| @@ -537,7 +537,7 @@ class Buyin extends Request implements BuyinInterface | @@ -537,7 +537,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 537 | /** | 537 | /** |
| 538 | * @inheritDoc | 538 | * @inheritDoc |
| 539 | */ | 539 | */ |
| 540 | - function buyinKolProductShare(array $params) | 540 | + function buyinKolProductShare(array $params = []) |
| 541 | { | 541 | { |
| 542 | $this->builder->method('POST') | 542 | $this->builder->method('POST') |
| 543 | ->service('buyin.kolProductShare') | 543 | ->service('buyin.kolProductShare') |
| @@ -548,7 +548,7 @@ class Buyin extends Request implements BuyinInterface | @@ -548,7 +548,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 548 | /** | 548 | /** |
| 549 | * @inheritDoc | 549 | * @inheritDoc |
| 550 | */ | 550 | */ |
| 551 | - function buyinInstitutePidCreate(array $params) | 551 | + function buyinInstitutePidCreate(array $params = []) |
| 552 | { | 552 | { |
| 553 | $this->builder->method('POST') | 553 | $this->builder->method('POST') |
| 554 | ->service('buyin.institutePidCreate') | 554 | ->service('buyin.institutePidCreate') |
| @@ -559,7 +559,7 @@ class Buyin extends Request implements BuyinInterface | @@ -559,7 +559,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 559 | /** | 559 | /** |
| 560 | * @inheritDoc | 560 | * @inheritDoc |
| 561 | */ | 561 | */ |
| 562 | - function buyinInstitutePidList(array $params) | 562 | + function buyinInstitutePidList(array $params = []) |
| 563 | { | 563 | { |
| 564 | $this->builder->method('POST') | 564 | $this->builder->method('POST') |
| 565 | ->service('buyin.institutePidList') | 565 | ->service('buyin.institutePidList') |
| @@ -570,7 +570,7 @@ class Buyin extends Request implements BuyinInterface | @@ -570,7 +570,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 570 | /** | 570 | /** |
| 571 | * @inheritDoc | 571 | * @inheritDoc |
| 572 | */ | 572 | */ |
| 573 | - function buyinInstitutePidEdit(array $params) | 573 | + function buyinInstitutePidEdit(array $params = []) |
| 574 | { | 574 | { |
| 575 | $this->builder->method('POST') | 575 | $this->builder->method('POST') |
| 576 | ->service('buyin.institutePidEdit') | 576 | ->service('buyin.institutePidEdit') |
| @@ -581,7 +581,7 @@ class Buyin extends Request implements BuyinInterface | @@ -581,7 +581,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 581 | /** | 581 | /** |
| 582 | * @inheritDoc | 582 | * @inheritDoc |
| 583 | */ | 583 | */ |
| 584 | - function buyinInstitutePidDel(array $params) | 584 | + function buyinInstitutePidDel(array $params = []) |
| 585 | { | 585 | { |
| 586 | $this->builder->method('POST') | 586 | $this->builder->method('POST') |
| 587 | ->service('buyin.institutePidDel') | 587 | ->service('buyin.institutePidDel') |
| @@ -592,7 +592,7 @@ class Buyin extends Request implements BuyinInterface | @@ -592,7 +592,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 592 | /** | 592 | /** |
| 593 | * @inheritDoc | 593 | * @inheritDoc |
| 594 | */ | 594 | */ |
| 595 | - function buyinLiveShareMaterial(array $params) | 595 | + function buyinLiveShareMaterial(array $params = []) |
| 596 | { | 596 | { |
| 597 | $this->builder->method('POST') | 597 | $this->builder->method('POST') |
| 598 | ->service('buyin.liveShareMaterial') | 598 | ->service('buyin.liveShareMaterial') |
| @@ -603,7 +603,7 @@ class Buyin extends Request implements BuyinInterface | @@ -603,7 +603,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 603 | /** | 603 | /** |
| 604 | * @inheritDoc | 604 | * @inheritDoc |
| 605 | */ | 605 | */ |
| 606 | - function buyinDistributionLiveProductList(array $params) | 606 | + function buyinDistributionLiveProductList(array $params = []) |
| 607 | { | 607 | { |
| 608 | $this->builder->method('POST') | 608 | $this->builder->method('POST') |
| 609 | ->service('buyin.distributionLiveProductList') | 609 | ->service('buyin.distributionLiveProductList') |
| @@ -614,7 +614,7 @@ class Buyin extends Request implements BuyinInterface | @@ -614,7 +614,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 614 | /** | 614 | /** |
| 615 | * @inheritDoc | 615 | * @inheritDoc |
| 616 | */ | 616 | */ |
| 617 | - function buyinInstituteLiveShare(array $params) | 617 | + function buyinInstituteLiveShare(array $params = []) |
| 618 | { | 618 | { |
| 619 | $this->builder->method('POST') | 619 | $this->builder->method('POST') |
| 620 | ->service('buyin.instituteLiveShare') | 620 | ->service('buyin.instituteLiveShare') |
| @@ -625,7 +625,7 @@ class Buyin extends Request implements BuyinInterface | @@ -625,7 +625,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 625 | /** | 625 | /** |
| 626 | * @inheritDoc | 626 | * @inheritDoc |
| 627 | */ | 627 | */ |
| 628 | - function buyinInstituteOrderAds(array $params) | 628 | + function buyinInstituteOrderAds(array $params = []) |
| 629 | { | 629 | { |
| 630 | $this->builder->method('POST') | 630 | $this->builder->method('POST') |
| 631 | ->service('buyin.instituteOrderAds') | 631 | ->service('buyin.instituteOrderAds') |
| @@ -636,7 +636,7 @@ class Buyin extends Request implements BuyinInterface | @@ -636,7 +636,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 636 | /** | 636 | /** |
| 637 | * @inheritDoc | 637 | * @inheritDoc |
| 638 | */ | 638 | */ |
| 639 | - function buyinKolOrderAds(array $params) | 639 | + function buyinKolOrderAds(array $params = []) |
| 640 | { | 640 | { |
| 641 | $this->builder->method('POST') | 641 | $this->builder->method('POST') |
| 642 | ->service('buyin.kolOrderAds') | 642 | ->service('buyin.kolOrderAds') |
| @@ -647,7 +647,7 @@ class Buyin extends Request implements BuyinInterface | @@ -647,7 +647,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 647 | /** | 647 | /** |
| 648 | * @inheritDoc | 648 | * @inheritDoc |
| 649 | */ | 649 | */ |
| 650 | - function buyinShopPidMemberCreate(array $params) | 650 | + function buyinShopPidMemberCreate(array $params = []) |
| 651 | { | 651 | { |
| 652 | $this->builder->method('POST') | 652 | $this->builder->method('POST') |
| 653 | ->service('buyin.shopPidMemberCreate') | 653 | ->service('buyin.shopPidMemberCreate') |
| @@ -658,7 +658,7 @@ class Buyin extends Request implements BuyinInterface | @@ -658,7 +658,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 658 | /** | 658 | /** |
| 659 | * @inheritDoc | 659 | * @inheritDoc |
| 660 | */ | 660 | */ |
| 661 | - function buyinKolLiveShare(array $params) | 661 | + function buyinKolLiveShare(array $params = []) |
| 662 | { | 662 | { |
| 663 | $this->builder->method('POST') | 663 | $this->builder->method('POST') |
| 664 | ->service('buyin.kolLiveShare') | 664 | ->service('buyin.kolLiveShare') |
| @@ -669,7 +669,7 @@ class Buyin extends Request implements BuyinInterface | @@ -669,7 +669,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 669 | /** | 669 | /** |
| 670 | * @inheritDoc | 670 | * @inheritDoc |
| 671 | */ | 671 | */ |
| 672 | - function buyinMHandleTrusteeshipApply(array $params) | 672 | + function buyinMHandleTrusteeshipApply(array $params = []) |
| 673 | { | 673 | { |
| 674 | $this->builder->method('POST') | 674 | $this->builder->method('POST') |
| 675 | ->service('buyin.mHandleTrusteeshipApply') | 675 | ->service('buyin.mHandleTrusteeshipApply') |
| @@ -680,7 +680,7 @@ class Buyin extends Request implements BuyinInterface | @@ -680,7 +680,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 680 | /** | 680 | /** |
| 681 | * @inheritDoc | 681 | * @inheritDoc |
| 682 | */ | 682 | */ |
| 683 | - function buyinColonel/trusteeshipList(array $params) | 683 | + function buyinColonel/trusteeshipList(array $params = []) |
| 684 | { | 684 | { |
| 685 | $this->builder->method('POST') | 685 | $this->builder->method('POST') |
| 686 | ->service('buyin.colonel/trusteeshipList') | 686 | ->service('buyin.colonel/trusteeshipList') |
| @@ -691,7 +691,7 @@ class Buyin extends Request implements BuyinInterface | @@ -691,7 +691,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 691 | /** | 691 | /** |
| 692 | * @inheritDoc | 692 | * @inheritDoc |
| 693 | */ | 693 | */ |
| 694 | - function buyinInstituteOrderPick(array $params) | 694 | + function buyinInstituteOrderPick(array $params = []) |
| 695 | { | 695 | { |
| 696 | $this->builder->method('POST') | 696 | $this->builder->method('POST') |
| 697 | ->service('buyin.instituteOrderPick') | 697 | ->service('buyin.instituteOrderPick') |
| @@ -702,7 +702,7 @@ class Buyin extends Request implements BuyinInterface | @@ -702,7 +702,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 702 | /** | 702 | /** |
| 703 | * @inheritDoc | 703 | * @inheritDoc |
| 704 | */ | 704 | */ |
| 705 | - function buyinInstituteLivePreviewShare(array $params) | 705 | + function buyinInstituteLivePreviewShare(array $params = []) |
| 706 | { | 706 | { |
| 707 | $this->builder->method('POST') | 707 | $this->builder->method('POST') |
| 708 | ->service('buyin.instituteLivePreviewShare') | 708 | ->service('buyin.instituteLivePreviewShare') |
| @@ -713,7 +713,7 @@ class Buyin extends Request implements BuyinInterface | @@ -713,7 +713,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 713 | /** | 713 | /** |
| 714 | * @inheritDoc | 714 | * @inheritDoc |
| 715 | */ | 715 | */ |
| 716 | - function buyinKolLivePreviewShare(array $params) | 716 | + function buyinKolLivePreviewShare(array $params = []) |
| 717 | { | 717 | { |
| 718 | $this->builder->method('POST') | 718 | $this->builder->method('POST') |
| 719 | ->service('buyin.kolLivePreviewShare') | 719 | ->service('buyin.kolLivePreviewShare') |
| @@ -724,7 +724,7 @@ class Buyin extends Request implements BuyinInterface | @@ -724,7 +724,7 @@ class Buyin extends Request implements BuyinInterface | ||
| 724 | /** | 724 | /** |
| 725 | * @inheritDoc | 725 | * @inheritDoc |
| 726 | */ | 726 | */ |
| 727 | - function buyinActivityShareConvert(array $params) | 727 | + function buyinActivityShareConvert(array $params = []) |
| 728 | { | 728 | { |
| 729 | $this->builder->method('POST') | 729 | $this->builder->method('POST') |
| 730 | ->service('buyin.activityShareConvert') | 730 | ->service('buyin.activityShareConvert') |
| 1 | <?php | 1 | <?php |
| 2 | namespace Lackoxygen\TiktokShop\Request\Buyin; | 2 | namespace Lackoxygen\TiktokShop\Request\Buyin; |
| 3 | 3 | ||
| 4 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 5 | + | ||
| 4 | /** | 6 | /** |
| 5 | * @note 精选联盟API | 7 | * @note 精选联盟API |
| 6 | */ | 8 | */ |
| @@ -12,7 +14,7 @@ interface BuyinInterface | @@ -12,7 +14,7 @@ interface BuyinInterface | ||
| 12 | * @param array $params | 14 | * @param array $params |
| 13 | * @return ResultSet | 15 | * @return ResultSet |
| 14 | */ | 16 | */ |
| 15 | - function buyinSimplePlan(array $params); | 17 | + function buyinSimplePlan(array $params = []); |
| 16 | 18 | ||
| 17 | /** | 19 | /** |
| 18 | * 商家可参与的团长活动查询接口 | 20 | * 商家可参与的团长活动查询接口 |
| @@ -20,7 +22,7 @@ interface BuyinInterface | @@ -20,7 +22,7 @@ interface BuyinInterface | ||
| 20 | * @param array $params | 22 | * @param array $params |
| 21 | * @return ResultSet | 23 | * @return ResultSet |
| 22 | */ | 24 | */ |
| 23 | - function buyinShopActivityList(array $params); | 25 | + function buyinShopActivityList(array $params = []); |
| 24 | 26 | ||
| 25 | /** | 27 | /** |
| 26 | * 商家侧获取团长活动详情 | 28 | * 商家侧获取团长活动详情 |
| @@ -28,7 +30,7 @@ interface BuyinInterface | @@ -28,7 +30,7 @@ interface BuyinInterface | ||
| 28 | * @param array $params | 30 | * @param array $params |
| 29 | * @return ResultSet | 31 | * @return ResultSet |
| 30 | */ | 32 | */ |
| 31 | - function buyinShopActivityDetail(array $params); | 33 | + function buyinShopActivityDetail(array $params = []); |
| 32 | 34 | ||
| 33 | /** | 35 | /** |
| 34 | * 商品团长活动提报接口 | 36 | * 商品团长活动提报接口 |
| @@ -36,7 +38,7 @@ interface BuyinInterface | @@ -36,7 +38,7 @@ interface BuyinInterface | ||
| 36 | * @param array $params | 38 | * @param array $params |
| 37 | * @return ResultSet | 39 | * @return ResultSet |
| 38 | */ | 40 | */ |
| 39 | - function buyinApplyActivities(array $params); | 41 | + function buyinApplyActivities(array $params = []); |
| 40 | 42 | ||
| 41 | /** | 43 | /** |
| 42 | * 延长推广待处理/已处理记录查询 | 44 | * 延长推广待处理/已处理记录查询 |
| @@ -44,7 +46,7 @@ interface BuyinInterface | @@ -44,7 +46,7 @@ interface BuyinInterface | ||
| 44 | * @param array $params | 46 | * @param array $params |
| 45 | * @return ResultSet | 47 | * @return ResultSet |
| 46 | */ | 48 | */ |
| 47 | - function buyinActivityProductExtendList(array $params); | 49 | + function buyinActivityProductExtendList(array $params = []); |
| 48 | 50 | ||
| 49 | /** | 51 | /** |
| 50 | * 商家处理团长活动商品的推广延期申请 | 52 | * 商家处理团长活动商品的推广延期申请 |
| @@ -52,7 +54,7 @@ interface BuyinInterface | @@ -52,7 +54,7 @@ interface BuyinInterface | ||
| 52 | * @param array $params | 54 | * @param array $params |
| 53 | * @return ResultSet | 55 | * @return ResultSet |
| 54 | */ | 56 | */ |
| 55 | - function buyinActivityProductExtendApprove(array $params); | 57 | + function buyinActivityProductExtendApprove(array $params = []); |
| 56 | 58 | ||
| 57 | /** | 59 | /** |
| 58 | * 创建/修改商品定向计划 | 60 | * 创建/修改商品定向计划 |
| @@ -60,7 +62,7 @@ interface BuyinInterface | @@ -60,7 +62,7 @@ interface BuyinInterface | ||
| 60 | * @param array $params | 62 | * @param array $params |
| 61 | * @return ResultSet | 63 | * @return ResultSet |
| 62 | */ | 64 | */ |
| 63 | - function buyinCreateOrUpdateOrienPlan(array $params); | 65 | + function buyinCreateOrUpdateOrienPlan(array $params = []); |
| 64 | 66 | ||
| 65 | /** | 67 | /** |
| 66 | * 商品定向计划查询 | 68 | * 商品定向计划查询 |
| @@ -68,7 +70,7 @@ interface BuyinInterface | @@ -68,7 +70,7 @@ interface BuyinInterface | ||
| 68 | * @param array $params | 70 | * @param array $params |
| 69 | * @return ResultSet | 71 | * @return ResultSet |
| 70 | */ | 72 | */ |
| 71 | - function buyinOrienPlanList(array $params); | 73 | + function buyinOrienPlanList(array $params = []); |
| 72 | 74 | ||
| 73 | /** | 75 | /** |
| 74 | * 商品定向计划管理 | 76 | * 商品定向计划管理 |
| @@ -76,7 +78,7 @@ interface BuyinInterface | @@ -76,7 +78,7 @@ interface BuyinInterface | ||
| 76 | * @param array $params | 78 | * @param array $params |
| 77 | * @return ResultSet | 79 | * @return ResultSet |
| 78 | */ | 80 | */ |
| 79 | - function buyinOrienPlanCtrl(array $params); | 81 | + function buyinOrienPlanCtrl(array $params = []); |
| 80 | 82 | ||
| 81 | /** | 83 | /** |
| 82 | * 查询定向计划作者列表 | 84 | * 查询定向计划作者列表 |
| @@ -84,7 +86,7 @@ interface BuyinInterface | @@ -84,7 +86,7 @@ interface BuyinInterface | ||
| 84 | * @param array $params | 86 | * @param array $params |
| 85 | * @return ResultSet | 87 | * @return ResultSet |
| 86 | */ | 88 | */ |
| 87 | - function buyinOrienPlanAuthors(array $params); | 89 | + function buyinOrienPlanAuthors(array $params = []); |
| 88 | 90 | ||
| 89 | /** | 91 | /** |
| 90 | * 向指定定向计划中添加达人 | 92 | * 向指定定向计划中添加达人 |
| @@ -92,7 +94,7 @@ interface BuyinInterface | @@ -92,7 +94,7 @@ interface BuyinInterface | ||
| 92 | * @param array $params | 94 | * @param array $params |
| 93 | * @return ResultSet | 95 | * @return ResultSet |
| 94 | */ | 96 | */ |
| 95 | - function buyinOrienPlanAuthorsAdd(array $params); | 97 | + function buyinOrienPlanAuthorsAdd(array $params = []); |
| 96 | 98 | ||
| 97 | /** | 99 | /** |
| 98 | * 定向计划达人申请审核 | 100 | * 定向计划达人申请审核 |
| @@ -100,7 +102,7 @@ interface BuyinInterface | @@ -100,7 +102,7 @@ interface BuyinInterface | ||
| 100 | * @param array $params | 102 | * @param array $params |
| 101 | * @return ResultSet | 103 | * @return ResultSet |
| 102 | */ | 104 | */ |
| 103 | - function buyinOrienPlanAudit(array $params); | 105 | + function buyinOrienPlanAudit(array $params = []); |
| 104 | 106 | ||
| 105 | /** | 107 | /** |
| 106 | * 创建/修改商品专属推广计划 | 108 | * 创建/修改商品专属推广计划 |
| @@ -108,7 +110,7 @@ interface BuyinInterface | @@ -108,7 +110,7 @@ interface BuyinInterface | ||
| 108 | * @param array $params | 110 | * @param array $params |
| 109 | * @return ResultSet | 111 | * @return ResultSet |
| 110 | */ | 112 | */ |
| 111 | - function buyinExclusivePlan(array $params); | 113 | + function buyinExclusivePlan(array $params = []); |
| 112 | 114 | ||
| 113 | /** | 115 | /** |
| 114 | * 店铺专属达人管理 | 116 | * 店铺专属达人管理 |
| @@ -116,7 +118,7 @@ interface BuyinInterface | @@ -116,7 +118,7 @@ interface BuyinInterface | ||
| 116 | * @param array $params | 118 | * @param array $params |
| 117 | * @return ResultSet | 119 | * @return ResultSet |
| 118 | */ | 120 | */ |
| 119 | - function buyinExclusivePlanAuthorOperate(array $params); | 121 | + function buyinExclusivePlanAuthorOperate(array $params = []); |
| 120 | 122 | ||
| 121 | /** | 123 | /** |
| 122 | * 团长活动创建/编辑接口 | 124 | * 团长活动创建/编辑接口 |
| @@ -124,7 +126,7 @@ interface BuyinInterface | @@ -124,7 +126,7 @@ interface BuyinInterface | ||
| 124 | * @param array $params | 126 | * @param array $params |
| 125 | * @return ResultSet | 127 | * @return ResultSet |
| 126 | */ | 128 | */ |
| 127 | - function allianceColonelActivityCreateOrUpdate(array $params); | 129 | + function allianceColonelActivityCreateOrUpdate(array $params = []); |
| 128 | 130 | ||
| 129 | /** | 131 | /** |
| 130 | * 创建活动时候可选择的类目接口 | 132 | * 创建活动时候可选择的类目接口 |
| @@ -132,7 +134,7 @@ interface BuyinInterface | @@ -132,7 +134,7 @@ interface BuyinInterface | ||
| 132 | * @param array $params | 134 | * @param array $params |
| 133 | * @return ResultSet | 135 | * @return ResultSet |
| 134 | */ | 136 | */ |
| 135 | - function allianceActivityProductCategoryList(array $params); | 137 | + function allianceActivityProductCategoryList(array $params = []); |
| 136 | 138 | ||
| 137 | /** | 139 | /** |
| 138 | * 团长活动查询接口 | 140 | * 团长活动查询接口 |
| @@ -140,7 +142,7 @@ interface BuyinInterface | @@ -140,7 +142,7 @@ interface BuyinInterface | ||
| 140 | * @param array $params | 142 | * @param array $params |
| 141 | * @return ResultSet | 143 | * @return ResultSet |
| 142 | */ | 144 | */ |
| 143 | - function allianceInstituteColonelActivityList(array $params); | 145 | + function allianceInstituteColonelActivityList(array $params = []); |
| 144 | 146 | ||
| 145 | /** | 147 | /** |
| 146 | * 专属团长活动删除接口(下线+删除) | 148 | * 专属团长活动删除接口(下线+删除) |
| @@ -148,7 +150,7 @@ interface BuyinInterface | @@ -148,7 +150,7 @@ interface BuyinInterface | ||
| 148 | * @param array $params | 150 | * @param array $params |
| 149 | * @return ResultSet | 151 | * @return ResultSet |
| 150 | */ | 152 | */ |
| 151 | - function allianceInstituteColonelActivityOperate(array $params); | 153 | + function allianceInstituteColonelActivityOperate(array $params = []); |
| 152 | 154 | ||
| 153 | /** | 155 | /** |
| 154 | * 活动商品查询接口 | 156 | * 活动商品查询接口 |
| @@ -156,7 +158,7 @@ interface BuyinInterface | @@ -156,7 +158,7 @@ interface BuyinInterface | ||
| 156 | * @param array $params | 158 | * @param array $params |
| 157 | * @return ResultSet | 159 | * @return ResultSet |
| 158 | */ | 160 | */ |
| 159 | - function allianceColonelActivityProduct(array $params); | 161 | + function allianceColonelActivityProduct(array $params = []); |
| 160 | 162 | ||
| 161 | /** | 163 | /** |
| 162 | * 专属团长活动商品审核接口 | 164 | * 专属团长活动商品审核接口 |
| @@ -164,7 +166,7 @@ interface BuyinInterface | @@ -164,7 +166,7 @@ interface BuyinInterface | ||
| 164 | * @param array $params | 166 | * @param array $params |
| 165 | * @return ResultSet | 167 | * @return ResultSet |
| 166 | */ | 168 | */ |
| 167 | - function allianceColonelActivityProductAudit(array $params); | 169 | + function allianceColonelActivityProductAudit(array $params = []); |
| 168 | 170 | ||
| 169 | /** | 171 | /** |
| 170 | * 查询团长活动特殊申请 | 172 | * 查询团长活动特殊申请 |
| @@ -172,7 +174,7 @@ interface BuyinInterface | @@ -172,7 +174,7 @@ interface BuyinInterface | ||
| 172 | * @param array $params | 174 | * @param array $params |
| 173 | * @return ResultSet | 175 | * @return ResultSet |
| 174 | */ | 176 | */ |
| 175 | - function buyinColonel/specialApplyList(array $params); | 177 | + function buyinColonel/specialApplyList(array $params = []); |
| 176 | 178 | ||
| 177 | /** | 179 | /** |
| 178 | * 专属团长活动商品延时接口 | 180 | * 专属团长活动商品延时接口 |
| @@ -180,7 +182,7 @@ interface BuyinInterface | @@ -180,7 +182,7 @@ interface BuyinInterface | ||
| 180 | * @param array $params | 182 | * @param array $params |
| 181 | * @return ResultSet | 183 | * @return ResultSet |
| 182 | */ | 184 | */ |
| 183 | - function allianceColonelActivityProductExtension(array $params); | 185 | + function allianceColonelActivityProductExtension(array $params = []); |
| 184 | 186 | ||
| 185 | /** | 187 | /** |
| 186 | * 团长活动特殊申请审核 | 188 | * 团长活动特殊申请审核 |
| @@ -188,7 +190,7 @@ interface BuyinInterface | @@ -188,7 +190,7 @@ interface BuyinInterface | ||
| 188 | * @param array $params | 190 | * @param array $params |
| 189 | * @return ResultSet | 191 | * @return ResultSet |
| 190 | */ | 192 | */ |
| 191 | - function buyinColonel/specialApplyDeal(array $params); | 193 | + function buyinColonel/specialApplyDeal(array $params = []); |
| 192 | 194 | ||
| 193 | /** | 195 | /** |
| 194 | * 团长可参与的二级团长活动查询接口 | 196 | * 团长可参与的二级团长活动查询接口 |
| @@ -196,7 +198,7 @@ interface BuyinInterface | @@ -196,7 +198,7 @@ interface BuyinInterface | ||
| 196 | * @param array $params | 198 | * @param array $params |
| 197 | * @return ResultSet | 199 | * @return ResultSet |
| 198 | */ | 200 | */ |
| 199 | - function buyinOriginColonelEnrollableActivityList(array $params); | 201 | + function buyinOriginColonelEnrollableActivityList(array $params = []); |
| 200 | 202 | ||
| 201 | /** | 203 | /** |
| 202 | * 获取团长活动详情 | 204 | * 获取团长活动详情 |
| @@ -204,7 +206,7 @@ interface BuyinInterface | @@ -204,7 +206,7 @@ interface BuyinInterface | ||
| 204 | * @param array $params | 206 | * @param array $params |
| 205 | * @return ResultSet | 207 | * @return ResultSet |
| 206 | */ | 208 | */ |
| 207 | - function buyinColonelActivityDetail(array $params); | 209 | + function buyinColonelActivityDetail(array $params = []); |
| 208 | 210 | ||
| 209 | /** | 211 | /** |
| 210 | * 团长获取可提报二级团长活动的商品列表 | 212 | * 团长获取可提报二级团长活动的商品列表 |
| @@ -212,7 +214,7 @@ interface BuyinInterface | @@ -212,7 +214,7 @@ interface BuyinInterface | ||
| 212 | * @param array $params | 214 | * @param array $params |
| 213 | * @return ResultSet | 215 | * @return ResultSet |
| 214 | */ | 216 | */ |
| 215 | - function buyinOriginColonelUnappliedProductList(array $params); | 217 | + function buyinOriginColonelUnappliedProductList(array $params = []); |
| 216 | 218 | ||
| 217 | /** | 219 | /** |
| 218 | * 团长报名二级团长活动 | 220 | * 团长报名二级团长活动 |
| @@ -220,7 +222,7 @@ interface BuyinInterface | @@ -220,7 +222,7 @@ interface BuyinInterface | ||
| 220 | * @param array $params | 222 | * @param array $params |
| 221 | * @return ResultSet | 223 | * @return ResultSet |
| 222 | */ | 224 | */ |
| 223 | - function buyinOriginColonelApplyActivities(array $params); | 225 | + function buyinOriginColonelApplyActivities(array $params = []); |
| 224 | 226 | ||
| 225 | /** | 227 | /** |
| 226 | * 一级团长查询提报活动商品 | 228 | * 一级团长查询提报活动商品 |
| @@ -228,7 +230,7 @@ interface BuyinInterface | @@ -228,7 +230,7 @@ interface BuyinInterface | ||
| 228 | * @param array $params | 230 | * @param array $params |
| 229 | * @return ResultSet | 231 | * @return ResultSet |
| 230 | */ | 232 | */ |
| 231 | - function buyinActivityProductList(array $params); | 233 | + function buyinActivityProductList(array $params = []); |
| 232 | 234 | ||
| 233 | /** | 235 | /** |
| 234 | * 一级团长取消活动提报申请接口 | 236 | * 一级团长取消活动提报申请接口 |
| @@ -236,7 +238,7 @@ interface BuyinInterface | @@ -236,7 +238,7 @@ interface BuyinInterface | ||
| 236 | * @param array $params | 238 | * @param array $params |
| 237 | * @return ResultSet | 239 | * @return ResultSet |
| 238 | */ | 240 | */ |
| 239 | - function buyinActivityProductCancel(array $params); | 241 | + function buyinActivityProductCancel(array $params = []); |
| 240 | 242 | ||
| 241 | /** | 243 | /** |
| 242 | * 检索精选联盟商品 | 244 | * 检索精选联盟商品 |
| @@ -244,7 +246,7 @@ interface BuyinInterface | @@ -244,7 +246,7 @@ interface BuyinInterface | ||
| 244 | * @param array $params | 246 | * @param array $params |
| 245 | * @return ResultSet | 247 | * @return ResultSet |
| 246 | */ | 248 | */ |
| 247 | - function allianceMaterialsProductsSearch(array $params); | 249 | + function allianceMaterialsProductsSearch(array $params = []); |
| 248 | 250 | ||
| 249 | /** | 251 | /** |
| 250 | * 商品推广 普通计划查询 | 252 | * 商品推广 普通计划查询 |
| @@ -252,7 +254,7 @@ interface BuyinInterface | @@ -252,7 +254,7 @@ interface BuyinInterface | ||
| 252 | * @param array $params | 254 | * @param array $params |
| 253 | * @return ResultSet | 255 | * @return ResultSet |
| 254 | */ | 256 | */ |
| 255 | - function buyinSimplePlanList(array $params); | 257 | + function buyinSimplePlanList(array $params = []); |
| 256 | 258 | ||
| 257 | /** | 259 | /** |
| 258 | * 批量查询推广商品详情 | 260 | * 批量查询推广商品详情 |
| @@ -260,7 +262,7 @@ interface BuyinInterface | @@ -260,7 +262,7 @@ interface BuyinInterface | ||
| 260 | * @param array $params | 262 | * @param array $params |
| 261 | * @return ResultSet | 263 | * @return ResultSet |
| 262 | */ | 264 | */ |
| 263 | - function allianceMaterialsProductsDetails(array $params); | 265 | + function allianceMaterialsProductsDetails(array $params = []); |
| 264 | 266 | ||
| 265 | /** | 267 | /** |
| 266 | * 查询商品 SKU | 268 | * 查询商品 SKU |
| @@ -268,7 +270,7 @@ interface BuyinInterface | @@ -268,7 +270,7 @@ interface BuyinInterface | ||
| 268 | * @param array $params | 270 | * @param array $params |
| 269 | * @return ResultSet | 271 | * @return ResultSet |
| 270 | */ | 272 | */ |
| 271 | - function buyinProductSkus(array $params); | 273 | + function buyinProductSkus(array $params = []); |
| 272 | 274 | ||
| 273 | /** | 275 | /** |
| 274 | * 类目查询 | 276 | * 类目查询 |
| @@ -276,7 +278,7 @@ interface BuyinInterface | @@ -276,7 +278,7 @@ interface BuyinInterface | ||
| 276 | * @param array $params | 278 | * @param array $params |
| 277 | * @return ResultSet | 279 | * @return ResultSet |
| 278 | */ | 280 | */ |
| 279 | - function allianceMaterialsProductCategory(array $params); | 281 | + function allianceMaterialsProductCategory(array $params = []); |
| 280 | 282 | ||
| 281 | /** | 283 | /** |
| 282 | * 商品状态查询 | 284 | * 商品状态查询 |
| @@ -284,7 +286,7 @@ interface BuyinInterface | @@ -284,7 +286,7 @@ interface BuyinInterface | ||
| 284 | * @param array $params | 286 | * @param array $params |
| 285 | * @return ResultSet | 287 | * @return ResultSet |
| 286 | */ | 288 | */ |
| 287 | - function buyinMaterialsProductStatus(array $params); | 289 | + function buyinMaterialsProductStatus(array $params = []); |
| 288 | 290 | ||
| 289 | /** | 291 | /** |
| 290 | * 检索精选联盟商品,需达人授权 | 292 | * 检索精选联盟商品,需达人授权 |
| @@ -292,7 +294,7 @@ interface BuyinInterface | @@ -292,7 +294,7 @@ interface BuyinInterface | ||
| 292 | * @param array $params | 294 | * @param array $params |
| 293 | * @return ResultSet | 295 | * @return ResultSet |
| 294 | */ | 296 | */ |
| 295 | - function buyinKolMaterialsProductsSearch(array $params); | 297 | + function buyinKolMaterialsProductsSearch(array $params = []); |
| 296 | 298 | ||
| 297 | /** | 299 | /** |
| 298 | * 查询达人视角商品详情 | 300 | * 查询达人视角商品详情 |
| @@ -300,7 +302,7 @@ interface BuyinInterface | @@ -300,7 +302,7 @@ interface BuyinInterface | ||
| 300 | * @param array $params | 302 | * @param array $params |
| 301 | * @return ResultSet | 303 | * @return ResultSet |
| 302 | */ | 304 | */ |
| 303 | - function buyinKolMaterialsProductsDetails(array $params); | 305 | + function buyinKolMaterialsProductsDetails(array $params = []); |
| 304 | 306 | ||
| 305 | /** | 307 | /** |
| 306 | * 【即将下线】查询机构联盟订单 | 308 | * 【即将下线】查询机构联盟订单 |
| @@ -308,7 +310,7 @@ interface BuyinInterface | @@ -308,7 +310,7 @@ interface BuyinInterface | ||
| 308 | * @param array $params | 310 | * @param array $params |
| 309 | * @return ResultSet | 311 | * @return ResultSet |
| 310 | */ | 312 | */ |
| 311 | - function buyinQueryInstituteOrders(array $params); | 313 | + function buyinQueryInstituteOrders(array $params = []); |
| 312 | 314 | ||
| 313 | /** | 315 | /** |
| 314 | * 查询MCN机构订单 | 316 | * 查询MCN机构订单 |
| @@ -316,7 +318,7 @@ interface BuyinInterface | @@ -316,7 +318,7 @@ interface BuyinInterface | ||
| 316 | * @param array $params | 318 | * @param array $params |
| 317 | * @return ResultSet | 319 | * @return ResultSet |
| 318 | */ | 320 | */ |
| 319 | - function buyinInstituteOrderMCN(array $params); | 321 | + function buyinInstituteOrderMCN(array $params = []); |
| 320 | 322 | ||
| 321 | /** | 323 | /** |
| 322 | * 机构查询团长订单 | 324 | * 机构查询团长订单 |
| @@ -324,7 +326,7 @@ interface BuyinInterface | @@ -324,7 +326,7 @@ interface BuyinInterface | ||
| 324 | * @param array $params | 326 | * @param array $params |
| 325 | * @return ResultSet | 327 | * @return ResultSet |
| 326 | */ | 328 | */ |
| 327 | - function buyinInstituteOrderColonel(array $params); | 329 | + function buyinInstituteOrderColonel(array $params = []); |
| 328 | 330 | ||
| 329 | /** | 331 | /** |
| 330 | * 商品选品来源转链 | 332 | * 商品选品来源转链 |
| @@ -332,7 +334,7 @@ interface BuyinInterface | @@ -332,7 +334,7 @@ interface BuyinInterface | ||
| 332 | * @param array $params | 334 | * @param array $params |
| 333 | * @return ResultSet | 335 | * @return ResultSet |
| 334 | */ | 336 | */ |
| 335 | - function buyinInstPickSourceConvert(array $params); | 337 | + function buyinInstPickSourceConvert(array $params = []); |
| 336 | 338 | ||
| 337 | /** | 339 | /** |
| 338 | * 机构选品GMV查询接口 | 340 | * 机构选品GMV查询接口 |
| @@ -340,7 +342,7 @@ interface BuyinInterface | @@ -340,7 +342,7 @@ interface BuyinInterface | ||
| 340 | * @param array $params | 342 | * @param array $params |
| 341 | * @return ResultSet | 343 | * @return ResultSet |
| 342 | */ | 344 | */ |
| 343 | - function buyinInstGmv(array $params); | 345 | + function buyinInstGmv(array $params = []); |
| 344 | 346 | ||
| 345 | /** | 347 | /** |
| 346 | * 机构选品GMV明细查询接口 | 348 | * 机构选品GMV明细查询接口 |
| @@ -348,7 +350,7 @@ interface BuyinInterface | @@ -348,7 +350,7 @@ interface BuyinInterface | ||
| 348 | * @param array $params | 350 | * @param array $params |
| 349 | * @return ResultSet | 351 | * @return ResultSet |
| 350 | */ | 352 | */ |
| 351 | - function buyinInstGmvDetail(array $params); | 353 | + function buyinInstGmvDetail(array $params = []); |
| 352 | 354 | ||
| 353 | /** | 355 | /** |
| 354 | * 达人PID创建 | 356 | * 达人PID创建 |
| @@ -356,7 +358,7 @@ interface BuyinInterface | @@ -356,7 +358,7 @@ interface BuyinInterface | ||
| 356 | * @param array $params | 358 | * @param array $params |
| 357 | * @return ResultSet | 359 | * @return ResultSet |
| 358 | */ | 360 | */ |
| 359 | - function buyinKolPidCreate(array $params); | 361 | + function buyinKolPidCreate(array $params = []); |
| 360 | 362 | ||
| 361 | /** | 363 | /** |
| 362 | * 达人PID查询接口 | 364 | * 达人PID查询接口 |
| @@ -364,7 +366,7 @@ interface BuyinInterface | @@ -364,7 +366,7 @@ interface BuyinInterface | ||
| 364 | * @param array $params | 366 | * @param array $params |
| 365 | * @return ResultSet | 367 | * @return ResultSet |
| 366 | */ | 368 | */ |
| 367 | - function buyinKolPidList(array $params); | 369 | + function buyinKolPidList(array $params = []); |
| 368 | 370 | ||
| 369 | /** | 371 | /** |
| 370 | * 达人PID 编辑 | 372 | * 达人PID 编辑 |
| @@ -372,7 +374,7 @@ interface BuyinInterface | @@ -372,7 +374,7 @@ interface BuyinInterface | ||
| 372 | * @param array $params | 374 | * @param array $params |
| 373 | * @return ResultSet | 375 | * @return ResultSet |
| 374 | */ | 376 | */ |
| 375 | - function buyinKolPidEdit(array $params); | 377 | + function buyinKolPidEdit(array $params = []); |
| 376 | 378 | ||
| 377 | /** | 379 | /** |
| 378 | * 达人PID删除 | 380 | * 达人PID删除 |
| @@ -380,7 +382,7 @@ interface BuyinInterface | @@ -380,7 +382,7 @@ interface BuyinInterface | ||
| 380 | * @param array $params | 382 | * @param array $params |
| 381 | * @return ResultSet | 383 | * @return ResultSet |
| 382 | */ | 384 | */ |
| 383 | - function buyinKolPidDel(array $params); | 385 | + function buyinKolPidDel(array $params = []); |
| 384 | 386 | ||
| 385 | /** | 387 | /** |
| 386 | * 商品口令转商品解析 | 388 | * 商品口令转商品解析 |
| @@ -388,7 +390,7 @@ interface BuyinInterface | @@ -388,7 +390,7 @@ interface BuyinInterface | ||
| 388 | * @param array $params | 390 | * @param array $params |
| 389 | * @return ResultSet | 391 | * @return ResultSet |
| 390 | */ | 392 | */ |
| 391 | - function buyinShareCommandParse(array $params); | 393 | + function buyinShareCommandParse(array $params = []); |
| 392 | 394 | ||
| 393 | /** | 395 | /** |
| 394 | * 达人商品分销转链 | 396 | * 达人商品分销转链 |
| @@ -396,7 +398,7 @@ interface BuyinInterface | @@ -396,7 +398,7 @@ interface BuyinInterface | ||
| 396 | * @param array $params | 398 | * @param array $params |
| 397 | * @return ResultSet | 399 | * @return ResultSet |
| 398 | */ | 400 | */ |
| 399 | - function buyinKolProductShare(array $params); | 401 | + function buyinKolProductShare(array $params = []); |
| 400 | 402 | ||
| 401 | /** | 403 | /** |
| 402 | * 机构PID创建 | 404 | * 机构PID创建 |
| @@ -404,7 +406,7 @@ interface BuyinInterface | @@ -404,7 +406,7 @@ interface BuyinInterface | ||
| 404 | * @param array $params | 406 | * @param array $params |
| 405 | * @return ResultSet | 407 | * @return ResultSet |
| 406 | */ | 408 | */ |
| 407 | - function buyinInstitutePidCreate(array $params); | 409 | + function buyinInstitutePidCreate(array $params = []); |
| 408 | 410 | ||
| 409 | /** | 411 | /** |
| 410 | * 机构PID查询接口 | 412 | * 机构PID查询接口 |
| @@ -412,7 +414,7 @@ interface BuyinInterface | @@ -412,7 +414,7 @@ interface BuyinInterface | ||
| 412 | * @param array $params | 414 | * @param array $params |
| 413 | * @return ResultSet | 415 | * @return ResultSet |
| 414 | */ | 416 | */ |
| 415 | - function buyinInstitutePidList(array $params); | 417 | + function buyinInstitutePidList(array $params = []); |
| 416 | 418 | ||
| 417 | /** | 419 | /** |
| 418 | * 机构PID 编辑 | 420 | * 机构PID 编辑 |
| @@ -420,7 +422,7 @@ interface BuyinInterface | @@ -420,7 +422,7 @@ interface BuyinInterface | ||
| 420 | * @param array $params | 422 | * @param array $params |
| 421 | * @return ResultSet | 423 | * @return ResultSet |
| 422 | */ | 424 | */ |
| 423 | - function buyinInstitutePidEdit(array $params); | 425 | + function buyinInstitutePidEdit(array $params = []); |
| 424 | 426 | ||
| 425 | /** | 427 | /** |
| 426 | * 机构PID删除 | 428 | * 机构PID删除 |
| @@ -428,7 +430,7 @@ interface BuyinInterface | @@ -428,7 +430,7 @@ interface BuyinInterface | ||
| 428 | * @param array $params | 430 | * @param array $params |
| 429 | * @return ResultSet | 431 | * @return ResultSet |
| 430 | */ | 432 | */ |
| 431 | - function buyinInstitutePidDel(array $params); | 433 | + function buyinInstitutePidDel(array $params = []); |
| 432 | 434 | ||
| 433 | /** | 435 | /** |
| 434 | * 直播间分销物料查询 | 436 | * 直播间分销物料查询 |
| @@ -436,7 +438,7 @@ interface BuyinInterface | @@ -436,7 +438,7 @@ interface BuyinInterface | ||
| 436 | * @param array $params | 438 | * @param array $params |
| 437 | * @return ResultSet | 439 | * @return ResultSet |
| 438 | */ | 440 | */ |
| 439 | - function buyinLiveShareMaterial(array $params); | 441 | + function buyinLiveShareMaterial(array $params = []); |
| 440 | 442 | ||
| 441 | /** | 443 | /** |
| 442 | * 分销直播间商品列表 | 444 | * 分销直播间商品列表 |
| @@ -444,7 +446,7 @@ interface BuyinInterface | @@ -444,7 +446,7 @@ interface BuyinInterface | ||
| 444 | * @param array $params | 446 | * @param array $params |
| 445 | * @return ResultSet | 447 | * @return ResultSet |
| 446 | */ | 448 | */ |
| 447 | - function buyinDistributionLiveProductList(array $params); | 449 | + function buyinDistributionLiveProductList(array $params = []); |
| 448 | 450 | ||
| 449 | /** | 451 | /** |
| 450 | * 机构获取达人直播间分享链接 | 452 | * 机构获取达人直播间分享链接 |
| @@ -452,7 +454,7 @@ interface BuyinInterface | @@ -452,7 +454,7 @@ interface BuyinInterface | ||
| 452 | * @param array $params | 454 | * @param array $params |
| 453 | * @return ResultSet | 455 | * @return ResultSet |
| 454 | */ | 456 | */ |
| 455 | - function buyinInstituteLiveShare(array $params); | 457 | + function buyinInstituteLiveShare(array $params = []); |
| 456 | 458 | ||
| 457 | /** | 459 | /** |
| 458 | * 查询抖客直播间分销订单 | 460 | * 查询抖客直播间分销订单 |
| @@ -460,7 +462,7 @@ interface BuyinInterface | @@ -460,7 +462,7 @@ interface BuyinInterface | ||
| 460 | * @param array $params | 462 | * @param array $params |
| 461 | * @return ResultSet | 463 | * @return ResultSet |
| 462 | */ | 464 | */ |
| 463 | - function buyinInstituteOrderAds(array $params); | 465 | + function buyinInstituteOrderAds(array $params = []); |
| 464 | 466 | ||
| 465 | /** | 467 | /** |
| 466 | * 查询达人的直播间分销、商品分销、活动页分销订单 | 468 | * 查询达人的直播间分销、商品分销、活动页分销订单 |
| @@ -468,7 +470,7 @@ interface BuyinInterface | @@ -468,7 +470,7 @@ interface BuyinInterface | ||
| 468 | * @param array $params | 470 | * @param array $params |
| 469 | * @return ResultSet | 471 | * @return ResultSet |
| 470 | */ | 472 | */ |
| 471 | - function buyinKolOrderAds(array $params); | 473 | + function buyinKolOrderAds(array $params = []); |
| 472 | 474 | ||
| 473 | /** | 475 | /** |
| 474 | * 店铺会员绑定渠道关系创建 | 476 | * 店铺会员绑定渠道关系创建 |
| @@ -476,7 +478,7 @@ interface BuyinInterface | @@ -476,7 +478,7 @@ interface BuyinInterface | ||
| 476 | * @param array $params | 478 | * @param array $params |
| 477 | * @return ResultSet | 479 | * @return ResultSet |
| 478 | */ | 480 | */ |
| 479 | - function buyinShopPidMemberCreate(array $params); | 481 | + function buyinShopPidMemberCreate(array $params = []); |
| 480 | 482 | ||
| 481 | /** | 483 | /** |
| 482 | * 获取达人直播间分享链接 | 484 | * 获取达人直播间分享链接 |
| @@ -484,7 +486,7 @@ interface BuyinInterface | @@ -484,7 +486,7 @@ interface BuyinInterface | ||
| 484 | * @param array $params | 486 | * @param array $params |
| 485 | * @return ResultSet | 487 | * @return ResultSet |
| 486 | */ | 488 | */ |
| 487 | - function buyinKolLiveShare(array $params); | 489 | + function buyinKolLiveShare(array $params = []); |
| 488 | 490 | ||
| 489 | /** | 491 | /** |
| 490 | * 团长托管商品审核 | 492 | * 团长托管商品审核 |
| @@ -492,7 +494,7 @@ interface BuyinInterface | @@ -492,7 +494,7 @@ interface BuyinInterface | ||
| 492 | * @param array $params | 494 | * @param array $params |
| 493 | * @return ResultSet | 495 | * @return ResultSet |
| 494 | */ | 496 | */ |
| 495 | - function buyinMHandleTrusteeshipApply(array $params); | 497 | + function buyinMHandleTrusteeshipApply(array $params = []); |
| 496 | 498 | ||
| 497 | /** | 499 | /** |
| 498 | * 团长托管商品查询 | 500 | * 团长托管商品查询 |
| @@ -500,7 +502,7 @@ interface BuyinInterface | @@ -500,7 +502,7 @@ interface BuyinInterface | ||
| 500 | * @param array $params | 502 | * @param array $params |
| 501 | * @return ResultSet | 503 | * @return ResultSet |
| 502 | */ | 504 | */ |
| 503 | - function buyinColonel/trusteeshipList(array $params); | 505 | + function buyinColonel/trusteeshipList(array $params = []); |
| 504 | 506 | ||
| 505 | /** | 507 | /** |
| 506 | * 选品订单明细查询接口 | 508 | * 选品订单明细查询接口 |
| @@ -508,7 +510,7 @@ interface BuyinInterface | @@ -508,7 +510,7 @@ interface BuyinInterface | ||
| 508 | * @param array $params | 510 | * @param array $params |
| 509 | * @return ResultSet | 511 | * @return ResultSet |
| 510 | */ | 512 | */ |
| 511 | - function buyinInstituteOrderPick(array $params); | 513 | + function buyinInstituteOrderPick(array $params = []); |
| 512 | 514 | ||
| 513 | /** | 515 | /** |
| 514 | * 机构直播预告转链 | 516 | * 机构直播预告转链 |
| @@ -516,7 +518,7 @@ interface BuyinInterface | @@ -516,7 +518,7 @@ interface BuyinInterface | ||
| 516 | * @param array $params | 518 | * @param array $params |
| 517 | * @return ResultSet | 519 | * @return ResultSet |
| 518 | */ | 520 | */ |
| 519 | - function buyinInstituteLivePreviewShare(array $params); | 521 | + function buyinInstituteLivePreviewShare(array $params = []); |
| 520 | 522 | ||
| 521 | /** | 523 | /** |
| 522 | * 达人直播预告转链 | 524 | * 达人直播预告转链 |
| @@ -524,7 +526,7 @@ interface BuyinInterface | @@ -524,7 +526,7 @@ interface BuyinInterface | ||
| 524 | * @param array $params | 526 | * @param array $params |
| 525 | * @return ResultSet | 527 | * @return ResultSet |
| 526 | */ | 528 | */ |
| 527 | - function buyinKolLivePreviewShare(array $params); | 529 | + function buyinKolLivePreviewShare(array $params = []); |
| 528 | 530 | ||
| 529 | /** | 531 | /** |
| 530 | * 活动页转链接口 | 532 | * 活动页转链接口 |
| @@ -532,5 +534,5 @@ interface BuyinInterface | @@ -532,5 +534,5 @@ interface BuyinInterface | ||
| 532 | * @param array $params | 534 | * @param array $params |
| 533 | * @return ResultSet | 535 | * @return ResultSet |
| 534 | */ | 536 | */ |
| 535 | - function buyinActivityShareConvert(array $params); | 537 | + function buyinActivityShareConvert(array $params = []); |
| 536 | } | 538 | } |
| @@ -9,7 +9,7 @@ class Coupons extends Request implements CouponsInterface | @@ -9,7 +9,7 @@ class Coupons extends Request implements CouponsInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function couponsCancelVerify(array $params) | 12 | + public function couponsCancelVerify(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('coupons.cancelVerify') | 15 | ->service('coupons.cancelVerify') |
| @@ -20,7 +20,7 @@ class Coupons extends Request implements CouponsInterface | @@ -20,7 +20,7 @@ class Coupons extends Request implements CouponsInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function couponsAbandon(array $params) | 23 | + public function couponsAbandon(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('coupons.abandon') | 26 | ->service('coupons.abandon') |
| @@ -31,7 +31,7 @@ class Coupons extends Request implements CouponsInterface | @@ -31,7 +31,7 @@ class Coupons extends Request implements CouponsInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function couponsSyncV2(array $params) | 34 | + public function couponsSyncV2(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('coupons.syncV2') | 37 | ->service('coupons.syncV2') |
| @@ -42,7 +42,7 @@ class Coupons extends Request implements CouponsInterface | @@ -42,7 +42,7 @@ class Coupons extends Request implements CouponsInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function couponsVerifyV2(array $params) | 45 | + public function couponsVerifyV2(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('coupons.verifyV2') | 48 | ->service('coupons.verifyV2') |
| @@ -53,7 +53,7 @@ class Coupons extends Request implements CouponsInterface | @@ -53,7 +53,7 @@ class Coupons extends Request implements CouponsInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function couponsCertVerifyUpdate(array $params) | 56 | + public function couponsCertVerifyUpdate(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('coupons.certVerifyUpdate') | 59 | ->service('coupons.certVerifyUpdate') |
| @@ -64,7 +64,7 @@ class Coupons extends Request implements CouponsInterface | @@ -64,7 +64,7 @@ class Coupons extends Request implements CouponsInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function orderSettle(array $params) | 67 | + public function orderSettle(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('order.settle') | 70 | ->service('order.settle') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Coupons; | 3 | namespace Lackoxygen\TiktokShop\Request\Coupons; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 卡券API | 8 | * @note 卡券API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface CouponsInterface | @@ -13,7 +15,7 @@ interface CouponsInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function couponsCancelVerify(array $params); | 18 | + public function couponsCancelVerify(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 卡券废弃接口 | 21 | * 卡券废弃接口 |
| @@ -21,7 +23,7 @@ interface CouponsInterface | @@ -21,7 +23,7 @@ interface CouponsInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function couponsAbandon(array $params); | 26 | + public function couponsAbandon(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 卡券同步 | 29 | * 卡券同步 |
| @@ -29,7 +31,7 @@ interface CouponsInterface | @@ -29,7 +31,7 @@ interface CouponsInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function couponsSyncV2(array $params); | 34 | + public function couponsSyncV2(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 卡券核销接口V2版本 | 37 | * 卡券核销接口V2版本 |
| @@ -37,7 +39,7 @@ interface CouponsInterface | @@ -37,7 +39,7 @@ interface CouponsInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function couponsVerifyV2(array $params); | 42 | + public function couponsVerifyV2(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 卡券核销次数更新 | 45 | * 卡券核销次数更新 |
| @@ -45,7 +47,7 @@ interface CouponsInterface | @@ -45,7 +47,7 @@ interface CouponsInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function couponsCertVerifyUpdate(array $params); | 50 | + public function couponsCertVerifyUpdate(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 三方卡券列表查询 | 53 | * 三方卡券列表查询 |
| @@ -53,5 +55,5 @@ interface CouponsInterface | @@ -53,5 +55,5 @@ interface CouponsInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function orderSettle(array $params); | 58 | + public function orderSettle(array $params = []); |
| 57 | } | 59 | } |
| @@ -9,7 +9,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -9,7 +9,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function dutyFreeOrderList(array $params) | 12 | + public function dutyFreeOrderList(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('dutyFree.orderList') | 15 | ->service('dutyFree.orderList') |
| @@ -20,7 +20,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -20,7 +20,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function crossborderStockTaking(array $params) | 23 | + public function crossborderStockTaking(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('crossborder.stockTaking') | 26 | ->service('crossborder.stockTaking') |
| @@ -31,7 +31,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -31,7 +31,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function crossborderStockTransform(array $params) | 34 | + public function crossborderStockTransform(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('crossborder.stockTransform') | 37 | ->service('crossborder.stockTransform') |
| @@ -42,7 +42,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -42,7 +42,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function crossborderOrderInterception(array $params) | 45 | + public function crossborderOrderInterception(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('crossborder.OrderInterception') | 48 | ->service('crossborder.OrderInterception') |
| @@ -53,7 +53,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -53,7 +53,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function crossborderTakingLogisticsInfo(array $params) | 56 | + public function crossborderTakingLogisticsInfo(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('crossborder.takingLogisticsInfo') | 59 | ->service('crossborder.takingLogisticsInfo') |
| @@ -64,7 +64,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -64,7 +64,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function crossborderWarehouseInOutboundEvent(array $params) | 67 | + public function crossborderWarehouseInOutboundEvent(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('crossborder.warehouseInOutboundEvent') | 70 | ->service('crossborder.warehouseInOutboundEvent') |
| @@ -75,7 +75,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -75,7 +75,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function crossBorderGetTradeOrderStatus(array $params) | 78 | + public function crossBorderGetTradeOrderStatus(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('crossBorder.getTradeOrderStatus') | 81 | ->service('crossBorder.getTradeOrderStatus') |
| @@ -86,7 +86,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -86,7 +86,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - public function crossBorderCustomsTaxInfo(array $params) | 89 | + public function crossBorderCustomsTaxInfo(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('crossBorder.customsTaxInfo') | 92 | ->service('crossBorder.customsTaxInfo') |
| @@ -97,7 +97,7 @@ class Crossborder extends Request implements CrossborderInterface | @@ -97,7 +97,7 @@ class Crossborder extends Request implements CrossborderInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - public function dutyFreeOrderConfirm(array $params) | 100 | + public function dutyFreeOrderConfirm(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('dutyFree.orderConfirm') | 103 | ->service('dutyFree.orderConfirm') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Crossborder; | 3 | namespace Lackoxygen\TiktokShop\Request\Crossborder; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 跨境API | 8 | * @note 跨境API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface CrossborderInterface | @@ -13,7 +15,7 @@ interface CrossborderInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function dutyFreeOrderList(array $params); | 18 | + public function dutyFreeOrderList(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 库存盘点回告 | 21 | * 库存盘点回告 |
| @@ -21,7 +23,7 @@ interface CrossborderInterface | @@ -21,7 +23,7 @@ interface CrossborderInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function crossborderStockTaking(array $params); | 26 | + public function crossborderStockTaking(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 库存类型变动回告 | 29 | * 库存类型变动回告 |
| @@ -29,7 +31,7 @@ interface CrossborderInterface | @@ -29,7 +31,7 @@ interface CrossborderInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function crossborderStockTransform(array $params); | 34 | + public function crossborderStockTransform(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 服务商锁单结果回告 | 37 | * 服务商锁单结果回告 |
| @@ -37,7 +39,7 @@ interface CrossborderInterface | @@ -37,7 +39,7 @@ interface CrossborderInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function crossborderOrderInterception(array $params); | 42 | + public function crossborderOrderInterception(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 运单信息回告 | 45 | * 运单信息回告 |
| @@ -45,7 +47,7 @@ interface CrossborderInterface | @@ -45,7 +47,7 @@ interface CrossborderInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function crossborderTakingLogisticsInfo(array $params); | 50 | + public function crossborderTakingLogisticsInfo(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 入库和提货出库回告 | 53 | * 入库和提货出库回告 |
| @@ -53,7 +55,7 @@ interface CrossborderInterface | @@ -53,7 +55,7 @@ interface CrossborderInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function crossborderWarehouseInOutboundEvent(array $params); | 58 | + public function crossborderWarehouseInOutboundEvent(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 获取交易订单状态 | 61 | * 获取交易订单状态 |
| @@ -61,7 +63,7 @@ interface CrossborderInterface | @@ -61,7 +63,7 @@ interface CrossborderInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function crossBorderGetTradeOrderStatus(array $params); | 66 | + public function crossBorderGetTradeOrderStatus(array $params = []); |
| 65 | 67 | ||
| 66 | /** | 68 | /** |
| 67 | * 服务商回告海关税费 | 69 | * 服务商回告海关税费 |
| @@ -69,7 +71,7 @@ interface CrossborderInterface | @@ -69,7 +71,7 @@ interface CrossborderInterface | ||
| 69 | * @param array $params | 71 | * @param array $params |
| 70 | * @return ResultSet | 72 | * @return ResultSet |
| 71 | */ | 73 | */ |
| 72 | - public function crossBorderCustomsTaxInfo(array $params); | 74 | + public function crossBorderCustomsTaxInfo(array $params = []); |
| 73 | 75 | ||
| 74 | /** | 76 | /** |
| 75 | * 商家接单 | 77 | * 商家接单 |
| @@ -77,5 +79,5 @@ interface CrossborderInterface | @@ -77,5 +79,5 @@ interface CrossborderInterface | ||
| 77 | * @param array $params | 79 | * @param array $params |
| 78 | * @return ResultSet | 80 | * @return ResultSet |
| 79 | */ | 81 | */ |
| 80 | - public function dutyFreeOrderConfirm(array $params); | 82 | + public function dutyFreeOrderConfirm(array $params = []); |
| 81 | } | 83 | } |
| @@ -9,7 +9,7 @@ class Iop extends Request implements IopInterface | @@ -9,7 +9,7 @@ class Iop extends Request implements IopInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function iopOrderList(array $params) | 12 | + public function iopOrderList(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('iop.orderList') | 15 | ->service('iop.orderList') |
| @@ -20,7 +20,7 @@ class Iop extends Request implements IopInterface | @@ -20,7 +20,7 @@ class Iop extends Request implements IopInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function iopWaybillGet(array $params) | 23 | + public function iopWaybillGet(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('iop.waybillGet') | 26 | ->service('iop.waybillGet') |
| @@ -31,7 +31,7 @@ class Iop extends Request implements IopInterface | @@ -31,7 +31,7 @@ class Iop extends Request implements IopInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function iopWaybillCancel(array $params) | 34 | + public function iopWaybillCancel(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('iop.waybillCancel') | 37 | ->service('iop.waybillCancel') |
| @@ -42,7 +42,7 @@ class Iop extends Request implements IopInterface | @@ -42,7 +42,7 @@ class Iop extends Request implements IopInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function iopWaybillReturn(array $params) | 45 | + public function iopWaybillReturn(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('iop.waybillReturn') | 48 | ->service('iop.waybillReturn') |
| @@ -53,7 +53,7 @@ class Iop extends Request implements IopInterface | @@ -53,7 +53,7 @@ class Iop extends Request implements IopInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function iopWaybillUpdate(array $params) | 56 | + public function iopWaybillUpdate(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('iop.waybillUpdate') | 59 | ->service('iop.waybillUpdate') |
| @@ -64,7 +64,7 @@ class Iop extends Request implements IopInterface | @@ -64,7 +64,7 @@ class Iop extends Request implements IopInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function iopOrderInfo(array $params) | 67 | + public function iopOrderInfo(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('iop.orderInfo') | 70 | ->service('iop.orderInfo') |
| @@ -75,7 +75,7 @@ class Iop extends Request implements IopInterface | @@ -75,7 +75,7 @@ class Iop extends Request implements IopInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function iopSellerDistribute(array $params) | 78 | + public function iopSellerDistribute(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('iop.sellerDistribute') | 81 | ->service('iop.sellerDistribute') |
| @@ -86,7 +86,7 @@ class Iop extends Request implements IopInterface | @@ -86,7 +86,7 @@ class Iop extends Request implements IopInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - public function iopSellerOrderList(array $params) | 89 | + public function iopSellerOrderList(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('iop.sellerOrderList') | 92 | ->service('iop.sellerOrderList') |
| @@ -97,7 +97,7 @@ class Iop extends Request implements IopInterface | @@ -97,7 +97,7 @@ class Iop extends Request implements IopInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - public function iopGetSellerList(array $params) | 100 | + public function iopGetSellerList(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('iop.getSellerList') | 103 | ->service('iop.getSellerList') |
| @@ -108,7 +108,7 @@ class Iop extends Request implements IopInterface | @@ -108,7 +108,7 @@ class Iop extends Request implements IopInterface | ||
| 108 | /** | 108 | /** |
| 109 | * @inheritDoc | 109 | * @inheritDoc |
| 110 | */ | 110 | */ |
| 111 | - public function iopRoleGet(array $params) | 111 | + public function iopRoleGet(array $params = []) |
| 112 | { | 112 | { |
| 113 | $this->builder->method('POST') | 113 | $this->builder->method('POST') |
| 114 | ->service('iop.roleGet') | 114 | ->service('iop.roleGet') |
| @@ -119,7 +119,7 @@ class Iop extends Request implements IopInterface | @@ -119,7 +119,7 @@ class Iop extends Request implements IopInterface | ||
| 119 | /** | 119 | /** |
| 120 | * @inheritDoc | 120 | * @inheritDoc |
| 121 | */ | 121 | */ |
| 122 | - public function iopSellerCancleDistribute(array $params) | 122 | + public function iopSellerCancleDistribute(array $params = []) |
| 123 | { | 123 | { |
| 124 | $this->builder->method('POST') | 124 | $this->builder->method('POST') |
| 125 | ->service('iop.sellerCancleDistribute') | 125 | ->service('iop.sellerCancleDistribute') |
| @@ -130,7 +130,7 @@ class Iop extends Request implements IopInterface | @@ -130,7 +130,7 @@ class Iop extends Request implements IopInterface | ||
| 130 | /** | 130 | /** |
| 131 | * @inheritDoc | 131 | * @inheritDoc |
| 132 | */ | 132 | */ |
| 133 | - public function iopSellerSupplierList(array $params) | 133 | + public function iopSellerSupplierList(array $params = []) |
| 134 | { | 134 | { |
| 135 | $this->builder->method('POST') | 135 | $this->builder->method('POST') |
| 136 | ->service('iop.sellerSupplierList') | 136 | ->service('iop.sellerSupplierList') |
| @@ -141,7 +141,7 @@ class Iop extends Request implements IopInterface | @@ -141,7 +141,7 @@ class Iop extends Request implements IopInterface | ||
| 141 | /** | 141 | /** |
| 142 | * @inheritDoc | 142 | * @inheritDoc |
| 143 | */ | 143 | */ |
| 144 | - public function iopSellerOrderInfo(array $params) | 144 | + public function iopSellerOrderInfo(array $params = []) |
| 145 | { | 145 | { |
| 146 | $this->builder->method('POST') | 146 | $this->builder->method('POST') |
| 147 | ->service('iop.sellerOrderInfo') | 147 | ->service('iop.sellerOrderInfo') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Iop; | 3 | namespace Lackoxygen\TiktokShop\Request\Iop; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 代发API | 8 | * @note 代发API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface IopInterface | @@ -13,7 +15,7 @@ interface IopInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function iopOrderList(array $params); | 18 | + public function iopOrderList(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 【厂商】电子面单取号 | 21 | * 【厂商】电子面单取号 |
| @@ -21,7 +23,7 @@ interface IopInterface | @@ -21,7 +23,7 @@ interface IopInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function iopWaybillGet(array $params); | 26 | + public function iopWaybillGet(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 【厂商】取消电子面单 | 29 | * 【厂商】取消电子面单 |
| @@ -29,7 +31,7 @@ interface IopInterface | @@ -29,7 +31,7 @@ interface IopInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function iopWaybillCancel(array $params); | 34 | + public function iopWaybillCancel(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 【厂商】代发订单发货接口 | 37 | * 【厂商】代发订单发货接口 |
| @@ -37,7 +39,7 @@ interface IopInterface | @@ -37,7 +39,7 @@ interface IopInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function iopWaybillReturn(array $params); | 42 | + public function iopWaybillReturn(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 【厂商】代发订单更新发货接口 | 45 | * 【厂商】代发订单更新发货接口 |
| @@ -45,7 +47,7 @@ interface IopInterface | @@ -45,7 +47,7 @@ interface IopInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function iopWaybillUpdate(array $params); | 50 | + public function iopWaybillUpdate(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 【厂商】订单详情 | 53 | * 【厂商】订单详情 |
| @@ -53,7 +55,7 @@ interface IopInterface | @@ -53,7 +55,7 @@ interface IopInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function iopOrderInfo(array $params); | 58 | + public function iopOrderInfo(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 【商家】分配代发订单 | 61 | * 【商家】分配代发订单 |
| @@ -61,7 +63,7 @@ interface IopInterface | @@ -61,7 +63,7 @@ interface IopInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function iopSellerDistribute(array $params); | 66 | + public function iopSellerDistribute(array $params = []); |
| 65 | 67 | ||
| 66 | /** | 68 | /** |
| 67 | * 【商家】查看代发订单列表 | 69 | * 【商家】查看代发订单列表 |
| @@ -69,7 +71,7 @@ interface IopInterface | @@ -69,7 +71,7 @@ interface IopInterface | ||
| 69 | * @param array $params | 71 | * @param array $params |
| 70 | * @return ResultSet | 72 | * @return ResultSet |
| 71 | */ | 73 | */ |
| 72 | - public function iopSellerOrderList(array $params); | 74 | + public function iopSellerOrderList(array $params = []); |
| 73 | 75 | ||
| 74 | /** | 76 | /** |
| 75 | * 【厂家】查询商家列表 | 77 | * 【厂家】查询商家列表 |
| @@ -77,7 +79,7 @@ interface IopInterface | @@ -77,7 +79,7 @@ interface IopInterface | ||
| 77 | * @param array $params | 79 | * @param array $params |
| 78 | * @return ResultSet | 80 | * @return ResultSet |
| 79 | */ | 81 | */ |
| 80 | - public function iopGetSellerList(array $params); | 82 | + public function iopGetSellerList(array $params = []); |
| 81 | 83 | ||
| 82 | /** | 84 | /** |
| 83 | * 【厂商】查询店铺身份 | 85 | * 【厂商】查询店铺身份 |
| @@ -85,7 +87,7 @@ interface IopInterface | @@ -85,7 +87,7 @@ interface IopInterface | ||
| 85 | * @param array $params | 87 | * @param array $params |
| 86 | * @return ResultSet | 88 | * @return ResultSet |
| 87 | */ | 89 | */ |
| 88 | - public function iopRoleGet(array $params); | 90 | + public function iopRoleGet(array $params = []); |
| 89 | 91 | ||
| 90 | /** | 92 | /** |
| 91 | * 【商家】取消分配代发订单 | 93 | * 【商家】取消分配代发订单 |
| @@ -93,7 +95,7 @@ interface IopInterface | @@ -93,7 +95,7 @@ interface IopInterface | ||
| 93 | * @param array $params | 95 | * @param array $params |
| 94 | * @return ResultSet | 96 | * @return ResultSet |
| 95 | */ | 97 | */ |
| 96 | - public function iopSellerCancleDistribute(array $params); | 98 | + public function iopSellerCancleDistribute(array $params = []); |
| 97 | 99 | ||
| 98 | /** | 100 | /** |
| 99 | * 【商家】查询厂商管理列表 | 101 | * 【商家】查询厂商管理列表 |
| @@ -101,7 +103,7 @@ interface IopInterface | @@ -101,7 +103,7 @@ interface IopInterface | ||
| 101 | * @param array $params | 103 | * @param array $params |
| 102 | * @return ResultSet | 104 | * @return ResultSet |
| 103 | */ | 105 | */ |
| 104 | - public function iopSellerSupplierList(array $params); | 106 | + public function iopSellerSupplierList(array $params = []); |
| 105 | 107 | ||
| 106 | /** | 108 | /** |
| 107 | * 【商家】查看代发订单详情 | 109 | * 【商家】查看代发订单详情 |
| @@ -109,5 +111,5 @@ interface IopInterface | @@ -109,5 +111,5 @@ interface IopInterface | ||
| 109 | * @param array $params | 111 | * @param array $params |
| 110 | * @return ResultSet | 112 | * @return ResultSet |
| 111 | */ | 113 | */ |
| 112 | - public function iopSellerOrderInfo(array $params); | 114 | + public function iopSellerOrderInfo(array $params = []); |
| 113 | } | 115 | } |
| @@ -9,7 +9,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -9,7 +9,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function logisticsAppendSubOrder(array $params) | 12 | + public function logisticsAppendSubOrder(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('logistics.appendSubOrder') | 15 | ->service('logistics.appendSubOrder') |
| @@ -20,7 +20,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -20,7 +20,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function orderLogisticsCompanyList(array $params) | 23 | + public function orderLogisticsCompanyList(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('order.logisticsCompanyList') | 26 | ->service('order.logisticsCompanyList') |
| @@ -31,7 +31,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -31,7 +31,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function orderLogisticsAdd(array $params) | 34 | + public function orderLogisticsAdd(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('order.logisticsAdd') | 37 | ->service('order.logisticsAdd') |
| @@ -42,7 +42,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -42,7 +42,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function orderLogisticsEdit(array $params) | 45 | + public function orderLogisticsEdit(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('order.logisticsEdit') | 48 | ->service('order.logisticsEdit') |
| @@ -53,7 +53,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -53,7 +53,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function orderLogisticsEditByPack(array $params) | 56 | + public function orderLogisticsEditByPack(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('order.logisticsEditByPack') | 59 | ->service('order.logisticsEditByPack') |
| @@ -64,7 +64,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -64,7 +64,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function orderLogisticsAddMultiPack(array $params) | 67 | + public function orderLogisticsAddMultiPack(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('order.logisticsAddMultiPack') | 70 | ->service('order.logisticsAddMultiPack') |
| @@ -75,7 +75,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -75,7 +75,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function freightTemplateList(array $params) | 78 | + public function freightTemplateList(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('freightTemplate.list') | 81 | ->service('freightTemplate.list') |
| @@ -86,7 +86,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -86,7 +86,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - public function orderLogisticsAddSinglePack(array $params) | 89 | + public function orderLogisticsAddSinglePack(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('order.logisticsAddSinglePack') | 92 | ->service('order.logisticsAddSinglePack') |
| @@ -97,7 +97,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -97,7 +97,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - public function logisticsUpdateOrder(array $params) | 100 | + public function logisticsUpdateOrder(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('logistics.updateOrder') | 103 | ->service('logistics.updateOrder') |
| @@ -108,7 +108,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -108,7 +108,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 108 | /** | 108 | /** |
| 109 | * @inheritDoc | 109 | * @inheritDoc |
| 110 | */ | 110 | */ |
| 111 | - public function logisticsCancelOrder(array $params) | 111 | + public function logisticsCancelOrder(array $params = []) |
| 112 | { | 112 | { |
| 113 | $this->builder->method('POST') | 113 | $this->builder->method('POST') |
| 114 | ->service('logistics.cancelOrder') | 114 | ->service('logistics.cancelOrder') |
| @@ -119,7 +119,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -119,7 +119,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 119 | /** | 119 | /** |
| 120 | * @inheritDoc | 120 | * @inheritDoc |
| 121 | */ | 121 | */ |
| 122 | - public function crossBorderOrderOperate(array $params) | 122 | + public function crossBorderOrderOperate(array $params = []) |
| 123 | { | 123 | { |
| 124 | $this->builder->method('POST') | 124 | $this->builder->method('POST') |
| 125 | ->service('crossBorder.orderOperate') | 125 | ->service('crossBorder.orderOperate') |
| @@ -130,7 +130,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -130,7 +130,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 130 | /** | 130 | /** |
| 131 | * @inheritDoc | 131 | * @inheritDoc |
| 132 | */ | 132 | */ |
| 133 | - public function crossborderOrderCustomClearance(array $params) | 133 | + public function crossborderOrderCustomClearance(array $params = []) |
| 134 | { | 134 | { |
| 135 | $this->builder->method('POST') | 135 | $this->builder->method('POST') |
| 136 | ->service('crossborder.orderCustomClearance') | 136 | ->service('crossborder.orderCustomClearance') |
| @@ -141,7 +141,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -141,7 +141,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 141 | /** | 141 | /** |
| 142 | * @inheritDoc | 142 | * @inheritDoc |
| 143 | */ | 143 | */ |
| 144 | - public function crossborderOrderLogisticsTrace(array $params) | 144 | + public function crossborderOrderLogisticsTrace(array $params = []) |
| 145 | { | 145 | { |
| 146 | $this->builder->method('POST') | 146 | $this->builder->method('POST') |
| 147 | ->service('crossborder.orderLogisticsTrace') | 147 | ->service('crossborder.orderLogisticsTrace') |
| @@ -152,7 +152,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -152,7 +152,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 152 | /** | 152 | /** |
| 153 | * @inheritDoc | 153 | * @inheritDoc |
| 154 | */ | 154 | */ |
| 155 | - public function logisticsCustomTemplateList(array $params) | 155 | + public function logisticsCustomTemplateList(array $params = []) |
| 156 | { | 156 | { |
| 157 | $this->builder->method('POST') | 157 | $this->builder->method('POST') |
| 158 | ->service('logistics.customTemplateList') | 158 | ->service('logistics.customTemplateList') |
| @@ -163,7 +163,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -163,7 +163,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 163 | /** | 163 | /** |
| 164 | * @inheritDoc | 164 | * @inheritDoc |
| 165 | */ | 165 | */ |
| 166 | - public function logisticsGetOutRange(array $params) | 166 | + public function logisticsGetOutRange(array $params = []) |
| 167 | { | 167 | { |
| 168 | $this->builder->method('POST') | 168 | $this->builder->method('POST') |
| 169 | ->service('logistics.getOutRange') | 169 | ->service('logistics.getOutRange') |
| @@ -174,7 +174,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -174,7 +174,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 174 | /** | 174 | /** |
| 175 | * @inheritDoc | 175 | * @inheritDoc |
| 176 | */ | 176 | */ |
| 177 | - public function crossBorderOrderConfirm(array $params) | 177 | + public function crossBorderOrderConfirm(array $params = []) |
| 178 | { | 178 | { |
| 179 | $this->builder->method('POST') | 179 | $this->builder->method('POST') |
| 180 | ->service('crossBorder.orderConfirm') | 180 | ->service('crossBorder.orderConfirm') |
| @@ -185,7 +185,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -185,7 +185,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 185 | /** | 185 | /** |
| 186 | * @inheritDoc | 186 | * @inheritDoc |
| 187 | */ | 187 | */ |
| 188 | - public function logisticsTemplateList(array $params) | 188 | + public function logisticsTemplateList(array $params = []) |
| 189 | { | 189 | { |
| 190 | $this->builder->method('POST') | 190 | $this->builder->method('POST') |
| 191 | ->service('logistics.templateList') | 191 | ->service('logistics.templateList') |
| @@ -196,7 +196,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -196,7 +196,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 196 | /** | 196 | /** |
| 197 | * @inheritDoc | 197 | * @inheritDoc |
| 198 | */ | 198 | */ |
| 199 | - public function logisticsWaybillApply(array $params) | 199 | + public function logisticsWaybillApply(array $params = []) |
| 200 | { | 200 | { |
| 201 | $this->builder->method('POST') | 201 | $this->builder->method('POST') |
| 202 | ->service('logistics.waybillApply') | 202 | ->service('logistics.waybillApply') |
| @@ -207,7 +207,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -207,7 +207,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 207 | /** | 207 | /** |
| 208 | * @inheritDoc | 208 | * @inheritDoc |
| 209 | */ | 209 | */ |
| 210 | - public function logisticsDeliveryNotice(array $params) | 210 | + public function logisticsDeliveryNotice(array $params = []) |
| 211 | { | 211 | { |
| 212 | $this->builder->method('POST') | 212 | $this->builder->method('POST') |
| 213 | ->service('logistics.deliveryNotice') | 213 | ->service('logistics.deliveryNotice') |
| @@ -218,7 +218,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -218,7 +218,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 218 | /** | 218 | /** |
| 219 | * @inheritDoc | 219 | * @inheritDoc |
| 220 | */ | 220 | */ |
| 221 | - public function powerIsByteDancePackage(array $params) | 221 | + public function powerIsByteDancePackage(array $params = []) |
| 222 | { | 222 | { |
| 223 | $this->builder->method('POST') | 223 | $this->builder->method('POST') |
| 224 | ->service('power.isByteDancePackage') | 224 | ->service('power.isByteDancePackage') |
| @@ -229,7 +229,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -229,7 +229,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 229 | /** | 229 | /** |
| 230 | * @inheritDoc | 230 | * @inheritDoc |
| 231 | */ | 231 | */ |
| 232 | - public function powerPushFirstSortCode(array $params) | 232 | + public function powerPushFirstSortCode(array $params = []) |
| 233 | { | 233 | { |
| 234 | $this->builder->method('POST') | 234 | $this->builder->method('POST') |
| 235 | ->service('power.pushFirstSortCode') | 235 | ->service('power.pushFirstSortCode') |
| @@ -240,7 +240,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -240,7 +240,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 240 | /** | 240 | /** |
| 241 | * @inheritDoc | 241 | * @inheritDoc |
| 242 | */ | 242 | */ |
| 243 | - public function powerPushCustomSortCode(array $params) | 243 | + public function powerPushCustomSortCode(array $params = []) |
| 244 | { | 244 | { |
| 245 | $this->builder->method('POST') | 245 | $this->builder->method('POST') |
| 246 | ->service('power.pushCustomSortCode') | 246 | ->service('power.pushCustomSortCode') |
| @@ -251,7 +251,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -251,7 +251,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 251 | /** | 251 | /** |
| 252 | * @inheritDoc | 252 | * @inheritDoc |
| 253 | */ | 253 | */ |
| 254 | - public function powerPushThirdSortCode(array $params) | 254 | + public function powerPushThirdSortCode(array $params = []) |
| 255 | { | 255 | { |
| 256 | $this->builder->method('POST') | 256 | $this->builder->method('POST') |
| 257 | ->service('power.pushThirdSortCode') | 257 | ->service('power.pushThirdSortCode') |
| @@ -262,7 +262,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -262,7 +262,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 262 | /** | 262 | /** |
| 263 | * @inheritDoc | 263 | * @inheritDoc |
| 264 | */ | 264 | */ |
| 265 | - public function logisticsNewCreateOrder(array $params) | 265 | + public function logisticsNewCreateOrder(array $params = []) |
| 266 | { | 266 | { |
| 267 | $this->builder->method('POST') | 267 | $this->builder->method('POST') |
| 268 | ->service('logistics.newCreateOrder') | 268 | ->service('logistics.newCreateOrder') |
| @@ -273,7 +273,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -273,7 +273,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 273 | /** | 273 | /** |
| 274 | * @inheritDoc | 274 | * @inheritDoc |
| 275 | */ | 275 | */ |
| 276 | - public function logisticsQueryPackageRoute(array $params) | 276 | + public function logisticsQueryPackageRoute(array $params = []) |
| 277 | { | 277 | { |
| 278 | $this->builder->method('POST') | 278 | $this->builder->method('POST') |
| 279 | ->service('logistics.queryPackageRoute') | 279 | ->service('logistics.queryPackageRoute') |
| @@ -284,7 +284,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -284,7 +284,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 284 | /** | 284 | /** |
| 285 | * @inheritDoc | 285 | * @inheritDoc |
| 286 | */ | 286 | */ |
| 287 | - public function logisticsRegisterPackageRoute(array $params) | 287 | + public function logisticsRegisterPackageRoute(array $params = []) |
| 288 | { | 288 | { |
| 289 | $this->builder->method('POST') | 289 | $this->builder->method('POST') |
| 290 | ->service('logistics.registerPackageRoute') | 290 | ->service('logistics.registerPackageRoute') |
| @@ -295,7 +295,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -295,7 +295,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 295 | /** | 295 | /** |
| 296 | * @inheritDoc | 296 | * @inheritDoc |
| 297 | */ | 297 | */ |
| 298 | - public function powerUpdateCollectTime(array $params) | 298 | + public function powerUpdateCollectTime(array $params = []) |
| 299 | { | 299 | { |
| 300 | $this->builder->method('POST') | 300 | $this->builder->method('POST') |
| 301 | ->service('power.updateCollectTime') | 301 | ->service('power.updateCollectTime') |
| @@ -306,7 +306,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -306,7 +306,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 306 | /** | 306 | /** |
| 307 | * @inheritDoc | 307 | * @inheritDoc |
| 308 | */ | 308 | */ |
| 309 | - public function freightTemplateUpdate(array $params) | 309 | + public function freightTemplateUpdate(array $params = []) |
| 310 | { | 310 | { |
| 311 | $this->builder->method('POST') | 311 | $this->builder->method('POST') |
| 312 | ->service('freightTemplate.update') | 312 | ->service('freightTemplate.update') |
| @@ -317,7 +317,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -317,7 +317,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 317 | /** | 317 | /** |
| 318 | * @inheritDoc | 318 | * @inheritDoc |
| 319 | */ | 319 | */ |
| 320 | - public function freightTemplateCreate(array $params) | 320 | + public function freightTemplateCreate(array $params = []) |
| 321 | { | 321 | { |
| 322 | $this->builder->method('POST') | 322 | $this->builder->method('POST') |
| 323 | ->service('freightTemplate.create') | 323 | ->service('freightTemplate.create') |
| @@ -328,7 +328,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -328,7 +328,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 328 | /** | 328 | /** |
| 329 | * @inheritDoc | 329 | * @inheritDoc |
| 330 | */ | 330 | */ |
| 331 | - public function powerPickupCodeCallback(array $params) | 331 | + public function powerPickupCodeCallback(array $params = []) |
| 332 | { | 332 | { |
| 333 | $this->builder->method('POST') | 333 | $this->builder->method('POST') |
| 334 | ->service('power.pickupCodeCallback') | 334 | ->service('power.pickupCodeCallback') |
| @@ -339,7 +339,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -339,7 +339,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 339 | /** | 339 | /** |
| 340 | * @inheritDoc | 340 | * @inheritDoc |
| 341 | */ | 341 | */ |
| 342 | - public function logisticsGetDesignTemplateList(array $params) | 342 | + public function logisticsGetDesignTemplateList(array $params = []) |
| 343 | { | 343 | { |
| 344 | $this->builder->method('POST') | 344 | $this->builder->method('POST') |
| 345 | ->service('logistics.getDesignTemplateList') | 345 | ->service('logistics.getDesignTemplateList') |
| @@ -350,7 +350,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -350,7 +350,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 350 | /** | 350 | /** |
| 351 | * @inheritDoc | 351 | * @inheritDoc |
| 352 | */ | 352 | */ |
| 353 | - public function powerVirtualServicePushCallRecord(array $params) | 353 | + public function powerVirtualServicePushCallRecord(array $params = []) |
| 354 | { | 354 | { |
| 355 | $this->builder->method('POST') | 355 | $this->builder->method('POST') |
| 356 | ->service('power.virtualServicePushCallRecord') | 356 | ->service('power.virtualServicePushCallRecord') |
| @@ -361,7 +361,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -361,7 +361,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 361 | /** | 361 | /** |
| 362 | * @inheritDoc | 362 | * @inheritDoc |
| 363 | */ | 363 | */ |
| 364 | - public function logisticsGetCustomTemplateList(array $params) | 364 | + public function logisticsGetCustomTemplateList(array $params = []) |
| 365 | { | 365 | { |
| 366 | $this->builder->method('POST') | 366 | $this->builder->method('POST') |
| 367 | ->service('logistics.getCustomTemplateList') | 367 | ->service('logistics.getCustomTemplateList') |
| @@ -372,7 +372,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -372,7 +372,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 372 | /** | 372 | /** |
| 373 | * @inheritDoc | 373 | * @inheritDoc |
| 374 | */ | 374 | */ |
| 375 | - public function logisticsTrackNoRouteDetail(array $params) | 375 | + public function logisticsTrackNoRouteDetail(array $params = []) |
| 376 | { | 376 | { |
| 377 | $this->builder->method('POST') | 377 | $this->builder->method('POST') |
| 378 | ->service('logistics.trackNoRouteDetail') | 378 | ->service('logistics.trackNoRouteDetail') |
| @@ -383,7 +383,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -383,7 +383,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 383 | /** | 383 | /** |
| 384 | * @inheritDoc | 384 | * @inheritDoc |
| 385 | */ | 385 | */ |
| 386 | - public function dutyFreeOrderOperate(array $params) | 386 | + public function dutyFreeOrderOperate(array $params = []) |
| 387 | { | 387 | { |
| 388 | $this->builder->method('POST') | 388 | $this->builder->method('POST') |
| 389 | ->service('dutyFree.orderOperate') | 389 | ->service('dutyFree.orderOperate') |
| @@ -394,7 +394,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -394,7 +394,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 394 | /** | 394 | /** |
| 395 | * @inheritDoc | 395 | * @inheritDoc |
| 396 | */ | 396 | */ |
| 397 | - public function crossBorderOrderList(array $params) | 397 | + public function crossBorderOrderList(array $params = []) |
| 398 | { | 398 | { |
| 399 | $this->builder->method('POST') | 399 | $this->builder->method('POST') |
| 400 | ->service('crossBorder.orderList') | 400 | ->service('crossBorder.orderList') |
| @@ -405,7 +405,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -405,7 +405,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 405 | /** | 405 | /** |
| 406 | * @inheritDoc | 406 | * @inheritDoc |
| 407 | */ | 407 | */ |
| 408 | - public function logisticsListShopNetsite(array $params) | 408 | + public function logisticsListShopNetsite(array $params = []) |
| 409 | { | 409 | { |
| 410 | $this->builder->method('POST') | 410 | $this->builder->method('POST') |
| 411 | ->service('logistics.listShopNetsite') | 411 | ->service('logistics.listShopNetsite') |
| @@ -416,7 +416,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -416,7 +416,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 416 | /** | 416 | /** |
| 417 | * @inheritDoc | 417 | * @inheritDoc |
| 418 | */ | 418 | */ |
| 419 | - public function addressGetProvince(array $params) | 419 | + public function addressGetProvince(array $params = []) |
| 420 | { | 420 | { |
| 421 | $this->builder->method('POST') | 421 | $this->builder->method('POST') |
| 422 | ->service('address.getProvince') | 422 | ->service('address.getProvince') |
| @@ -427,7 +427,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -427,7 +427,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 427 | /** | 427 | /** |
| 428 | * @inheritDoc | 428 | * @inheritDoc |
| 429 | */ | 429 | */ |
| 430 | - public function addressGetAreasByProvince(array $params) | 430 | + public function addressGetAreasByProvince(array $params = []) |
| 431 | { | 431 | { |
| 432 | $this->builder->method('POST') | 432 | $this->builder->method('POST') |
| 433 | ->service('address.getAreasByProvince') | 433 | ->service('address.getAreasByProvince') |
| @@ -438,7 +438,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -438,7 +438,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 438 | /** | 438 | /** |
| 439 | * @inheritDoc | 439 | * @inheritDoc |
| 440 | */ | 440 | */ |
| 441 | - public function freightTemplateDetail(array $params) | 441 | + public function freightTemplateDetail(array $params = []) |
| 442 | { | 442 | { |
| 443 | $this->builder->method('POST') | 443 | $this->builder->method('POST') |
| 444 | ->service('freightTemplate.detail') | 444 | ->service('freightTemplate.detail') |
| @@ -449,7 +449,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -449,7 +449,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 449 | /** | 449 | /** |
| 450 | * @inheritDoc | 450 | * @inheritDoc |
| 451 | */ | 451 | */ |
| 452 | - public function crossBorderReceiveReceiptOfCustomsWayBill(array $params) | 452 | + public function crossBorderReceiveReceiptOfCustomsWayBill(array $params = []) |
| 453 | { | 453 | { |
| 454 | $this->builder->method('POST') | 454 | $this->builder->method('POST') |
| 455 | ->service('crossBorder.receiveReceiptOfCustomsWayBill') | 455 | ->service('crossBorder.receiveReceiptOfCustomsWayBill') |
| @@ -460,7 +460,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -460,7 +460,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 460 | /** | 460 | /** |
| 461 | * @inheritDoc | 461 | * @inheritDoc |
| 462 | */ | 462 | */ |
| 463 | - public function logisticsUpdateTerminalOrder(array $params) | 463 | + public function logisticsUpdateTerminalOrder(array $params = []) |
| 464 | { | 464 | { |
| 465 | $this->builder->method('POST') | 465 | $this->builder->method('POST') |
| 466 | ->service('logistics.updateTerminalOrder') | 466 | ->service('logistics.updateTerminalOrder') |
| @@ -471,7 +471,7 @@ class Logistics extends Request implements LogisticsInterface | @@ -471,7 +471,7 @@ class Logistics extends Request implements LogisticsInterface | ||
| 471 | /** | 471 | /** |
| 472 | * @inheritDoc | 472 | * @inheritDoc |
| 473 | */ | 473 | */ |
| 474 | - public function powerHandleVirtualTelConnect(array $params) | 474 | + public function powerHandleVirtualTelConnect(array $params = []) |
| 475 | { | 475 | { |
| 476 | $this->builder->method('POST') | 476 | $this->builder->method('POST') |
| 477 | ->service('power.HandleVirtualTelConnect') | 477 | ->service('power.HandleVirtualTelConnect') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Logistics; | 3 | namespace Lackoxygen\TiktokShop\Request\Logistics; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 物流发货API | 8 | * @note 物流发货API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface LogisticsInterface | @@ -13,7 +15,7 @@ interface LogisticsInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function logisticsAppendSubOrder(array $params); | 18 | + public function logisticsAppendSubOrder(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 获取快递公司列表 | 21 | * 获取快递公司列表 |
| @@ -21,7 +23,7 @@ interface LogisticsInterface | @@ -21,7 +23,7 @@ interface LogisticsInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function orderLogisticsCompanyList(array $params); | 26 | + public function orderLogisticsCompanyList(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 订单发货接口 | 29 | * 订单发货接口 |
| @@ -29,7 +31,7 @@ interface LogisticsInterface | @@ -29,7 +31,7 @@ interface LogisticsInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function orderLogisticsAdd(array $params); | 34 | + public function orderLogisticsAdd(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 修改发货物流 | 37 | * 修改发货物流 |
| @@ -37,7 +39,7 @@ interface LogisticsInterface | @@ -37,7 +39,7 @@ interface LogisticsInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function orderLogisticsEdit(array $params); | 42 | + public function orderLogisticsEdit(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 修改包裹里的物流信息 | 45 | * 修改包裹里的物流信息 |
| @@ -45,7 +47,7 @@ interface LogisticsInterface | @@ -45,7 +47,7 @@ interface LogisticsInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function orderLogisticsEditByPack(array $params); | 50 | + public function orderLogisticsEditByPack(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 一单多包发货接口 | 53 | * 一单多包发货接口 |
| @@ -53,7 +55,7 @@ interface LogisticsInterface | @@ -53,7 +55,7 @@ interface LogisticsInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function orderLogisticsAddMultiPack(array $params); | 58 | + public function orderLogisticsAddMultiPack(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 获取运费模板列表 | 61 | * 获取运费模板列表 |
| @@ -61,7 +63,7 @@ interface LogisticsInterface | @@ -61,7 +63,7 @@ interface LogisticsInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function freightTemplateList(array $params); | 66 | + public function freightTemplateList(array $params = []); |
| 65 | 67 | ||
| 66 | /** | 68 | /** |
| 67 | * 支持多个订单发同一个物流包裹 | 69 | * 支持多个订单发同一个物流包裹 |
| @@ -69,7 +71,7 @@ interface LogisticsInterface | @@ -69,7 +71,7 @@ interface LogisticsInterface | ||
| 69 | * @param array $params | 71 | * @param array $params |
| 70 | * @return ResultSet | 72 | * @return ResultSet |
| 71 | */ | 73 | */ |
| 72 | - public function orderLogisticsAddSinglePack(array $params); | 74 | + public function orderLogisticsAddSinglePack(array $params = []); |
| 73 | 75 | ||
| 74 | /** | 76 | /** |
| 75 | * 更新收件人信息 以及发件人名字联系方式信息,不支持顺丰速递面单信息更新 | 77 | * 更新收件人信息 以及发件人名字联系方式信息,不支持顺丰速递面单信息更新 |
| @@ -77,7 +79,7 @@ interface LogisticsInterface | @@ -77,7 +79,7 @@ interface LogisticsInterface | ||
| 77 | * @param array $params | 79 | * @param array $params |
| 78 | * @return ResultSet | 80 | * @return ResultSet |
| 79 | */ | 81 | */ |
| 80 | - public function logisticsUpdateOrder(array $params); | 82 | + public function logisticsUpdateOrder(array $params = []); |
| 81 | 83 | ||
| 82 | /** | 84 | /** |
| 83 | * 用于ISV/商家ERP系统 端发起取消已获取的电子面单号 | 85 | * 用于ISV/商家ERP系统 端发起取消已获取的电子面单号 |
| @@ -85,7 +87,7 @@ interface LogisticsInterface | @@ -85,7 +87,7 @@ interface LogisticsInterface | ||
| 85 | * @param array $params | 87 | * @param array $params |
| 86 | * @return ResultSet | 88 | * @return ResultSet |
| 87 | */ | 89 | */ |
| 88 | - public function logisticsCancelOrder(array $params); | 90 | + public function logisticsCancelOrder(array $params = []); |
| 89 | 91 | ||
| 90 | /** | 92 | /** |
| 91 | * 服务商回传仓储 | 93 | * 服务商回传仓储 |
| @@ -93,7 +95,7 @@ interface LogisticsInterface | @@ -93,7 +95,7 @@ interface LogisticsInterface | ||
| 93 | * @param array $params | 95 | * @param array $params |
| 94 | * @return ResultSet | 96 | * @return ResultSet |
| 95 | */ | 97 | */ |
| 96 | - public function crossBorderOrderOperate(array $params); | 98 | + public function crossBorderOrderOperate(array $params = []); |
| 97 | 99 | ||
| 98 | /** | 100 | /** |
| 99 | * 服务商回告清关状态 | 101 | * 服务商回告清关状态 |
| @@ -101,7 +103,7 @@ interface LogisticsInterface | @@ -101,7 +103,7 @@ interface LogisticsInterface | ||
| 101 | * @param array $params | 103 | * @param array $params |
| 102 | * @return ResultSet | 104 | * @return ResultSet |
| 103 | */ | 105 | */ |
| 104 | - public function crossborderOrderCustomClearance(array $params); | 106 | + public function crossborderOrderCustomClearance(array $params = []); |
| 105 | 107 | ||
| 106 | /** | 108 | /** |
| 107 | * 服务商回传国际干线作业节点 | 109 | * 服务商回传国际干线作业节点 |
| @@ -109,7 +111,7 @@ interface LogisticsInterface | @@ -109,7 +111,7 @@ interface LogisticsInterface | ||
| 109 | * @param array $params | 111 | * @param array $params |
| 110 | * @return ResultSet | 112 | * @return ResultSet |
| 111 | */ | 113 | */ |
| 112 | - public function crossborderOrderLogisticsTrace(array $params); | 114 | + public function crossborderOrderLogisticsTrace(array $params = []); |
| 113 | 115 | ||
| 114 | /** | 116 | /** |
| 115 | * 查询商家自定义区域数据 | 117 | * 查询商家自定义区域数据 |
| @@ -117,7 +119,7 @@ interface LogisticsInterface | @@ -117,7 +119,7 @@ interface LogisticsInterface | ||
| 117 | * @param array $params | 119 | * @param array $params |
| 118 | * @return ResultSet | 120 | * @return ResultSet |
| 119 | */ | 121 | */ |
| 120 | - public function logisticsCustomTemplateList(array $params); | 122 | + public function logisticsCustomTemplateList(array $params = []); |
| 121 | 123 | ||
| 122 | /** | 124 | /** |
| 123 | * 查询地址快递是否可以送达 | 125 | * 查询地址快递是否可以送达 |
| @@ -125,7 +127,7 @@ interface LogisticsInterface | @@ -125,7 +127,7 @@ interface LogisticsInterface | ||
| 125 | * @param array $params | 127 | * @param array $params |
| 126 | * @return ResultSet | 128 | * @return ResultSet |
| 127 | */ | 129 | */ |
| 128 | - public function logisticsGetOutRange(array $params); | 130 | + public function logisticsGetOutRange(array $params = []); |
| 129 | 131 | ||
| 130 | /** | 132 | /** |
| 131 | * 服务商接单 | 133 | * 服务商接单 |
| @@ -133,7 +135,7 @@ interface LogisticsInterface | @@ -133,7 +135,7 @@ interface LogisticsInterface | ||
| 133 | * @param array $params | 135 | * @param array $params |
| 134 | * @return ResultSet | 136 | * @return ResultSet |
| 135 | */ | 137 | */ |
| 136 | - public function crossBorderOrderConfirm(array $params); | 138 | + public function crossBorderOrderConfirm(array $params = []); |
| 137 | 139 | ||
| 138 | /** | 140 | /** |
| 139 | * 获取商家所有模版信息 | 141 | * 获取商家所有模版信息 |
| @@ -141,7 +143,7 @@ interface LogisticsInterface | @@ -141,7 +143,7 @@ interface LogisticsInterface | ||
| 141 | * @param array $params | 143 | * @param array $params |
| 142 | * @return ResultSet | 144 | * @return ResultSet |
| 143 | */ | 145 | */ |
| 144 | - public function logisticsTemplateList(array $params); | 146 | + public function logisticsTemplateList(array $params = []); |
| 145 | 147 | ||
| 146 | /** | 148 | /** |
| 147 | * 获取面单信息 | 149 | * 获取面单信息 |
| @@ -149,7 +151,7 @@ interface LogisticsInterface | @@ -149,7 +151,7 @@ interface LogisticsInterface | ||
| 149 | * @param array $params | 151 | * @param array $params |
| 150 | * @return ResultSet | 152 | * @return ResultSet |
| 151 | */ | 153 | */ |
| 152 | - public function logisticsWaybillApply(array $params); | 154 | + public function logisticsWaybillApply(array $params = []); |
| 153 | 155 | ||
| 154 | /** | 156 | /** |
| 155 | * 订单放行/回退 | 157 | * 订单放行/回退 |
| @@ -157,7 +159,7 @@ interface LogisticsInterface | @@ -157,7 +159,7 @@ interface LogisticsInterface | ||
| 157 | * @param array $params | 159 | * @param array $params |
| 158 | * @return ResultSet | 160 | * @return ResultSet |
| 159 | */ | 161 | */ |
| 160 | - public function logisticsDeliveryNotice(array $params); | 162 | + public function logisticsDeliveryNotice(array $params = []); |
| 161 | 163 | ||
| 162 | /** | 164 | /** |
| 163 | * 末端服务字节面单信息查询(仅用于兼容老物流网关) | 165 | * 末端服务字节面单信息查询(仅用于兼容老物流网关) |
| @@ -165,7 +167,7 @@ interface LogisticsInterface | @@ -165,7 +167,7 @@ interface LogisticsInterface | ||
| 165 | * @param array $params | 167 | * @param array $params |
| 166 | * @return ResultSet | 168 | * @return ResultSet |
| 167 | */ | 169 | */ |
| 168 | - public function powerIsByteDancePackage(array $params); | 170 | + public function powerIsByteDancePackage(array $params = []); |
| 169 | 171 | ||
| 170 | /** | 172 | /** |
| 171 | * 一段码推送(包含末端中心、集包地、大头笔)(仅用于兼容老物流网关) | 173 | * 一段码推送(包含末端中心、集包地、大头笔)(仅用于兼容老物流网关) |
| @@ -173,7 +175,7 @@ interface LogisticsInterface | @@ -173,7 +175,7 @@ interface LogisticsInterface | ||
| 173 | * @param array $params | 175 | * @param array $params |
| 174 | * @return ResultSet | 176 | * @return ResultSet |
| 175 | */ | 177 | */ |
| 176 | - public function powerPushFirstSortCode(array $params); | 178 | + public function powerPushFirstSortCode(array $params = []); |
| 177 | 179 | ||
| 178 | /** | 180 | /** |
| 179 | * 个性化集包编码推送(仅用于兼容老物流网关) | 181 | * 个性化集包编码推送(仅用于兼容老物流网关) |
| @@ -181,7 +183,7 @@ interface LogisticsInterface | @@ -181,7 +183,7 @@ interface LogisticsInterface | ||
| 181 | * @param array $params | 183 | * @param array $params |
| 182 | * @return ResultSet | 184 | * @return ResultSet |
| 183 | */ | 185 | */ |
| 184 | - public function powerPushCustomSortCode(array $params); | 186 | + public function powerPushCustomSortCode(array $params = []); |
| 185 | 187 | ||
| 186 | /** | 188 | /** |
| 187 | * 三段码推送(仅用于兼容老物流网关) | 189 | * 三段码推送(仅用于兼容老物流网关) |
| @@ -189,7 +191,7 @@ interface LogisticsInterface | @@ -189,7 +191,7 @@ interface LogisticsInterface | ||
| 189 | * @param array $params | 191 | * @param array $params |
| 190 | * @return ResultSet | 192 | * @return ResultSet |
| 191 | */ | 193 | */ |
| 192 | - public function powerPushThirdSortCode(array $params); | 194 | + public function powerPushThirdSortCode(array $params = []); |
| 193 | 195 | ||
| 194 | /** | 196 | /** |
| 195 | * 商家ERP/ISV 向字节电子面单系统获取单号和打印信息 | 197 | * 商家ERP/ISV 向字节电子面单系统获取单号和打印信息 |
| @@ -197,7 +199,7 @@ interface LogisticsInterface | @@ -197,7 +199,7 @@ interface LogisticsInterface | ||
| 197 | * @param array $params | 199 | * @param array $params |
| 198 | * @return ResultSet | 200 | * @return ResultSet |
| 199 | */ | 201 | */ |
| 200 | - public function logisticsNewCreateOrder(array $params); | 202 | + public function logisticsNewCreateOrder(array $params = []); |
| 201 | 203 | ||
| 202 | /** | 204 | /** |
| 203 | * isv轨迹查询 | 205 | * isv轨迹查询 |
| @@ -205,7 +207,7 @@ interface LogisticsInterface | @@ -205,7 +207,7 @@ interface LogisticsInterface | ||
| 205 | * @param array $params | 207 | * @param array $params |
| 206 | * @return ResultSet | 208 | * @return ResultSet |
| 207 | */ | 209 | */ |
| 208 | - public function logisticsQueryPackageRoute(array $params); | 210 | + public function logisticsQueryPackageRoute(array $params = []); |
| 209 | 211 | ||
| 210 | /** | 212 | /** |
| 211 | * isv轨迹订阅 | 213 | * isv轨迹订阅 |
| @@ -213,7 +215,7 @@ interface LogisticsInterface | @@ -213,7 +215,7 @@ interface LogisticsInterface | ||
| 213 | * @param array $params | 215 | * @param array $params |
| 214 | * @return ResultSet | 216 | * @return ResultSet |
| 215 | */ | 217 | */ |
| 216 | - public function logisticsRegisterPackageRoute(array $params); | 218 | + public function logisticsRegisterPackageRoute(array $params = []); |
| 217 | 219 | ||
| 218 | /** | 220 | /** |
| 219 | * 物流商推送改约时间 | 221 | * 物流商推送改约时间 |
| @@ -221,7 +223,7 @@ interface LogisticsInterface | @@ -221,7 +223,7 @@ interface LogisticsInterface | ||
| 221 | * @param array $params | 223 | * @param array $params |
| 222 | * @return ResultSet | 224 | * @return ResultSet |
| 223 | */ | 225 | */ |
| 224 | - public function powerUpdateCollectTime(array $params); | 226 | + public function powerUpdateCollectTime(array $params = []); |
| 225 | 227 | ||
| 226 | /** | 228 | /** |
| 227 | * 更新运费模板 | 229 | * 更新运费模板 |
| @@ -229,7 +231,7 @@ interface LogisticsInterface | @@ -229,7 +231,7 @@ interface LogisticsInterface | ||
| 229 | * @param array $params | 231 | * @param array $params |
| 230 | * @return ResultSet | 232 | * @return ResultSet |
| 231 | */ | 233 | */ |
| 232 | - public function freightTemplateUpdate(array $params); | 234 | + public function freightTemplateUpdate(array $params = []); |
| 233 | 235 | ||
| 234 | /** | 236 | /** |
| 235 | * 创建运费模板 | 237 | * 创建运费模板 |
| @@ -237,7 +239,7 @@ interface LogisticsInterface | @@ -237,7 +239,7 @@ interface LogisticsInterface | ||
| 237 | * @param array $params | 239 | * @param array $params |
| 238 | * @return ResultSet | 240 | * @return ResultSet |
| 239 | */ | 241 | */ |
| 240 | - public function freightTemplateCreate(array $params); | 242 | + public function freightTemplateCreate(array $params = []); |
| 241 | 243 | ||
| 242 | /** | 244 | /** |
| 243 | * 末端服务商回传取件码(仅用于兼容老物流网关) | 245 | * 末端服务商回传取件码(仅用于兼容老物流网关) |
| @@ -245,7 +247,7 @@ interface LogisticsInterface | @@ -245,7 +247,7 @@ interface LogisticsInterface | ||
| 245 | * @param array $params | 247 | * @param array $params |
| 246 | * @return ResultSet | 248 | * @return ResultSet |
| 247 | */ | 249 | */ |
| 248 | - public function powerPickupCodeCallback(array $params); | 250 | + public function powerPickupCodeCallback(array $params = []); |
| 249 | 251 | ||
| 250 | /** | 252 | /** |
| 251 | * 查询商家自定义模板(新版) | 253 | * 查询商家自定义模板(新版) |
| @@ -253,7 +255,7 @@ interface LogisticsInterface | @@ -253,7 +255,7 @@ interface LogisticsInterface | ||
| 253 | * @param array $params | 255 | * @param array $params |
| 254 | * @return ResultSet | 256 | * @return ResultSet |
| 255 | */ | 257 | */ |
| 256 | - public function logisticsGetDesignTemplateList(array $params); | 258 | + public function logisticsGetDesignTemplateList(array $params = []); |
| 257 | 259 | ||
| 258 | /** | 260 | /** |
| 259 | * 虚拟号服务商通话记录回传(仅用于兼容老物流网关) | 261 | * 虚拟号服务商通话记录回传(仅用于兼容老物流网关) |
| @@ -261,7 +263,7 @@ interface LogisticsInterface | @@ -261,7 +263,7 @@ interface LogisticsInterface | ||
| 261 | * @param array $params | 263 | * @param array $params |
| 262 | * @return ResultSet | 264 | * @return ResultSet |
| 263 | */ | 265 | */ |
| 264 | - public function powerVirtualServicePushCallRecord(array $params); | 266 | + public function powerVirtualServicePushCallRecord(array $params = []); |
| 265 | 267 | ||
| 266 | /** | 268 | /** |
| 267 | * 查询商家自定义区模板(新版) | 269 | * 查询商家自定义区模板(新版) |
| @@ -269,7 +271,7 @@ interface LogisticsInterface | @@ -269,7 +271,7 @@ interface LogisticsInterface | ||
| 269 | * @param array $params | 271 | * @param array $params |
| 270 | * @return ResultSet | 272 | * @return ResultSet |
| 271 | */ | 273 | */ |
| 272 | - public function logisticsGetCustomTemplateList(array $params); | 274 | + public function logisticsGetCustomTemplateList(array $params = []); |
| 273 | 275 | ||
| 274 | /** | 276 | /** |
| 275 | * 运单轨迹查询接口 | 277 | * 运单轨迹查询接口 |
| @@ -277,7 +279,7 @@ interface LogisticsInterface | @@ -277,7 +279,7 @@ interface LogisticsInterface | ||
| 277 | * @param array $params | 279 | * @param array $params |
| 278 | * @return ResultSet | 280 | * @return ResultSet |
| 279 | */ | 281 | */ |
| 280 | - public function logisticsTrackNoRouteDetail(array $params); | 282 | + public function logisticsTrackNoRouteDetail(array $params = []); |
| 281 | 283 | ||
| 282 | /** | 284 | /** |
| 283 | * 海南项目服务商回传实操节点 | 285 | * 海南项目服务商回传实操节点 |
| @@ -285,7 +287,7 @@ interface LogisticsInterface | @@ -285,7 +287,7 @@ interface LogisticsInterface | ||
| 285 | * @param array $params | 287 | * @param array $params |
| 286 | * @return ResultSet | 288 | * @return ResultSet |
| 287 | */ | 289 | */ |
| 288 | - public function dutyFreeOrderOperate(array $params); | 290 | + public function dutyFreeOrderOperate(array $params = []); |
| 289 | 291 | ||
| 290 | /** | 292 | /** |
| 291 | * 查询跨境订单列表 | 293 | * 查询跨境订单列表 |
| @@ -293,7 +295,7 @@ interface LogisticsInterface | @@ -293,7 +295,7 @@ interface LogisticsInterface | ||
| 293 | * @param array $params | 295 | * @param array $params |
| 294 | * @return ResultSet | 296 | * @return ResultSet |
| 295 | */ | 297 | */ |
| 296 | - public function crossBorderOrderList(array $params); | 298 | + public function crossBorderOrderList(array $params = []); |
| 297 | 299 | ||
| 298 | /** | 300 | /** |
| 299 | * 查询商家和物流商的订购关系以及物流单号使用情况 | 301 | * 查询商家和物流商的订购关系以及物流单号使用情况 |
| @@ -301,7 +303,7 @@ interface LogisticsInterface | @@ -301,7 +303,7 @@ interface LogisticsInterface | ||
| 301 | * @param array $params | 303 | * @param array $params |
| 302 | * @return ResultSet | 304 | * @return ResultSet |
| 303 | */ | 305 | */ |
| 304 | - public function logisticsListShopNetsite(array $params); | 306 | + public function logisticsListShopNetsite(array $params = []); |
| 305 | 307 | ||
| 306 | /** | 308 | /** |
| 307 | * 获取四级地址全量省份信息 | 309 | * 获取四级地址全量省份信息 |
| @@ -309,7 +311,7 @@ interface LogisticsInterface | @@ -309,7 +311,7 @@ interface LogisticsInterface | ||
| 309 | * @param array $params | 311 | * @param array $params |
| 310 | * @return ResultSet | 312 | * @return ResultSet |
| 311 | */ | 313 | */ |
| 312 | - public function addressGetProvince(array $params); | 314 | + public function addressGetProvince(array $params = []); |
| 313 | 315 | ||
| 314 | /** | 316 | /** |
| 315 | * 根据省获取全量四级地址 | 317 | * 根据省获取全量四级地址 |
| @@ -317,7 +319,7 @@ interface LogisticsInterface | @@ -317,7 +319,7 @@ interface LogisticsInterface | ||
| 317 | * @param array $params | 319 | * @param array $params |
| 318 | * @return ResultSet | 320 | * @return ResultSet |
| 319 | */ | 321 | */ |
| 320 | - public function addressGetAreasByProvince(array $params); | 322 | + public function addressGetAreasByProvince(array $params = []); |
| 321 | 323 | ||
| 322 | /** | 324 | /** |
| 323 | * 获取运费模板详情 | 325 | * 获取运费模板详情 |
| @@ -325,7 +327,7 @@ interface LogisticsInterface | @@ -325,7 +327,7 @@ interface LogisticsInterface | ||
| 325 | * @param array $params | 327 | * @param array $params |
| 326 | * @return ResultSet | 328 | * @return ResultSet |
| 327 | */ | 329 | */ |
| 328 | - public function freightTemplateDetail(array $params); | 330 | + public function freightTemplateDetail(array $params = []); |
| 329 | 331 | ||
| 330 | /** | 332 | /** |
| 331 | * 快递服务商将运单申报的回执回告至平台 | 333 | * 快递服务商将运单申报的回执回告至平台 |
| @@ -333,7 +335,7 @@ interface LogisticsInterface | @@ -333,7 +335,7 @@ interface LogisticsInterface | ||
| 333 | * @param array $params | 335 | * @param array $params |
| 334 | * @return ResultSet | 336 | * @return ResultSet |
| 335 | */ | 337 | */ |
| 336 | - public function crossBorderReceiveReceiptOfCustomsWayBill(array $params); | 338 | + public function crossBorderReceiveReceiptOfCustomsWayBill(array $params = []); |
| 337 | 339 | ||
| 338 | /** | 340 | /** |
| 339 | * 末端订单状态推送 | 341 | * 末端订单状态推送 |
| @@ -341,7 +343,7 @@ interface LogisticsInterface | @@ -341,7 +343,7 @@ interface LogisticsInterface | ||
| 341 | * @param array $params | 343 | * @param array $params |
| 342 | * @return ResultSet | 344 | * @return ResultSet |
| 343 | */ | 345 | */ |
| 344 | - public function logisticsUpdateTerminalOrder(array $params); | 346 | + public function logisticsUpdateTerminalOrder(array $params = []); |
| 345 | 347 | ||
| 346 | /** | 348 | /** |
| 347 | * 虚拟号服务商回传虚拟号接通事件 | 349 | * 虚拟号服务商回传虚拟号接通事件 |
| @@ -349,5 +351,5 @@ interface LogisticsInterface | @@ -349,5 +351,5 @@ interface LogisticsInterface | ||
| 349 | * @param array $params | 351 | * @param array $params |
| 350 | * @return ResultSet | 352 | * @return ResultSet |
| 351 | */ | 353 | */ |
| 352 | - public function powerHandleVirtualTelConnect(array $params); | 354 | + public function powerHandleVirtualTelConnect(array $params = []); |
| 353 | } | 355 | } |
| @@ -9,7 +9,7 @@ class Material extends Request implements MaterialInterface | @@ -9,7 +9,7 @@ class Material extends Request implements MaterialInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function materialCreateFolder(array $params) | 12 | + public function materialCreateFolder(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('material.createFolder') | 15 | ->service('material.createFolder') |
| @@ -20,7 +20,7 @@ class Material extends Request implements MaterialInterface | @@ -20,7 +20,7 @@ class Material extends Request implements MaterialInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function materialEditFolder(array $params) | 23 | + public function materialEditFolder(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('material.editFolder') | 26 | ->service('material.editFolder') |
| @@ -31,7 +31,7 @@ class Material extends Request implements MaterialInterface | @@ -31,7 +31,7 @@ class Material extends Request implements MaterialInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function materialMoveFolderToRecycleBin(array $params) | 34 | + public function materialMoveFolderToRecycleBin(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('material.moveFolderToRecycleBin') | 37 | ->service('material.moveFolderToRecycleBin') |
| @@ -42,7 +42,7 @@ class Material extends Request implements MaterialInterface | @@ -42,7 +42,7 @@ class Material extends Request implements MaterialInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function materialMoveMaterialToRecycleBin(array $params) | 45 | + public function materialMoveMaterialToRecycleBin(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('material.moveMaterialToRecycleBin') | 48 | ->service('material.moveMaterialToRecycleBin') |
| @@ -53,7 +53,7 @@ class Material extends Request implements MaterialInterface | @@ -53,7 +53,7 @@ class Material extends Request implements MaterialInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function materialRecoverMaterial(array $params) | 56 | + public function materialRecoverMaterial(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('material.recoverMaterial') | 59 | ->service('material.recoverMaterial') |
| @@ -64,7 +64,7 @@ class Material extends Request implements MaterialInterface | @@ -64,7 +64,7 @@ class Material extends Request implements MaterialInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function materialEditMaterial(array $params) | 67 | + public function materialEditMaterial(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('material.editMaterial') | 70 | ->service('material.editMaterial') |
| @@ -75,7 +75,7 @@ class Material extends Request implements MaterialInterface | @@ -75,7 +75,7 @@ class Material extends Request implements MaterialInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function materialBatchUploadVideoAsync(array $params) | 78 | + public function materialBatchUploadVideoAsync(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('material.batchUploadVideoAsync') | 81 | ->service('material.batchUploadVideoAsync') |
| @@ -86,7 +86,7 @@ class Material extends Request implements MaterialInterface | @@ -86,7 +86,7 @@ class Material extends Request implements MaterialInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - public function materialBatchUploadImageSync(array $params) | 89 | + public function materialBatchUploadImageSync(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('material.batchUploadImageSync') | 92 | ->service('material.batchUploadImageSync') |
| @@ -97,7 +97,7 @@ class Material extends Request implements MaterialInterface | @@ -97,7 +97,7 @@ class Material extends Request implements MaterialInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - public function materialGetFolderInfo(array $params) | 100 | + public function materialGetFolderInfo(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('material.getFolderInfo') | 103 | ->service('material.getFolderInfo') |
| @@ -108,7 +108,7 @@ class Material extends Request implements MaterialInterface | @@ -108,7 +108,7 @@ class Material extends Request implements MaterialInterface | ||
| 108 | /** | 108 | /** |
| 109 | * @inheritDoc | 109 | * @inheritDoc |
| 110 | */ | 110 | */ |
| 111 | - public function materialSearchFolder(array $params) | 111 | + public function materialSearchFolder(array $params = []) |
| 112 | { | 112 | { |
| 113 | $this->builder->method('POST') | 113 | $this->builder->method('POST') |
| 114 | ->service('material.searchFolder') | 114 | ->service('material.searchFolder') |
| @@ -119,18 +119,7 @@ class Material extends Request implements MaterialInterface | @@ -119,18 +119,7 @@ class Material extends Request implements MaterialInterface | ||
| 119 | /** | 119 | /** |
| 120 | * @inheritDoc | 120 | * @inheritDoc |
| 121 | */ | 121 | */ |
| 122 | - public function materialSearchMaterial(array $params) | ||
| 123 | - { | ||
| 124 | - $this->builder->method('POST') | ||
| 125 | - ->service('material.searchMaterial') | ||
| 126 | - ->path('/material/searchMaterial') | ||
| 127 | - ->params($params); | ||
| 128 | - } | ||
| 129 | - | ||
| 130 | - /** | ||
| 131 | - * @inheritDoc | ||
| 132 | - */ | ||
| 133 | - public function materialUploadVideoAsync(array $params) | 122 | + public function materialUploadVideoAsync(array $params = []) |
| 134 | { | 123 | { |
| 135 | $this->builder->method('POST') | 124 | $this->builder->method('POST') |
| 136 | ->service('material.uploadVideoAsync') | 125 | ->service('material.uploadVideoAsync') |
| @@ -141,7 +130,7 @@ class Material extends Request implements MaterialInterface | @@ -141,7 +130,7 @@ class Material extends Request implements MaterialInterface | ||
| 141 | /** | 130 | /** |
| 142 | * @inheritDoc | 131 | * @inheritDoc |
| 143 | */ | 132 | */ |
| 144 | - public function materialUploadImageSync(array $params) | 133 | + public function materialUploadImageSync(array $params = []) |
| 145 | { | 134 | { |
| 146 | $this->builder->method('POST') | 135 | $this->builder->method('POST') |
| 147 | ->service('material.uploadImageSync') | 136 | ->service('material.uploadImageSync') |
| @@ -152,7 +141,7 @@ class Material extends Request implements MaterialInterface | @@ -152,7 +141,7 @@ class Material extends Request implements MaterialInterface | ||
| 152 | /** | 141 | /** |
| 153 | * @inheritDoc | 142 | * @inheritDoc |
| 154 | */ | 143 | */ |
| 155 | - public function materialQueryMaterialDetail(array $params) | 144 | + public function materialQueryMaterialDetail(array $params = []) |
| 156 | { | 145 | { |
| 157 | $this->builder->method('POST') | 146 | $this->builder->method('POST') |
| 158 | ->service('material.queryMaterialDetail') | 147 | ->service('material.queryMaterialDetail') |
| @@ -163,7 +152,7 @@ class Material extends Request implements MaterialInterface | @@ -163,7 +152,7 @@ class Material extends Request implements MaterialInterface | ||
| 163 | /** | 152 | /** |
| 164 | * @inheritDoc | 153 | * @inheritDoc |
| 165 | */ | 154 | */ |
| 166 | - public function materialDeleteFolder(array $params) | 155 | + public function materialDeleteFolder(array $params = []) |
| 167 | { | 156 | { |
| 168 | $this->builder->method('POST') | 157 | $this->builder->method('POST') |
| 169 | ->service('material.deleteFolder') | 158 | ->service('material.deleteFolder') |
| @@ -174,7 +163,7 @@ class Material extends Request implements MaterialInterface | @@ -174,7 +163,7 @@ class Material extends Request implements MaterialInterface | ||
| 174 | /** | 163 | /** |
| 175 | * @inheritDoc | 164 | * @inheritDoc |
| 176 | */ | 165 | */ |
| 177 | - public function materialDeleteMaterial(array $params) | 166 | + public function materialDeleteMaterial(array $params = []) |
| 178 | { | 167 | { |
| 179 | $this->builder->method('POST') | 168 | $this->builder->method('POST') |
| 180 | ->service('material.deleteMaterial') | 169 | ->service('material.deleteMaterial') |
| @@ -185,7 +174,7 @@ class Material extends Request implements MaterialInterface | @@ -185,7 +174,7 @@ class Material extends Request implements MaterialInterface | ||
| 185 | /** | 174 | /** |
| 186 | * @inheritDoc | 175 | * @inheritDoc |
| 187 | */ | 176 | */ |
| 188 | - public function materialRecoverFolder(array $params) | 177 | + public function materialRecoverFolder(array $params = []) |
| 189 | { | 178 | { |
| 190 | $this->builder->method('POST') | 179 | $this->builder->method('POST') |
| 191 | ->service('material.recoverFolder') | 180 | ->service('material.recoverFolder') |
| @@ -196,7 +185,7 @@ class Material extends Request implements MaterialInterface | @@ -196,7 +185,7 @@ class Material extends Request implements MaterialInterface | ||
| 196 | /** | 185 | /** |
| 197 | * @inheritDoc | 186 | * @inheritDoc |
| 198 | */ | 187 | */ |
| 199 | - public function materialGetCapInfo(array $params) | 188 | + public function materialGetCapInfo(array $params = []) |
| 200 | { | 189 | { |
| 201 | $this->builder->method('POST') | 190 | $this->builder->method('POST') |
| 202 | ->service('material.get_cap_info') | 191 | ->service('material.get_cap_info') |
| @@ -207,7 +196,7 @@ class Material extends Request implements MaterialInterface | @@ -207,7 +196,7 @@ class Material extends Request implements MaterialInterface | ||
| 207 | /** | 196 | /** |
| 208 | * @inheritDoc | 197 | * @inheritDoc |
| 209 | */ | 198 | */ |
| 210 | - public function materialMGetPlayInfo(array $params) | 199 | + public function materialMGetPlayInfo(array $params = []) |
| 211 | { | 200 | { |
| 212 | $this->builder->method('POST') | 201 | $this->builder->method('POST') |
| 213 | ->service('material.mGetPlayInfo') | 202 | ->service('material.mGetPlayInfo') |
| @@ -218,7 +207,7 @@ class Material extends Request implements MaterialInterface | @@ -218,7 +207,7 @@ class Material extends Request implements MaterialInterface | ||
| 218 | /** | 207 | /** |
| 219 | * @inheritDoc | 208 | * @inheritDoc |
| 220 | */ | 209 | */ |
| 221 | - public function materialEasyShuttle(array $params) | 210 | + public function materialEasyShuttle(array $params = []) |
| 222 | { | 211 | { |
| 223 | $this->builder->method('POST') | 212 | $this->builder->method('POST') |
| 224 | ->service('material.easyShuttle') | 213 | ->service('material.easyShuttle') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Material; | 3 | namespace Lackoxygen\TiktokShop\Request\Material; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 素材中心API | 8 | * @note 素材中心API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface MaterialInterface | @@ -13,7 +15,7 @@ interface MaterialInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function materialCreateFolder(array $params); | 18 | + public function materialCreateFolder(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 编辑/移动文件夹 | 21 | * 编辑/移动文件夹 |
| @@ -21,7 +23,7 @@ interface MaterialInterface | @@ -21,7 +23,7 @@ interface MaterialInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function materialEditFolder(array $params); | 26 | + public function materialEditFolder(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 将文件夹移动到回收站 | 29 | * 将文件夹移动到回收站 |
| @@ -29,7 +31,7 @@ interface MaterialInterface | @@ -29,7 +31,7 @@ interface MaterialInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function materialMoveFolderToRecycleBin(array $params); | 34 | + public function materialMoveFolderToRecycleBin(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 移动素材到回收站 | 37 | * 移动素材到回收站 |
| @@ -37,7 +39,7 @@ interface MaterialInterface | @@ -37,7 +39,7 @@ interface MaterialInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function materialMoveMaterialToRecycleBin(array $params); | 42 | + public function materialMoveMaterialToRecycleBin(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 从回收站中恢复素材 | 45 | * 从回收站中恢复素材 |
| @@ -45,7 +47,7 @@ interface MaterialInterface | @@ -45,7 +47,7 @@ interface MaterialInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function materialRecoverMaterial(array $params); | 50 | + public function materialRecoverMaterial(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 编辑素材 | 53 | * 编辑素材 |
| @@ -53,7 +55,7 @@ interface MaterialInterface | @@ -53,7 +55,7 @@ interface MaterialInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function materialEditMaterial(array $params); | 58 | + public function materialEditMaterial(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 批量上传视频到素材中心 | 61 | * 批量上传视频到素材中心 |
| @@ -61,7 +63,7 @@ interface MaterialInterface | @@ -61,7 +63,7 @@ interface MaterialInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function materialBatchUploadVideoAsync(array $params); | 66 | + public function materialBatchUploadVideoAsync(array $params = []); |
| 65 | 67 | ||
| 66 | /** | 68 | /** |
| 67 | * 批量上传图片到素材中心 | 69 | * 批量上传图片到素材中心 |
| @@ -69,7 +71,7 @@ interface MaterialInterface | @@ -69,7 +71,7 @@ interface MaterialInterface | ||
| 69 | * @param array $params | 71 | * @param array $params |
| 70 | * @return ResultSet | 72 | * @return ResultSet |
| 71 | */ | 73 | */ |
| 72 | - public function materialBatchUploadImageSync(array $params); | 74 | + public function materialBatchUploadImageSync(array $params = []); |
| 73 | 75 | ||
| 74 | /** | 76 | /** |
| 75 | * 查看文件夹详情 | 77 | * 查看文件夹详情 |
| @@ -77,7 +79,7 @@ interface MaterialInterface | @@ -77,7 +79,7 @@ interface MaterialInterface | ||
| 77 | * @param array $params | 79 | * @param array $params |
| 78 | * @return ResultSet | 80 | * @return ResultSet |
| 79 | */ | 81 | */ |
| 80 | - public function materialGetFolderInfo(array $params); | 82 | + public function materialGetFolderInfo(array $params = []); |
| 81 | 83 | ||
| 82 | /** | 84 | /** |
| 83 | * 搜索文件夹 | 85 | * 搜索文件夹 |
| @@ -85,15 +87,7 @@ interface MaterialInterface | @@ -85,15 +87,7 @@ interface MaterialInterface | ||
| 85 | * @param array $params | 87 | * @param array $params |
| 86 | * @return ResultSet | 88 | * @return ResultSet |
| 87 | */ | 89 | */ |
| 88 | - public function materialSearchFolder(array $params); | ||
| 89 | - | ||
| 90 | - /** | ||
| 91 | - * 搜索素材 | ||
| 92 | - * @link https://op.jinritemai.com/docs/api-docs/69/1148 | ||
| 93 | - * @param array $params | ||
| 94 | - * @return ResultSet | ||
| 95 | - */ | ||
| 96 | - public function materialSearchMaterial(array $params); | 90 | + public function materialSearchFolder(array $params = []); |
| 97 | 91 | ||
| 98 | /** | 92 | /** |
| 99 | * 素材中心--异步上传视频接口 | 93 | * 素材中心--异步上传视频接口 |
| @@ -101,7 +95,7 @@ interface MaterialInterface | @@ -101,7 +95,7 @@ interface MaterialInterface | ||
| 101 | * @param array $params | 95 | * @param array $params |
| 102 | * @return ResultSet | 96 | * @return ResultSet |
| 103 | */ | 97 | */ |
| 104 | - public function materialUploadVideoAsync(array $params); | 98 | + public function materialUploadVideoAsync(array $params = []); |
| 105 | 99 | ||
| 106 | /** | 100 | /** |
| 107 | * 同步上传素材 | 101 | * 同步上传素材 |
| @@ -109,15 +103,15 @@ interface MaterialInterface | @@ -109,15 +103,15 @@ interface MaterialInterface | ||
| 109 | * @param array $params | 103 | * @param array $params |
| 110 | * @return ResultSet | 104 | * @return ResultSet |
| 111 | */ | 105 | */ |
| 112 | - public function materialUploadImageSync(array $params); | 106 | + public function materialUploadImageSync(array $params = []); |
| 113 | 107 | ||
| 114 | /** | 108 | /** |
| 115 | - * 查素材详情 | 109 | + * 根据素材id查素材详情 |
| 116 | * @link https://op.jinritemai.com/docs/api-docs/69/1145 | 110 | * @link https://op.jinritemai.com/docs/api-docs/69/1145 |
| 117 | * @param array $params | 111 | * @param array $params |
| 118 | * @return ResultSet | 112 | * @return ResultSet |
| 119 | */ | 113 | */ |
| 120 | - public function materialQueryMaterialDetail(array $params); | 114 | + public function materialQueryMaterialDetail(array $params = []); |
| 121 | 115 | ||
| 122 | /** | 116 | /** |
| 123 | * 彻底删除文件夹 | 117 | * 彻底删除文件夹 |
| @@ -125,7 +119,7 @@ interface MaterialInterface | @@ -125,7 +119,7 @@ interface MaterialInterface | ||
| 125 | * @param array $params | 119 | * @param array $params |
| 126 | * @return ResultSet | 120 | * @return ResultSet |
| 127 | */ | 121 | */ |
| 128 | - public function materialDeleteFolder(array $params); | 122 | + public function materialDeleteFolder(array $params = []); |
| 129 | 123 | ||
| 130 | /** | 124 | /** |
| 131 | * 彻底删除素材 | 125 | * 彻底删除素材 |
| @@ -133,7 +127,7 @@ interface MaterialInterface | @@ -133,7 +127,7 @@ interface MaterialInterface | ||
| 133 | * @param array $params | 127 | * @param array $params |
| 134 | * @return ResultSet | 128 | * @return ResultSet |
| 135 | */ | 129 | */ |
| 136 | - public function materialDeleteMaterial(array $params); | 130 | + public function materialDeleteMaterial(array $params = []); |
| 137 | 131 | ||
| 138 | /** | 132 | /** |
| 139 | * 从回收站恢复文件夹 | 133 | * 从回收站恢复文件夹 |
| @@ -141,7 +135,7 @@ interface MaterialInterface | @@ -141,7 +135,7 @@ interface MaterialInterface | ||
| 141 | * @param array $params | 135 | * @param array $params |
| 142 | * @return ResultSet | 136 | * @return ResultSet |
| 143 | */ | 137 | */ |
| 144 | - public function materialRecoverFolder(array $params); | 138 | + public function materialRecoverFolder(array $params = []); |
| 145 | 139 | ||
| 146 | /** | 140 | /** |
| 147 | * 获取商家容量详情 | 141 | * 获取商家容量详情 |
| @@ -149,7 +143,7 @@ interface MaterialInterface | @@ -149,7 +143,7 @@ interface MaterialInterface | ||
| 149 | * @param array $params | 143 | * @param array $params |
| 150 | * @return ResultSet | 144 | * @return ResultSet |
| 151 | */ | 145 | */ |
| 152 | - public function materialGetCapInfo(array $params); | 146 | + public function materialGetCapInfo(array $params = []); |
| 153 | 147 | ||
| 154 | /** | 148 | /** |
| 155 | * 批量获取视频信息 | 149 | * 批量获取视频信息 |
| @@ -157,7 +151,7 @@ interface MaterialInterface | @@ -157,7 +151,7 @@ interface MaterialInterface | ||
| 157 | * @param array $params | 151 | * @param array $params |
| 158 | * @return ResultSet | 152 | * @return ResultSet |
| 159 | */ | 153 | */ |
| 160 | - public function materialMGetPlayInfo(array $params); | 154 | + public function materialMGetPlayInfo(array $params = []); |
| 161 | 155 | ||
| 162 | /** | 156 | /** |
| 163 | * 一键删除 | 157 | * 一键删除 |
| @@ -165,5 +159,5 @@ interface MaterialInterface | @@ -165,5 +159,5 @@ interface MaterialInterface | ||
| 165 | * @param array $params | 159 | * @param array $params |
| 166 | * @return ResultSet | 160 | * @return ResultSet |
| 167 | */ | 161 | */ |
| 168 | - public function materialEasyShuttle(array $params); | 162 | + public function materialEasyShuttle(array $params = []); |
| 169 | } | 163 | } |
| @@ -9,7 +9,7 @@ class Member extends Request implements MemberInterface | @@ -9,7 +9,7 @@ class Member extends Request implements MemberInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function memberBatchUpdate(array $params) | 12 | + public function memberBatchUpdate(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('member.batchUpdate') | 15 | ->service('member.batchUpdate') |
| @@ -20,7 +20,7 @@ class Member extends Request implements MemberInterface | @@ -20,7 +20,7 @@ class Member extends Request implements MemberInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function memberBatchGetUnionIdByOpenIdList(array $params) | 23 | + public function memberBatchGetUnionIdByOpenIdList(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('member.batchGetUnionIdByOpenIdList') | 26 | ->service('member.batchGetUnionIdByOpenIdList') |
| @@ -31,7 +31,7 @@ class Member extends Request implements MemberInterface | @@ -31,7 +31,7 @@ class Member extends Request implements MemberInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function memberJoinShopMemberWithMobileId(array $params) | 34 | + public function memberJoinShopMemberWithMobileId(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('member.JoinShopMemberWithMobileId') | 37 | ->service('member.JoinShopMemberWithMobileId') |
| @@ -42,7 +42,7 @@ class Member extends Request implements MemberInterface | @@ -42,7 +42,7 @@ class Member extends Request implements MemberInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function memberGetOuterShopMemberConf(array $params) | 45 | + public function memberGetOuterShopMemberConf(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('member.GetOuterShopMemberConf') | 48 | ->service('member.GetOuterShopMemberConf') |
| @@ -53,7 +53,7 @@ class Member extends Request implements MemberInterface | @@ -53,7 +53,7 @@ class Member extends Request implements MemberInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function memberGetUserShopMemberCard(array $params) | 56 | + public function memberGetUserShopMemberCard(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('member.GetUserShopMemberCard') | 59 | ->service('member.GetUserShopMemberCard') |
| @@ -64,7 +64,7 @@ class Member extends Request implements MemberInterface | @@ -64,7 +64,7 @@ class Member extends Request implements MemberInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function memberGetJoinBonusCountForUser(array $params) | 67 | + public function memberGetJoinBonusCountForUser(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('member.GetJoinBonusCountForUser') | 70 | ->service('member.GetJoinBonusCountForUser') |
| @@ -75,7 +75,7 @@ class Member extends Request implements MemberInterface | @@ -75,7 +75,7 @@ class Member extends Request implements MemberInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function memberBatchGetHistoryMemberUnionId(array $params) | 78 | + public function memberBatchGetHistoryMemberUnionId(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('member.batchGetHistoryMemberUnionId') | 81 | ->service('member.batchGetHistoryMemberUnionId') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Member; | 3 | namespace Lackoxygen\TiktokShop\Request\Member; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 会员中心API | 8 | * @note 会员中心API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface MemberInterface | @@ -13,7 +15,7 @@ interface MemberInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function memberBatchUpdate(array $params); | 18 | + public function memberBatchUpdate(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 【品牌会员专用】将openId转化成品牌会员商家的unionId | 21 | * 【品牌会员专用】将openId转化成品牌会员商家的unionId |
| @@ -21,7 +23,7 @@ interface MemberInterface | @@ -21,7 +23,7 @@ interface MemberInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function memberBatchGetUnionIdByOpenIdList(array $params); | 26 | + public function memberBatchGetUnionIdByOpenIdList(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 加入会员接口 | 29 | * 加入会员接口 |
| @@ -29,7 +31,7 @@ interface MemberInterface | @@ -29,7 +31,7 @@ interface MemberInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function memberJoinShopMemberWithMobileId(array $params); | 34 | + public function memberJoinShopMemberWithMobileId(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 入会面板调用 | 37 | * 入会面板调用 |
| @@ -37,7 +39,7 @@ interface MemberInterface | @@ -37,7 +39,7 @@ interface MemberInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function memberGetOuterShopMemberConf(array $params); | 42 | + public function memberGetOuterShopMemberConf(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 电商会员卡面信息 | 45 | * 电商会员卡面信息 |
| @@ -45,7 +47,7 @@ interface MemberInterface | @@ -45,7 +47,7 @@ interface MemberInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function memberGetUserShopMemberCard(array $params); | 50 | + public function memberGetUserShopMemberCard(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 获取用户裂变引导入会人数 | 53 | * 获取用户裂变引导入会人数 |
| @@ -53,7 +55,7 @@ interface MemberInterface | @@ -53,7 +55,7 @@ interface MemberInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function memberGetJoinBonusCountForUser(array $params); | 58 | + public function memberGetJoinBonusCountForUser(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 【品牌会员店铺专用】根据店铺会员的openId获取品牌维度的用户身份标识unionId | 61 | * 【品牌会员店铺专用】根据店铺会员的openId获取品牌维度的用户身份标识unionId |
| @@ -61,5 +63,5 @@ interface MemberInterface | @@ -61,5 +63,5 @@ interface MemberInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function memberBatchGetHistoryMemberUnionId(array $params); | 66 | + public function memberBatchGetHistoryMemberUnionId(array $params = []); |
| 65 | } | 67 | } |
| @@ -9,7 +9,7 @@ class OpenCloud extends Request implements OpenCloudInterface | @@ -9,7 +9,7 @@ class OpenCloud extends Request implements OpenCloudInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function openCloudDdpGetShopList(array $params) | 12 | + public function openCloudDdpGetShopList(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('openCloud.ddpGetShopList') | 15 | ->service('openCloud.ddpGetShopList') |
| @@ -20,7 +20,7 @@ class OpenCloud extends Request implements OpenCloudInterface | @@ -20,7 +20,7 @@ class OpenCloud extends Request implements OpenCloudInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function openCloudDdpDeleteShop(array $params) | 23 | + public function openCloudDdpDeleteShop(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('openCloud.ddpDeleteShop') | 26 | ->service('openCloud.ddpDeleteShop') |
| @@ -31,7 +31,7 @@ class OpenCloud extends Request implements OpenCloudInterface | @@ -31,7 +31,7 @@ class OpenCloud extends Request implements OpenCloudInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function openCloudDdpAddShop(array $params) | 34 | + public function openCloudDdpAddShop(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('openCloud.ddpAddShop') | 37 | ->service('openCloud.ddpAddShop') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\OpenCloud; | 3 | namespace Lackoxygen\TiktokShop\Request\OpenCloud; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 电商云API | 8 | * @note 电商云API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface OpenCloudInterface | @@ -13,7 +15,7 @@ interface OpenCloudInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function openCloudDdpGetShopList(array $params); | 18 | + public function openCloudDdpGetShopList(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 数据推送,删除绑定的推送店铺 | 21 | * 数据推送,删除绑定的推送店铺 |
| @@ -21,7 +23,7 @@ interface OpenCloudInterface | @@ -21,7 +23,7 @@ interface OpenCloudInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function openCloudDdpDeleteShop(array $params); | 26 | + public function openCloudDdpDeleteShop(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 数据推送,添加数据推送店铺 | 29 | * 数据推送,添加数据推送店铺 |
| @@ -29,5 +31,5 @@ interface OpenCloudInterface | @@ -29,5 +31,5 @@ interface OpenCloudInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function openCloudDdpAddShop(array $params); | 34 | + public function openCloudDdpAddShop(array $params = []); |
| 33 | } | 35 | } |
| @@ -9,7 +9,7 @@ class Order extends Request implements OrderInterface | @@ -9,7 +9,7 @@ class Order extends Request implements OrderInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function orderSearchList(array $params) | 12 | + public function orderSearchList(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('order.searchList') | 15 | ->service('order.searchList') |
| @@ -20,7 +20,7 @@ class Order extends Request implements OrderInterface | @@ -20,7 +20,7 @@ class Order extends Request implements OrderInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function orderOrderDetail(array $params) | 23 | + public function orderOrderDetail(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('order.orderDetail') | 26 | ->service('order.orderDetail') |
| @@ -31,7 +31,7 @@ class Order extends Request implements OrderInterface | @@ -31,7 +31,7 @@ class Order extends Request implements OrderInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function orderBatchDecrypt(array $params) | 34 | + public function orderBatchDecrypt(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('order.batchDecrypt') | 37 | ->service('order.batchDecrypt') |
| @@ -42,7 +42,7 @@ class Order extends Request implements OrderInterface | @@ -42,7 +42,7 @@ class Order extends Request implements OrderInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function orderAddOrderRemark(array $params) | 45 | + public function orderAddOrderRemark(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('order.addOrderRemark') | 48 | ->service('order.addOrderRemark') |
| @@ -53,7 +53,7 @@ class Order extends Request implements OrderInterface | @@ -53,7 +53,7 @@ class Order extends Request implements OrderInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function orderAddressAppliedSwitch(array $params) | 56 | + public function orderAddressAppliedSwitch(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('order.AddressAppliedSwitch') | 59 | ->service('order.AddressAppliedSwitch') |
| @@ -64,7 +64,7 @@ class Order extends Request implements OrderInterface | @@ -64,7 +64,7 @@ class Order extends Request implements OrderInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function orderAddressModify(array $params) | 67 | + public function orderAddressModify(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('order.addressModify') | 70 | ->service('order.addressModify') |
| @@ -75,7 +75,7 @@ class Order extends Request implements OrderInterface | @@ -75,7 +75,7 @@ class Order extends Request implements OrderInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function orderBatchEncrypt(array $params) | 78 | + public function orderBatchEncrypt(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('order.batchEncrypt') | 81 | ->service('order.batchEncrypt') |
| @@ -86,7 +86,7 @@ class Order extends Request implements OrderInterface | @@ -86,7 +86,7 @@ class Order extends Request implements OrderInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - public function orderBatchSensitive(array $params) | 89 | + public function orderBatchSensitive(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('order.batchSensitive') | 92 | ->service('order.batchSensitive') |
| @@ -97,7 +97,7 @@ class Order extends Request implements OrderInterface | @@ -97,7 +97,7 @@ class Order extends Request implements OrderInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - public function orderStockUp(array $params) | 100 | + public function orderStockUp(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('order.stockUp') | 103 | ->service('order.stockUp') |
| @@ -108,7 +108,7 @@ class Order extends Request implements OrderInterface | @@ -108,7 +108,7 @@ class Order extends Request implements OrderInterface | ||
| 108 | /** | 108 | /** |
| 109 | * @inheritDoc | 109 | * @inheritDoc |
| 110 | */ | 110 | */ |
| 111 | - public function orderAddSerialNumber(array $params) | 111 | + public function orderAddSerialNumber(array $params = []) |
| 112 | { | 112 | { |
| 113 | $this->builder->method('POST') | 113 | $this->builder->method('POST') |
| 114 | ->service('order.addSerialNumber') | 114 | ->service('order.addSerialNumber') |
| @@ -119,7 +119,7 @@ class Order extends Request implements OrderInterface | @@ -119,7 +119,7 @@ class Order extends Request implements OrderInterface | ||
| 119 | /** | 119 | /** |
| 120 | * @inheritDoc | 120 | * @inheritDoc |
| 121 | */ | 121 | */ |
| 122 | - public function orderOrdeReportList(array $params) | 122 | + public function orderOrdeReportList(array $params = []) |
| 123 | { | 123 | { |
| 124 | $this->builder->method('POST') | 124 | $this->builder->method('POST') |
| 125 | ->service('order.ordeReportList') | 125 | ->service('order.ordeReportList') |
| @@ -130,7 +130,7 @@ class Order extends Request implements OrderInterface | @@ -130,7 +130,7 @@ class Order extends Request implements OrderInterface | ||
| 130 | /** | 130 | /** |
| 131 | * @inheritDoc | 131 | * @inheritDoc |
| 132 | */ | 132 | */ |
| 133 | - public function orderReview(array $params) | 133 | + public function orderReview(array $params = []) |
| 134 | { | 134 | { |
| 135 | $this->builder->method('POST') | 135 | $this->builder->method('POST') |
| 136 | ->service('order.review') | 136 | ->service('order.review') |
| @@ -141,7 +141,7 @@ class Order extends Request implements OrderInterface | @@ -141,7 +141,7 @@ class Order extends Request implements OrderInterface | ||
| 141 | /** | 141 | /** |
| 142 | * @inheritDoc | 142 | * @inheritDoc |
| 143 | */ | 143 | */ |
| 144 | - public function couponsExtendCertValidEndByOrder(array $params) | 144 | + public function couponsExtendCertValidEndByOrder(array $params = []) |
| 145 | { | 145 | { |
| 146 | $this->builder->method('POST') | 146 | $this->builder->method('POST') |
| 147 | ->service('coupons.extendCertValidEndByOrder') | 147 | ->service('coupons.extendCertValidEndByOrder') |
| @@ -152,7 +152,7 @@ class Order extends Request implements OrderInterface | @@ -152,7 +152,7 @@ class Order extends Request implements OrderInterface | ||
| 152 | /** | 152 | /** |
| 153 | * @inheritDoc | 153 | * @inheritDoc |
| 154 | */ | 154 | */ |
| 155 | - public function orderReplyService(array $params) | 155 | + public function orderReplyService(array $params = []) |
| 156 | { | 156 | { |
| 157 | $this->builder->method('POST') | 157 | $this->builder->method('POST') |
| 158 | ->service('order.replyService') | 158 | ->service('order.replyService') |
| @@ -163,7 +163,7 @@ class Order extends Request implements OrderInterface | @@ -163,7 +163,7 @@ class Order extends Request implements OrderInterface | ||
| 163 | /** | 163 | /** |
| 164 | * @inheritDoc | 164 | * @inheritDoc |
| 165 | */ | 165 | */ |
| 166 | - public function orderGetUserOrderList(array $params) | 166 | + public function orderGetUserOrderList(array $params = []) |
| 167 | { | 167 | { |
| 168 | $this->builder->method('POST') | 168 | $this->builder->method('POST') |
| 169 | ->service('order.getUserOrderList') | 169 | ->service('order.getUserOrderList') |
| @@ -174,7 +174,7 @@ class Order extends Request implements OrderInterface | @@ -174,7 +174,7 @@ class Order extends Request implements OrderInterface | ||
| 174 | /** | 174 | /** |
| 175 | * @inheritDoc | 175 | * @inheritDoc |
| 176 | */ | 176 | */ |
| 177 | - public function orderInvoiceList(array $params) | 177 | + public function orderInvoiceList(array $params = []) |
| 178 | { | 178 | { |
| 179 | $this->builder->method('POST') | 179 | $this->builder->method('POST') |
| 180 | ->service('order.invoiceList') | 180 | ->service('order.invoiceList') |
| @@ -185,7 +185,7 @@ class Order extends Request implements OrderInterface | @@ -185,7 +185,7 @@ class Order extends Request implements OrderInterface | ||
| 185 | /** | 185 | /** |
| 186 | * @inheritDoc | 186 | * @inheritDoc |
| 187 | */ | 187 | */ |
| 188 | - public function antispamOrderQuery(array $params) | 188 | + public function antispamOrderQuery(array $params = []) |
| 189 | { | 189 | { |
| 190 | $this->builder->method('POST') | 190 | $this->builder->method('POST') |
| 191 | ->service('antispam.orderQuery') | 191 | ->service('antispam.orderQuery') |
| @@ -196,7 +196,7 @@ class Order extends Request implements OrderInterface | @@ -196,7 +196,7 @@ class Order extends Request implements OrderInterface | ||
| 196 | /** | 196 | /** |
| 197 | * @inheritDoc | 197 | * @inheritDoc |
| 198 | */ | 198 | */ |
| 199 | - public function antispamOrderSend(array $params) | 199 | + public function antispamOrderSend(array $params = []) |
| 200 | { | 200 | { |
| 201 | $this->builder->method('POST') | 201 | $this->builder->method('POST') |
| 202 | ->service('antispam.orderSend') | 202 | ->service('antispam.orderSend') |
| @@ -207,7 +207,7 @@ class Order extends Request implements OrderInterface | @@ -207,7 +207,7 @@ class Order extends Request implements OrderInterface | ||
| 207 | /** | 207 | /** |
| 208 | * @inheritDoc | 208 | * @inheritDoc |
| 209 | */ | 209 | */ |
| 210 | - public function orderBatchSearchIndex(array $params) | 210 | + public function orderBatchSearchIndex(array $params = []) |
| 211 | { | 211 | { |
| 212 | $this->builder->method('POST') | 212 | $this->builder->method('POST') |
| 213 | ->service('order.BatchSearchIndex') | 213 | ->service('order.BatchSearchIndex') |
| @@ -218,7 +218,7 @@ class Order extends Request implements OrderInterface | @@ -218,7 +218,7 @@ class Order extends Request implements OrderInterface | ||
| 218 | /** | 218 | /** |
| 219 | * @inheritDoc | 219 | * @inheritDoc |
| 220 | */ | 220 | */ |
| 221 | - public function orderAddresSwitchConfig(array $params) | 221 | + public function orderAddresSwitchConfig(array $params = []) |
| 222 | { | 222 | { |
| 223 | $this->builder->method('POST') | 223 | $this->builder->method('POST') |
| 224 | ->service('order.addresSwitchConfig') | 224 | ->service('order.addresSwitchConfig') |
| @@ -229,7 +229,7 @@ class Order extends Request implements OrderInterface | @@ -229,7 +229,7 @@ class Order extends Request implements OrderInterface | ||
| 229 | /** | 229 | /** |
| 230 | * @inheritDoc | 230 | * @inheritDoc |
| 231 | */ | 231 | */ |
| 232 | - public function orderAddressConfirm(array $params) | 232 | + public function orderAddressConfirm(array $params = []) |
| 233 | { | 233 | { |
| 234 | $this->builder->method('POST') | 234 | $this->builder->method('POST') |
| 235 | ->service('order.addressConfirm') | 235 | ->service('order.addressConfirm') |
| @@ -240,7 +240,7 @@ class Order extends Request implements OrderInterface | @@ -240,7 +240,7 @@ class Order extends Request implements OrderInterface | ||
| 240 | /** | 240 | /** |
| 241 | * @inheritDoc | 241 | * @inheritDoc |
| 242 | */ | 242 | */ |
| 243 | - public function orderUpdateOrderAmount(array $params) | 243 | + public function orderUpdateOrderAmount(array $params = []) |
| 244 | { | 244 | { |
| 245 | $this->builder->method('POST') | 245 | $this->builder->method('POST') |
| 246 | ->service('order.updateOrderAmount') | 246 | ->service('order.updateOrderAmount') |
| @@ -251,7 +251,7 @@ class Order extends Request implements OrderInterface | @@ -251,7 +251,7 @@ class Order extends Request implements OrderInterface | ||
| 251 | /** | 251 | /** |
| 252 | * @inheritDoc | 252 | * @inheritDoc |
| 253 | */ | 253 | */ |
| 254 | - public function orderGetServiceList(array $params) | 254 | + public function orderGetServiceList(array $params = []) |
| 255 | { | 255 | { |
| 256 | $this->builder->method('POST') | 256 | $this->builder->method('POST') |
| 257 | ->service('order.getServiceList') | 257 | ->service('order.getServiceList') |
| @@ -262,7 +262,7 @@ class Order extends Request implements OrderInterface | @@ -262,7 +262,7 @@ class Order extends Request implements OrderInterface | ||
| 262 | /** | 262 | /** |
| 263 | * @inheritDoc | 263 | * @inheritDoc |
| 264 | */ | 264 | */ |
| 265 | - public function orderServiceDetail(array $params) | 265 | + public function orderServiceDetail(array $params = []) |
| 266 | { | 266 | { |
| 267 | $this->builder->method('POST') | 267 | $this->builder->method('POST') |
| 268 | ->service('order.serviceDetail') | 268 | ->service('order.serviceDetail') |
| @@ -273,7 +273,7 @@ class Order extends Request implements OrderInterface | @@ -273,7 +273,7 @@ class Order extends Request implements OrderInterface | ||
| 273 | /** | 273 | /** |
| 274 | * @inheritDoc | 274 | * @inheritDoc |
| 275 | */ | 275 | */ |
| 276 | - public function orderUpdatePostAmount(array $params) | 276 | + public function orderUpdatePostAmount(array $params = []) |
| 277 | { | 277 | { |
| 278 | $this->builder->method('POST') | 278 | $this->builder->method('POST') |
| 279 | ->service('order.updatePostAmount') | 279 | ->service('order.updatePostAmount') |
| @@ -284,7 +284,7 @@ class Order extends Request implements OrderInterface | @@ -284,7 +284,7 @@ class Order extends Request implements OrderInterface | ||
| 284 | /** | 284 | /** |
| 285 | * @inheritDoc | 285 | * @inheritDoc |
| 286 | */ | 286 | */ |
| 287 | - public function powerSubscribeVirtualTelCallStatus(array $params) | 287 | + public function powerSubscribeVirtualTelCallStatus(array $params = []) |
| 288 | { | 288 | { |
| 289 | $this->builder->method('POST') | 289 | $this->builder->method('POST') |
| 290 | ->service('power.SubscribeVirtualTelCallStatus') | 290 | ->service('power.SubscribeVirtualTelCallStatus') |
| @@ -295,7 +295,7 @@ class Order extends Request implements OrderInterface | @@ -295,7 +295,7 @@ class Order extends Request implements OrderInterface | ||
| 295 | /** | 295 | /** |
| 296 | * @inheritDoc | 296 | * @inheritDoc |
| 297 | */ | 297 | */ |
| 298 | - public function orderGetCrossBorderFulfillInfo(array $params) | 298 | + public function orderGetCrossBorderFulfillInfo(array $params = []) |
| 299 | { | 299 | { |
| 300 | $this->builder->method('POST') | 300 | $this->builder->method('POST') |
| 301 | ->service('order.getCrossBorderFulfillInfo') | 301 | ->service('order.getCrossBorderFulfillInfo') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Order; | 3 | namespace Lackoxygen\TiktokShop\Request\Order; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 订单API | 8 | * @note 订单API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface OrderInterface | @@ -13,7 +15,7 @@ interface OrderInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function orderSearchList(array $params); | 18 | + public function orderSearchList(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 订单详情查询 | 21 | * 订单详情查询 |
| @@ -21,7 +23,7 @@ interface OrderInterface | @@ -21,7 +23,7 @@ interface OrderInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function orderOrderDetail(array $params); | 26 | + public function orderOrderDetail(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 批量解密接口 | 29 | * 批量解密接口 |
| @@ -29,7 +31,7 @@ interface OrderInterface | @@ -29,7 +31,7 @@ interface OrderInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function orderBatchDecrypt(array $params); | 34 | + public function orderBatchDecrypt(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 为商家提供订单备注接口 | 37 | * 为商家提供订单备注接口 |
| @@ -37,7 +39,7 @@ interface OrderInterface | @@ -37,7 +39,7 @@ interface OrderInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function orderAddOrderRemark(array $params); | 42 | + public function orderAddOrderRemark(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 支持调用后打开(或关闭)卖家针对买家收货地址变更的审核流程 | 45 | * 支持调用后打开(或关闭)卖家针对买家收货地址变更的审核流程 |
| @@ -45,7 +47,7 @@ interface OrderInterface | @@ -45,7 +47,7 @@ interface OrderInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function orderAddressAppliedSwitch(array $params); | 50 | + public function orderAddressAppliedSwitch(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 卖家主动修改收货地址 | 53 | * 卖家主动修改收货地址 |
| @@ -53,7 +55,7 @@ interface OrderInterface | @@ -53,7 +55,7 @@ interface OrderInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function orderAddressModify(array $params); | 58 | + public function orderAddressModify(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 批量加密接口 | 61 | * 批量加密接口 |
| @@ -61,7 +63,7 @@ interface OrderInterface | @@ -61,7 +63,7 @@ interface OrderInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function orderBatchEncrypt(array $params); | 66 | + public function orderBatchEncrypt(array $params = []); |
| 65 | 67 | ||
| 66 | /** | 68 | /** |
| 67 | * 批量脱敏接口 | 69 | * 批量脱敏接口 |
| @@ -69,7 +71,7 @@ interface OrderInterface | @@ -69,7 +71,7 @@ interface OrderInterface | ||
| 69 | * @param array $params | 71 | * @param array $params |
| 70 | * @return ResultSet | 72 | * @return ResultSet |
| 71 | */ | 73 | */ |
| 72 | - public function orderBatchSensitive(array $params); | 74 | + public function orderBatchSensitive(array $params = []); |
| 73 | 75 | ||
| 74 | /** | 76 | /** |
| 75 | * 发票信息回传 | 77 | * 发票信息回传 |
| @@ -77,7 +79,7 @@ interface OrderInterface | @@ -77,7 +79,7 @@ interface OrderInterface | ||
| 77 | * @param array $params | 79 | * @param array $params |
| 78 | * @return ResultSet | 80 | * @return ResultSet |
| 79 | */ | 81 | */ |
| 80 | - public function orderStockUp(array $params); | 82 | + public function orderStockUp(array $params = []); |
| 81 | 83 | ||
| 82 | /** | 84 | /** |
| 83 | * 订单商品的序列号上传 | 85 | * 订单商品的序列号上传 |
| @@ -85,7 +87,7 @@ interface OrderInterface | @@ -85,7 +87,7 @@ interface OrderInterface | ||
| 85 | * @param array $params | 87 | * @param array $params |
| 86 | * @return ResultSet | 88 | * @return ResultSet |
| 87 | */ | 89 | */ |
| 88 | - public function orderAddSerialNumber(array $params); | 90 | + public function orderAddSerialNumber(array $params = []); |
| 89 | 91 | ||
| 90 | /** | 92 | /** |
| 91 | * 查询明文手机号报备接口 | 93 | * 查询明文手机号报备接口 |
| @@ -93,7 +95,7 @@ interface OrderInterface | @@ -93,7 +95,7 @@ interface OrderInterface | ||
| 93 | * @param array $params | 95 | * @param array $params |
| 94 | * @return ResultSet | 96 | * @return ResultSet |
| 95 | */ | 97 | */ |
| 96 | - public function orderOrdeReportList(array $params); | 98 | + public function orderOrdeReportList(array $params = []); |
| 97 | 99 | ||
| 98 | /** | 100 | /** |
| 99 | * 商家回传订单审核结果 | 101 | * 商家回传订单审核结果 |
| @@ -101,7 +103,7 @@ interface OrderInterface | @@ -101,7 +103,7 @@ interface OrderInterface | ||
| 101 | * @param array $params | 103 | * @param array $params |
| 102 | * @return ResultSet | 104 | * @return ResultSet |
| 103 | */ | 105 | */ |
| 104 | - public function orderReview(array $params); | 106 | + public function orderReview(array $params = []); |
| 105 | 107 | ||
| 106 | /** | 108 | /** |
| 107 | * 三方卡券延期 | 109 | * 三方卡券延期 |
| @@ -109,7 +111,7 @@ interface OrderInterface | @@ -109,7 +111,7 @@ interface OrderInterface | ||
| 109 | * @param array $params | 111 | * @param array $params |
| 110 | * @return ResultSet | 112 | * @return ResultSet |
| 111 | */ | 113 | */ |
| 112 | - public function couponsExtendCertValidEndByOrder(array $params); | 114 | + public function couponsExtendCertValidEndByOrder(array $params = []); |
| 113 | 115 | ||
| 114 | /** | 116 | /** |
| 115 | * 回复服务请求 | 117 | * 回复服务请求 |
| @@ -117,7 +119,7 @@ interface OrderInterface | @@ -117,7 +119,7 @@ interface OrderInterface | ||
| 117 | * @param array $params | 119 | * @param array $params |
| 118 | * @return ResultSet | 120 | * @return ResultSet |
| 119 | */ | 121 | */ |
| 120 | - public function orderReplyService(array $params); | 122 | + public function orderReplyService(array $params = []); |
| 121 | 123 | ||
| 122 | /** | 124 | /** |
| 123 | * 按用户id查询订单简要信息 | 125 | * 按用户id查询订单简要信息 |
| @@ -125,7 +127,7 @@ interface OrderInterface | @@ -125,7 +127,7 @@ interface OrderInterface | ||
| 125 | * @param array $params | 127 | * @param array $params |
| 126 | * @return ResultSet | 128 | * @return ResultSet |
| 127 | */ | 129 | */ |
| 128 | - public function orderGetUserOrderList(array $params); | 130 | + public function orderGetUserOrderList(array $params = []); |
| 129 | 131 | ||
| 130 | /** | 132 | /** |
| 131 | * 查看商家开票列表 | 133 | * 查看商家开票列表 |
| @@ -133,7 +135,7 @@ interface OrderInterface | @@ -133,7 +135,7 @@ interface OrderInterface | ||
| 133 | * @param array $params | 135 | * @param array $params |
| 134 | * @return ResultSet | 136 | * @return ResultSet |
| 135 | */ | 137 | */ |
| 136 | - public function orderInvoiceList(array $params); | 138 | + public function orderInvoiceList(array $params = []); |
| 137 | 139 | ||
| 138 | /** | 140 | /** |
| 139 | * 用户在ISV查看订单、下载订单时, 上报事件到风控系统 | 141 | * 用户在ISV查看订单、下载订单时, 上报事件到风控系统 |
| @@ -141,7 +143,7 @@ interface OrderInterface | @@ -141,7 +143,7 @@ interface OrderInterface | ||
| 141 | * @param array $params | 143 | * @param array $params |
| 142 | * @return ResultSet | 144 | * @return ResultSet |
| 143 | */ | 145 | */ |
| 144 | - public function antispamOrderQuery(array $params); | 146 | + public function antispamOrderQuery(array $params = []); |
| 145 | 147 | ||
| 146 | /** | 148 | /** |
| 147 | * 支持使用在ISV系统商户发送(外部系统或模块,如快递平台)场景 | 149 | * 支持使用在ISV系统商户发送(外部系统或模块,如快递平台)场景 |
| @@ -149,7 +151,7 @@ interface OrderInterface | @@ -149,7 +151,7 @@ interface OrderInterface | ||
| 149 | * @param array $params | 151 | * @param array $params |
| 150 | * @return ResultSet | 152 | * @return ResultSet |
| 151 | */ | 153 | */ |
| 152 | - public function antispamOrderSend(array $params); | 154 | + public function antispamOrderSend(array $params = []); |
| 153 | 155 | ||
| 154 | /** | 156 | /** |
| 155 | * 批量获取索引串接口 | 157 | * 批量获取索引串接口 |
| @@ -157,7 +159,7 @@ interface OrderInterface | @@ -157,7 +159,7 @@ interface OrderInterface | ||
| 157 | * @param array $params | 159 | * @param array $params |
| 158 | * @return ResultSet | 160 | * @return ResultSet |
| 159 | */ | 161 | */ |
| 160 | - public function orderBatchSearchIndex(array $params); | 162 | + public function orderBatchSearchIndex(array $params = []); |
| 161 | 163 | ||
| 162 | /** | 164 | /** |
| 163 | * 获取App对于商家订单修改地址的审核权限 | 165 | * 获取App对于商家订单修改地址的审核权限 |
| @@ -165,7 +167,7 @@ interface OrderInterface | @@ -165,7 +167,7 @@ interface OrderInterface | ||
| 165 | * @param array $params | 167 | * @param array $params |
| 166 | * @return ResultSet | 168 | * @return ResultSet |
| 167 | */ | 169 | */ |
| 168 | - public function orderAddresSwitchConfig(array $params); | 170 | + public function orderAddresSwitchConfig(array $params = []); |
| 169 | 171 | ||
| 170 | /** | 172 | /** |
| 171 | * 买家地址变更确认 | 173 | * 买家地址变更确认 |
| @@ -173,7 +175,7 @@ interface OrderInterface | @@ -173,7 +175,7 @@ interface OrderInterface | ||
| 173 | * @param array $params | 175 | * @param array $params |
| 174 | * @return ResultSet | 176 | * @return ResultSet |
| 175 | */ | 177 | */ |
| 176 | - public function orderAddressConfirm(array $params); | 178 | + public function orderAddressConfirm(array $params = []); |
| 177 | 179 | ||
| 178 | /** | 180 | /** |
| 179 | * 未支付订单改货款 | 181 | * 未支付订单改货款 |
| @@ -181,7 +183,7 @@ interface OrderInterface | @@ -181,7 +183,7 @@ interface OrderInterface | ||
| 181 | * @param array $params | 183 | * @param array $params |
| 182 | * @return ResultSet | 184 | * @return ResultSet |
| 183 | */ | 185 | */ |
| 184 | - public function orderUpdateOrderAmount(array $params); | 186 | + public function orderUpdateOrderAmount(array $params = []); |
| 185 | 187 | ||
| 186 | /** | 188 | /** |
| 187 | * 获取服务单列表 | 189 | * 获取服务单列表 |
| @@ -189,7 +191,7 @@ interface OrderInterface | @@ -189,7 +191,7 @@ interface OrderInterface | ||
| 189 | * @param array $params | 191 | * @param array $params |
| 190 | * @return ResultSet | 192 | * @return ResultSet |
| 191 | */ | 193 | */ |
| 192 | - public function orderGetServiceList(array $params); | 194 | + public function orderGetServiceList(array $params = []); |
| 193 | 195 | ||
| 194 | /** | 196 | /** |
| 195 | * 查询商家服务单详情请求 | 197 | * 查询商家服务单详情请求 |
| @@ -197,7 +199,7 @@ interface OrderInterface | @@ -197,7 +199,7 @@ interface OrderInterface | ||
| 197 | * @param array $params | 199 | * @param array $params |
| 198 | * @return ResultSet | 200 | * @return ResultSet |
| 199 | */ | 201 | */ |
| 200 | - public function orderServiceDetail(array $params); | 202 | + public function orderServiceDetail(array $params = []); |
| 201 | 203 | ||
| 202 | /** | 204 | /** |
| 203 | * 未支付订单邮费修改 | 205 | * 未支付订单邮费修改 |
| @@ -205,7 +207,7 @@ interface OrderInterface | @@ -205,7 +207,7 @@ interface OrderInterface | ||
| 205 | * @param array $params | 207 | * @param array $params |
| 206 | * @return ResultSet | 208 | * @return ResultSet |
| 207 | */ | 209 | */ |
| 208 | - public function orderUpdatePostAmount(array $params); | 210 | + public function orderUpdatePostAmount(array $params = []); |
| 209 | 211 | ||
| 210 | /** | 212 | /** |
| 211 | * isv获取虚拟号通话状态申请 | 213 | * isv获取虚拟号通话状态申请 |
| @@ -213,7 +215,7 @@ interface OrderInterface | @@ -213,7 +215,7 @@ interface OrderInterface | ||
| 213 | * @param array $params | 215 | * @param array $params |
| 214 | * @return ResultSet | 216 | * @return ResultSet |
| 215 | */ | 217 | */ |
| 216 | - public function powerSubscribeVirtualTelCallStatus(array $params); | 218 | + public function powerSubscribeVirtualTelCallStatus(array $params = []); |
| 217 | 219 | ||
| 218 | /** | 220 | /** |
| 219 | * 获取跨境承运单信息 | 221 | * 获取跨境承运单信息 |
| @@ -221,5 +223,5 @@ interface OrderInterface | @@ -221,5 +223,5 @@ interface OrderInterface | ||
| 221 | * @param array $params | 223 | * @param array $params |
| 222 | * @return ResultSet | 224 | * @return ResultSet |
| 223 | */ | 225 | */ |
| 224 | - public function orderGetCrossBorderFulfillInfo(array $params); | 226 | + public function orderGetCrossBorderFulfillInfo(array $params = []); |
| 225 | } | 227 | } |
| @@ -9,7 +9,7 @@ class OrderCode extends Request implements OrderCodeInterface | @@ -9,7 +9,7 @@ class OrderCode extends Request implements OrderCodeInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function orderCodeErpShopBindOrderCode(array $params) | 12 | + public function orderCodeErpShopBindOrderCode(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('orderCode.erpShopBindOrderCode') | 15 | ->service('orderCode.erpShopBindOrderCode') |
| @@ -20,7 +20,7 @@ class OrderCode extends Request implements OrderCodeInterface | @@ -20,7 +20,7 @@ class OrderCode extends Request implements OrderCodeInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function orderCodeBatchGetOrderCodeByShop(array $params) | 23 | + public function orderCodeBatchGetOrderCodeByShop(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('orderCode.batchGetOrderCodeByShop') | 26 | ->service('orderCode.batchGetOrderCodeByShop') |
| @@ -31,7 +31,7 @@ class OrderCode extends Request implements OrderCodeInterface | @@ -31,7 +31,7 @@ class OrderCode extends Request implements OrderCodeInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function orderCodeDownloadOrderCodeByShop(array $params) | 34 | + public function orderCodeDownloadOrderCodeByShop(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('orderCode.downloadOrderCodeByShop') | 37 | ->service('orderCode.downloadOrderCodeByShop') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\OrderCode; | 3 | namespace Lackoxygen\TiktokShop\Request\OrderCode; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note BIC质检API | 8 | * @note BIC质检API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface OrderCodeInterface | @@ -13,7 +15,7 @@ interface OrderCodeInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function orderCodeErpShopBindOrderCode(array $params); | 18 | + public function orderCodeErpShopBindOrderCode(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 批量下载bic订单码 | 21 | * 批量下载bic订单码 |
| @@ -21,7 +23,7 @@ interface OrderCodeInterface | @@ -21,7 +23,7 @@ interface OrderCodeInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function orderCodeBatchGetOrderCodeByShop(array $params); | 26 | + public function orderCodeBatchGetOrderCodeByShop(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 下载bic订单码 | 29 | * 下载bic订单码 |
| @@ -29,5 +31,5 @@ interface OrderCodeInterface | @@ -29,5 +31,5 @@ interface OrderCodeInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function orderCodeDownloadOrderCodeByShop(array $params); | 34 | + public function orderCodeDownloadOrderCodeByShop(array $params = []); |
| 33 | } | 35 | } |
| @@ -9,7 +9,7 @@ class Pigeon extends Request implements PigeonInterface | @@ -9,7 +9,7 @@ class Pigeon extends Request implements PigeonInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function pigeonWorkOrderNotify(array $params) | 12 | + public function pigeonWorkOrderNotify(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('pigeon.workOrderNotify') | 15 | ->service('pigeon.workOrderNotify') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Pigeon; | 3 | namespace Lackoxygen\TiktokShop\Request\Pigeon; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 飞鸽API | 8 | * @note 飞鸽API |
| 7 | */ | 9 | */ |
| @@ -13,5 +15,5 @@ interface PigeonInterface | @@ -13,5 +15,5 @@ interface PigeonInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function pigeonWorkOrderNotify(array $params); | 18 | + public function pigeonWorkOrderNotify(array $params = []); |
| 17 | } | 19 | } |
| @@ -9,7 +9,7 @@ class Product extends Request implements ProductInterface | @@ -9,7 +9,7 @@ class Product extends Request implements ProductInterface | ||
| 9 | /** | 9 | /** |
| 10 | * @inheritDoc | 10 | * @inheritDoc |
| 11 | */ | 11 | */ |
| 12 | - public function productListV2(array $params) | 12 | + public function productListV2(array $params = []) |
| 13 | { | 13 | { |
| 14 | $this->builder->method('POST') | 14 | $this->builder->method('POST') |
| 15 | ->service('product.listV2') | 15 | ->service('product.listV2') |
| @@ -20,7 +20,7 @@ class Product extends Request implements ProductInterface | @@ -20,7 +20,7 @@ class Product extends Request implements ProductInterface | ||
| 20 | /** | 20 | /** |
| 21 | * @inheritDoc | 21 | * @inheritDoc |
| 22 | */ | 22 | */ |
| 23 | - public function productAddV2(array $params) | 23 | + public function productAddV2(array $params = []) |
| 24 | { | 24 | { |
| 25 | $this->builder->method('POST') | 25 | $this->builder->method('POST') |
| 26 | ->service('product.addV2') | 26 | ->service('product.addV2') |
| @@ -31,7 +31,7 @@ class Product extends Request implements ProductInterface | @@ -31,7 +31,7 @@ class Product extends Request implements ProductInterface | ||
| 31 | /** | 31 | /** |
| 32 | * @inheritDoc | 32 | * @inheritDoc |
| 33 | */ | 33 | */ |
| 34 | - public function productEditV2(array $params) | 34 | + public function productEditV2(array $params = []) |
| 35 | { | 35 | { |
| 36 | $this->builder->method('POST') | 36 | $this->builder->method('POST') |
| 37 | ->service('product.editV2') | 37 | ->service('product.editV2') |
| @@ -42,7 +42,7 @@ class Product extends Request implements ProductInterface | @@ -42,7 +42,7 @@ class Product extends Request implements ProductInterface | ||
| 42 | /** | 42 | /** |
| 43 | * @inheritDoc | 43 | * @inheritDoc |
| 44 | */ | 44 | */ |
| 45 | - public function productDetail(array $params) | 45 | + public function productDetail(array $params = []) |
| 46 | { | 46 | { |
| 47 | $this->builder->method('POST') | 47 | $this->builder->method('POST') |
| 48 | ->service('product.detail') | 48 | ->service('product.detail') |
| @@ -53,7 +53,7 @@ class Product extends Request implements ProductInterface | @@ -53,7 +53,7 @@ class Product extends Request implements ProductInterface | ||
| 53 | /** | 53 | /** |
| 54 | * @inheritDoc | 54 | * @inheritDoc |
| 55 | */ | 55 | */ |
| 56 | - public function productDel(array $params) | 56 | + public function productDel(array $params = []) |
| 57 | { | 57 | { |
| 58 | $this->builder->method('POST') | 58 | $this->builder->method('POST') |
| 59 | ->service('product.del') | 59 | ->service('product.del') |
| @@ -64,7 +64,7 @@ class Product extends Request implements ProductInterface | @@ -64,7 +64,7 @@ class Product extends Request implements ProductInterface | ||
| 64 | /** | 64 | /** |
| 65 | * @inheritDoc | 65 | * @inheritDoc |
| 66 | */ | 66 | */ |
| 67 | - public function skuDetail(array $params) | 67 | + public function skuDetail(array $params = []) |
| 68 | { | 68 | { |
| 69 | $this->builder->method('POST') | 69 | $this->builder->method('POST') |
| 70 | ->service('sku.detail') | 70 | ->service('sku.detail') |
| @@ -75,7 +75,7 @@ class Product extends Request implements ProductInterface | @@ -75,7 +75,7 @@ class Product extends Request implements ProductInterface | ||
| 75 | /** | 75 | /** |
| 76 | * @inheritDoc | 76 | * @inheritDoc |
| 77 | */ | 77 | */ |
| 78 | - public function brandList(array $params) | 78 | + public function brandList(array $params = []) |
| 79 | { | 79 | { |
| 80 | $this->builder->method('POST') | 80 | $this->builder->method('POST') |
| 81 | ->service('brand.list') | 81 | ->service('brand.list') |
| @@ -86,7 +86,7 @@ class Product extends Request implements ProductInterface | @@ -86,7 +86,7 @@ class Product extends Request implements ProductInterface | ||
| 86 | /** | 86 | /** |
| 87 | * @inheritDoc | 87 | * @inheritDoc |
| 88 | */ | 88 | */ |
| 89 | - public function productGetCatePropertyV2(array $params) | 89 | + public function productGetCatePropertyV2(array $params = []) |
| 90 | { | 90 | { |
| 91 | $this->builder->method('POST') | 91 | $this->builder->method('POST') |
| 92 | ->service('product.getCatePropertyV2') | 92 | ->service('product.getCatePropertyV2') |
| @@ -97,7 +97,7 @@ class Product extends Request implements ProductInterface | @@ -97,7 +97,7 @@ class Product extends Request implements ProductInterface | ||
| 97 | /** | 97 | /** |
| 98 | * @inheritDoc | 98 | * @inheritDoc |
| 99 | */ | 99 | */ |
| 100 | - public function productSetOnline(array $params) | 100 | + public function productSetOnline(array $params = []) |
| 101 | { | 101 | { |
| 102 | $this->builder->method('POST') | 102 | $this->builder->method('POST') |
| 103 | ->service('product.setOnline') | 103 | ->service('product.setOnline') |
| @@ -108,7 +108,7 @@ class Product extends Request implements ProductInterface | @@ -108,7 +108,7 @@ class Product extends Request implements ProductInterface | ||
| 108 | /** | 108 | /** |
| 109 | * @inheritDoc | 109 | * @inheritDoc |
| 110 | */ | 110 | */ |
| 111 | - public function skuList(array $params) | 111 | + public function skuList(array $params = []) |
| 112 | { | 112 | { |
| 113 | $this->builder->method('POST') | 113 | $this->builder->method('POST') |
| 114 | ->service('sku.list') | 114 | ->service('sku.list') |
| @@ -119,7 +119,7 @@ class Product extends Request implements ProductInterface | @@ -119,7 +119,7 @@ class Product extends Request implements ProductInterface | ||
| 119 | /** | 119 | /** |
| 120 | * @inheritDoc | 120 | * @inheritDoc |
| 121 | */ | 121 | */ |
| 122 | - public function productSetOffline(array $params) | 122 | + public function productSetOffline(array $params = []) |
| 123 | { | 123 | { |
| 124 | $this->builder->method('POST') | 124 | $this->builder->method('POST') |
| 125 | ->service('product.setOffline') | 125 | ->service('product.setOffline') |
| @@ -130,7 +130,7 @@ class Product extends Request implements ProductInterface | @@ -130,7 +130,7 @@ class Product extends Request implements ProductInterface | ||
| 130 | /** | 130 | /** |
| 131 | * @inheritDoc | 131 | * @inheritDoc |
| 132 | */ | 132 | */ |
| 133 | - public function productQualityList(array $params) | 133 | + public function productQualityList(array $params = []) |
| 134 | { | 134 | { |
| 135 | $this->builder->method('POST') | 135 | $this->builder->method('POST') |
| 136 | ->service('product.qualityList') | 136 | ->service('product.qualityList') |
| @@ -141,7 +141,7 @@ class Product extends Request implements ProductInterface | @@ -141,7 +141,7 @@ class Product extends Request implements ProductInterface | ||
| 141 | /** | 141 | /** |
| 142 | * @inheritDoc | 142 | * @inheritDoc |
| 143 | */ | 143 | */ |
| 144 | - public function skuEditCode(array $params) | 144 | + public function skuEditCode(array $params = []) |
| 145 | { | 145 | { |
| 146 | $this->builder->method('POST') | 146 | $this->builder->method('POST') |
| 147 | ->service('sku.editCode') | 147 | ->service('sku.editCode') |
| @@ -152,7 +152,7 @@ class Product extends Request implements ProductInterface | @@ -152,7 +152,7 @@ class Product extends Request implements ProductInterface | ||
| 152 | /** | 152 | /** |
| 153 | * @inheritDoc | 153 | * @inheritDoc |
| 154 | */ | 154 | */ |
| 155 | - public function productQualificationConfig(array $params) | 155 | + public function productQualificationConfig(array $params = []) |
| 156 | { | 156 | { |
| 157 | $this->builder->method('POST') | 157 | $this->builder->method('POST') |
| 158 | ->service('product.qualificationConfig') | 158 | ->service('product.qualificationConfig') |
| @@ -163,7 +163,7 @@ class Product extends Request implements ProductInterface | @@ -163,7 +163,7 @@ class Product extends Request implements ProductInterface | ||
| 163 | /** | 163 | /** |
| 164 | * @inheritDoc | 164 | * @inheritDoc |
| 165 | */ | 165 | */ |
| 166 | - public function productAddCbProduct(array $params) | 166 | + public function productAddCbProduct(array $params = []) |
| 167 | { | 167 | { |
| 168 | $this->builder->method('POST') | 168 | $this->builder->method('POST') |
| 169 | ->service('product.addCbProduct') | 169 | ->service('product.addCbProduct') |
| @@ -174,7 +174,7 @@ class Product extends Request implements ProductInterface | @@ -174,7 +174,7 @@ class Product extends Request implements ProductInterface | ||
| 174 | /** | 174 | /** |
| 175 | * @inheritDoc | 175 | * @inheritDoc |
| 176 | */ | 176 | */ |
| 177 | - public function brandGetSug(array $params) | 177 | + public function brandGetSug(array $params = []) |
| 178 | { | 178 | { |
| 179 | $this->builder->method('POST') | 179 | $this->builder->method('POST') |
| 180 | ->service('brand.getSug') | 180 | ->service('brand.getSug') |
| @@ -185,7 +185,7 @@ class Product extends Request implements ProductInterface | @@ -185,7 +185,7 @@ class Product extends Request implements ProductInterface | ||
| 185 | /** | 185 | /** |
| 186 | * @inheritDoc | 186 | * @inheritDoc |
| 187 | */ | 187 | */ |
| 188 | - public function productEditCbProduct(array $params) | 188 | + public function productEditCbProduct(array $params = []) |
| 189 | { | 189 | { |
| 190 | $this->builder->method('POST') | 190 | $this->builder->method('POST') |
| 191 | ->service('product.editCbProduct') | 191 | ->service('product.editCbProduct') |
| @@ -196,7 +196,7 @@ class Product extends Request implements ProductInterface | @@ -196,7 +196,7 @@ class Product extends Request implements ProductInterface | ||
| 196 | /** | 196 | /** |
| 197 | * @inheritDoc | 197 | * @inheritDoc |
| 198 | */ | 198 | */ |
| 199 | - public function productGetProductUpdateRule(array $params) | 199 | + public function productGetProductUpdateRule(array $params = []) |
| 200 | { | 200 | { |
| 201 | $this->builder->method('POST') | 201 | $this->builder->method('POST') |
| 202 | ->service('product.getProductUpdateRule') | 202 | ->service('product.getProductUpdateRule') |
| @@ -207,7 +207,7 @@ class Product extends Request implements ProductInterface | @@ -207,7 +207,7 @@ class Product extends Request implements ProductInterface | ||
| 207 | /** | 207 | /** |
| 208 | * @inheritDoc | 208 | * @inheritDoc |
| 209 | */ | 209 | */ |
| 210 | - public function promiseDeliveryList(array $params) | 210 | + public function promiseDeliveryList(array $params = []) |
| 211 | { | 211 | { |
| 212 | $this->builder->method('POST') | 212 | $this->builder->method('POST') |
| 213 | ->service('promise.deliveryList') | 213 | ->service('promise.deliveryList') |
| @@ -218,7 +218,7 @@ class Product extends Request implements ProductInterface | @@ -218,7 +218,7 @@ class Product extends Request implements ProductInterface | ||
| 218 | /** | 218 | /** |
| 219 | * @inheritDoc | 219 | * @inheritDoc |
| 220 | */ | 220 | */ |
| 221 | - public function brandConvert(array $params) | 221 | + public function brandConvert(array $params = []) |
| 222 | { | 222 | { |
| 223 | $this->builder->method('POST') | 223 | $this->builder->method('POST') |
| 224 | ->service('brand.convert') | 224 | ->service('brand.convert') |
| @@ -229,7 +229,7 @@ class Product extends Request implements ProductInterface | @@ -229,7 +229,7 @@ class Product extends Request implements ProductInterface | ||
| 229 | /** | 229 | /** |
| 230 | * @inheritDoc | 230 | * @inheritDoc |
| 231 | */ | 231 | */ |
| 232 | - public function powerPushSecondSortCode(array $params) | 232 | + public function powerPushSecondSortCode(array $params = []) |
| 233 | { | 233 | { |
| 234 | $this->builder->method('POST') | 234 | $this->builder->method('POST') |
| 235 | ->service('power.pushSecondSortCode') | 235 | ->service('power.pushSecondSortCode') |
| @@ -240,7 +240,7 @@ class Product extends Request implements ProductInterface | @@ -240,7 +240,7 @@ class Product extends Request implements ProductInterface | ||
| 240 | /** | 240 | /** |
| 241 | * @inheritDoc | 241 | * @inheritDoc |
| 242 | */ | 242 | */ |
| 243 | - public function productEditCbProductV2(array $params) | 243 | + public function productEditCbProductV2(array $params = []) |
| 244 | { | 244 | { |
| 245 | $this->builder->method('POST') | 245 | $this->builder->method('POST') |
| 246 | ->service('product.editCbProductV2') | 246 | ->service('product.editCbProductV2') |
| @@ -251,7 +251,7 @@ class Product extends Request implements ProductInterface | @@ -251,7 +251,7 @@ class Product extends Request implements ProductInterface | ||
| 251 | /** | 251 | /** |
| 252 | * @inheritDoc | 252 | * @inheritDoc |
| 253 | */ | 253 | */ |
| 254 | - public function productAuditList(array $params) | 254 | + public function productAuditList(array $params = []) |
| 255 | { | 255 | { |
| 256 | $this->builder->method('POST') | 256 | $this->builder->method('POST') |
| 257 | ->service('product.auditList') | 257 | ->service('product.auditList') |
| @@ -262,7 +262,7 @@ class Product extends Request implements ProductInterface | @@ -262,7 +262,7 @@ class Product extends Request implements ProductInterface | ||
| 262 | /** | 262 | /** |
| 263 | * @inheritDoc | 263 | * @inheritDoc |
| 264 | */ | 264 | */ |
| 265 | - public function opptyProductGetApplyProgress(array $params) | 265 | + public function opptyProductGetApplyProgress(array $params = []) |
| 266 | { | 266 | { |
| 267 | $this->builder->method('POST') | 267 | $this->builder->method('POST') |
| 268 | ->service('opptyProduct.getApplyProgress') | 268 | ->service('opptyProduct.getApplyProgress') |
| @@ -273,7 +273,7 @@ class Product extends Request implements ProductInterface | @@ -273,7 +273,7 @@ class Product extends Request implements ProductInterface | ||
| 273 | /** | 273 | /** |
| 274 | * @inheritDoc | 274 | * @inheritDoc |
| 275 | */ | 275 | */ |
| 276 | - public function opptyProductApply(array $params) | 276 | + public function opptyProductApply(array $params = []) |
| 277 | { | 277 | { |
| 278 | $this->builder->method('POST') | 278 | $this->builder->method('POST') |
| 279 | ->service('opptyProduct.apply') | 279 | ->service('opptyProduct.apply') |
| @@ -284,7 +284,7 @@ class Product extends Request implements ProductInterface | @@ -284,7 +284,7 @@ class Product extends Request implements ProductInterface | ||
| 284 | /** | 284 | /** |
| 285 | * @inheritDoc | 285 | * @inheritDoc |
| 286 | */ | 286 | */ |
| 287 | - public function productQualityDetail(array $params) | 287 | + public function productQualityDetail(array $params = []) |
| 288 | { | 288 | { |
| 289 | $this->builder->method('POST') | 289 | $this->builder->method('POST') |
| 290 | ->service('product.qualityDetail') | 290 | ->service('product.qualityDetail') |
| @@ -295,7 +295,7 @@ class Product extends Request implements ProductInterface | @@ -295,7 +295,7 @@ class Product extends Request implements ProductInterface | ||
| 295 | /** | 295 | /** |
| 296 | * @inheritDoc | 296 | * @inheritDoc |
| 297 | */ | 297 | */ |
| 298 | - public function productQualityTask(array $params) | 298 | + public function productQualityTask(array $params = []) |
| 299 | { | 299 | { |
| 300 | $this->builder->method('POST') | 300 | $this->builder->method('POST') |
| 301 | ->service('product.qualityTask') | 301 | ->service('product.qualityTask') |
| @@ -306,7 +306,7 @@ class Product extends Request implements ProductInterface | @@ -306,7 +306,7 @@ class Product extends Request implements ProductInterface | ||
| 306 | /** | 306 | /** |
| 307 | * @inheritDoc | 307 | * @inheritDoc |
| 308 | */ | 308 | */ |
| 309 | - public function productEditBuyerLimit(array $params) | 309 | + public function productEditBuyerLimit(array $params = []) |
| 310 | { | 310 | { |
| 311 | $this->builder->method('POST') | 311 | $this->builder->method('POST') |
| 312 | ->service('product.editBuyerLimit') | 312 | ->service('product.editBuyerLimit') |
| @@ -317,7 +317,7 @@ class Product extends Request implements ProductInterface | @@ -317,7 +317,7 @@ class Product extends Request implements ProductInterface | ||
| 317 | /** | 317 | /** |
| 318 | * @inheritDoc | 318 | * @inheritDoc |
| 319 | */ | 319 | */ |
| 320 | - public function opptyProductClue(array $params) | 320 | + public function opptyProductClue(array $params = []) |
| 321 | { | 321 | { |
| 322 | $this->builder->method('POST') | 322 | $this->builder->method('POST') |
| 323 | ->service('opptyProduct.clue') | 323 | ->service('opptyProduct.clue') |
| @@ -328,7 +328,7 @@ class Product extends Request implements ProductInterface | @@ -328,7 +328,7 @@ class Product extends Request implements ProductInterface | ||
| 328 | /** | 328 | /** |
| 329 | * @inheritDoc | 329 | * @inheritDoc |
| 330 | */ | 330 | */ |
| 331 | - public function spuAddShopSpu(array $params) | 331 | + public function spuAddShopSpu(array $params = []) |
| 332 | { | 332 | { |
| 333 | $this->builder->method('POST') | 333 | $this->builder->method('POST') |
| 334 | ->service('spu.addShopSpu') | 334 | ->service('spu.addShopSpu') |
| @@ -339,7 +339,7 @@ class Product extends Request implements ProductInterface | @@ -339,7 +339,7 @@ class Product extends Request implements ProductInterface | ||
| 339 | /** | 339 | /** |
| 340 | * @inheritDoc | 340 | * @inheritDoc |
| 341 | */ | 341 | */ |
| 342 | - public function spuGetSpuTpl(array $params) | 342 | + public function spuGetSpuTpl(array $params = []) |
| 343 | { | 343 | { |
| 344 | $this->builder->method('POST') | 344 | $this->builder->method('POST') |
| 345 | ->service('spu.getSpuTpl') | 345 | ->service('spu.getSpuTpl') |
| @@ -350,7 +350,7 @@ class Product extends Request implements ProductInterface | @@ -350,7 +350,7 @@ class Product extends Request implements ProductInterface | ||
| 350 | /** | 350 | /** |
| 351 | * @inheritDoc | 351 | * @inheritDoc |
| 352 | */ | 352 | */ |
| 353 | - public function spuGetSpuInfoBySpuId(array $params) | 353 | + public function spuGetSpuInfoBySpuId(array $params = []) |
| 354 | { | 354 | { |
| 355 | $this->builder->method('POST') | 355 | $this->builder->method('POST') |
| 356 | ->service('spu.getSpuInfoBySpuId') | 356 | ->service('spu.getSpuInfoBySpuId') |
| @@ -361,7 +361,7 @@ class Product extends Request implements ProductInterface | @@ -361,7 +361,7 @@ class Product extends Request implements ProductInterface | ||
| 361 | /** | 361 | /** |
| 362 | * @inheritDoc | 362 | * @inheritDoc |
| 363 | */ | 363 | */ |
| 364 | - public function spuGetKeyPropertyByCid(array $params) | 364 | + public function spuGetKeyPropertyByCid(array $params = []) |
| 365 | { | 365 | { |
| 366 | $this->builder->method('POST') | 366 | $this->builder->method('POST') |
| 367 | ->service('spu.getKeyPropertyByCid') | 367 | ->service('spu.getKeyPropertyByCid') |
| @@ -372,7 +372,7 @@ class Product extends Request implements ProductInterface | @@ -372,7 +372,7 @@ class Product extends Request implements ProductInterface | ||
| 372 | /** | 372 | /** |
| 373 | * @inheritDoc | 373 | * @inheritDoc |
| 374 | */ | 374 | */ |
| 375 | - public function skuEditPrice(array $params) | 375 | + public function skuEditPrice(array $params = []) |
| 376 | { | 376 | { |
| 377 | $this->builder->method('POST') | 377 | $this->builder->method('POST') |
| 378 | ->service('sku.editPrice') | 378 | ->service('sku.editPrice') |
| @@ -383,7 +383,7 @@ class Product extends Request implements ProductInterface | @@ -383,7 +383,7 @@ class Product extends Request implements ProductInterface | ||
| 383 | /** | 383 | /** |
| 384 | * @inheritDoc | 384 | * @inheritDoc |
| 385 | */ | 385 | */ |
| 386 | - public function productGetRecommendCategory(array $params) | 386 | + public function productGetRecommendCategory(array $params = []) |
| 387 | { | 387 | { |
| 388 | $this->builder->method('POST') | 388 | $this->builder->method('POST') |
| 389 | ->service('product.GetRecommendCategory') | 389 | ->service('product.GetRecommendCategory') |
| @@ -394,7 +394,7 @@ class Product extends Request implements ProductInterface | @@ -394,7 +394,7 @@ class Product extends Request implements ProductInterface | ||
| 394 | /** | 394 | /** |
| 395 | * @inheritDoc | 395 | * @inheritDoc |
| 396 | */ | 396 | */ |
| 397 | - public function productEditComponentTemplate(array $params) | 397 | + public function productEditComponentTemplate(array $params = []) |
| 398 | { | 398 | { |
| 399 | $this->builder->method('POST') | 399 | $this->builder->method('POST') |
| 400 | ->service('product.editComponentTemplate') | 400 | ->service('product.editComponentTemplate') |
| @@ -405,7 +405,7 @@ class Product extends Request implements ProductInterface | @@ -405,7 +405,7 @@ class Product extends Request implements ProductInterface | ||
| 405 | /** | 405 | /** |
| 406 | * @inheritDoc | 406 | * @inheritDoc |
| 407 | */ | 407 | */ |
| 408 | - public function productCreateComponentTemplateV2(array $params) | 408 | + public function productCreateComponentTemplateV2(array $params = []) |
| 409 | { | 409 | { |
| 410 | $this->builder->method('POST') | 410 | $this->builder->method('POST') |
| 411 | ->service('product.createComponentTemplateV2') | 411 | ->service('product.createComponentTemplateV2') |
| @@ -416,7 +416,7 @@ class Product extends Request implements ProductInterface | @@ -416,7 +416,7 @@ class Product extends Request implements ProductInterface | ||
| 416 | /** | 416 | /** |
| 417 | * @inheritDoc | 417 | * @inheritDoc |
| 418 | */ | 418 | */ |
| 419 | - public function productGetComponentTemplate(array $params) | 419 | + public function productGetComponentTemplate(array $params = []) |
| 420 | { | 420 | { |
| 421 | $this->builder->method('POST') | 421 | $this->builder->method('POST') |
| 422 | ->service('product.getComponentTemplate') | 422 | ->service('product.getComponentTemplate') |
| @@ -2,6 +2,8 @@ | @@ -2,6 +2,8 @@ | ||
| 2 | 2 | ||
| 3 | namespace Lackoxygen\TiktokShop\Request\Product; | 3 | namespace Lackoxygen\TiktokShop\Request\Product; |
| 4 | 4 | ||
| 5 | +use Lackoxygen\TiktokShop\Response\ResultSet; | ||
| 6 | + | ||
| 5 | /** | 7 | /** |
| 6 | * @note 商品API | 8 | * @note 商品API |
| 7 | */ | 9 | */ |
| @@ -13,7 +15,7 @@ interface ProductInterface | @@ -13,7 +15,7 @@ interface ProductInterface | ||
| 13 | * @param array $params | 15 | * @param array $params |
| 14 | * @return ResultSet | 16 | * @return ResultSet |
| 15 | */ | 17 | */ |
| 16 | - public function productListV2(array $params); | 18 | + public function productListV2(array $params = []); |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
| 19 | * 发布商品 | 21 | * 发布商品 |
| @@ -21,7 +23,7 @@ interface ProductInterface | @@ -21,7 +23,7 @@ interface ProductInterface | ||
| 21 | * @param array $params | 23 | * @param array $params |
| 22 | * @return ResultSet | 24 | * @return ResultSet |
| 23 | */ | 25 | */ |
| 24 | - public function productAddV2(array $params); | 26 | + public function productAddV2(array $params = []); |
| 25 | 27 | ||
| 26 | /** | 28 | /** |
| 27 | * 编辑商品 | 29 | * 编辑商品 |
| @@ -29,7 +31,7 @@ interface ProductInterface | @@ -29,7 +31,7 @@ interface ProductInterface | ||
| 29 | * @param array $params | 31 | * @param array $params |
| 30 | * @return ResultSet | 32 | * @return ResultSet |
| 31 | */ | 33 | */ |
| 32 | - public function productEditV2(array $params); | 34 | + public function productEditV2(array $params = []); |
| 33 | 35 | ||
| 34 | /** | 36 | /** |
| 35 | * 商品查询 | 37 | * 商品查询 |
| @@ -37,7 +39,7 @@ interface ProductInterface | @@ -37,7 +39,7 @@ interface ProductInterface | ||
| 37 | * @param array $params | 39 | * @param array $params |
| 38 | * @return ResultSet | 40 | * @return ResultSet |
| 39 | */ | 41 | */ |
| 40 | - public function productDetail(array $params); | 42 | + public function productDetail(array $params = []); |
| 41 | 43 | ||
| 42 | /** | 44 | /** |
| 43 | * 删除商品 | 45 | * 删除商品 |
| @@ -45,7 +47,7 @@ interface ProductInterface | @@ -45,7 +47,7 @@ interface ProductInterface | ||
| 45 | * @param array $params | 47 | * @param array $params |
| 46 | * @return ResultSet | 48 | * @return ResultSet |
| 47 | */ | 49 | */ |
| 48 | - public function productDel(array $params); | 50 | + public function productDel(array $params = []); |
| 49 | 51 | ||
| 50 | /** | 52 | /** |
| 51 | * 获取商品sku详情 | 53 | * 获取商品sku详情 |
| @@ -53,7 +55,7 @@ interface ProductInterface | @@ -53,7 +55,7 @@ interface ProductInterface | ||
| 53 | * @param array $params | 55 | * @param array $params |
| 54 | * @return ResultSet | 56 | * @return ResultSet |
| 55 | */ | 57 | */ |
| 56 | - public function skuDetail(array $params); | 58 | + public function skuDetail(array $params = []); |
| 57 | 59 | ||
| 58 | /** | 60 | /** |
| 59 | * 根据类目id获取可选品牌 | 61 | * 根据类目id获取可选品牌 |
| @@ -61,7 +63,7 @@ interface ProductInterface | @@ -61,7 +63,7 @@ interface ProductInterface | ||
| 61 | * @param array $params | 63 | * @param array $params |
| 62 | * @return ResultSet | 64 | * @return ResultSet |
| 63 | */ | 65 | */ |
| 64 | - public function brandList(array $params); | 66 | + public function brandList(array $params = []); |
| 65 | 67 | ||
| 66 | /** | 68 | /** |
| 67 | * 根据商品分类获取对应的属性列表 | 69 | * 根据商品分类获取对应的属性列表 |
| @@ -69,7 +71,7 @@ interface ProductInterface | @@ -69,7 +71,7 @@ interface ProductInterface | ||
| 69 | * @param array $params | 71 | * @param array $params |
| 70 | * @return ResultSet | 72 | * @return ResultSet |
| 71 | */ | 73 | */ |
| 72 | - public function productGetCatePropertyV2(array $params); | 74 | + public function productGetCatePropertyV2(array $params = []); |
| 73 | 75 | ||
| 74 | /** | 76 | /** |
| 75 | * 商品上架 | 77 | * 商品上架 |
| @@ -77,7 +79,7 @@ interface ProductInterface | @@ -77,7 +79,7 @@ interface ProductInterface | ||
| 77 | * @param array $params | 79 | * @param array $params |
| 78 | * @return ResultSet | 80 | * @return ResultSet |
| 79 | */ | 81 | */ |
| 80 | - public function productSetOnline(array $params); | 82 | + public function productSetOnline(array $params = []); |
| 81 | 83 | ||
| 82 | /** | 84 | /** |
| 83 | * 获取商品sku列表 | 85 | * 获取商品sku列表 |
| @@ -85,7 +87,7 @@ interface ProductInterface | @@ -85,7 +87,7 @@ interface ProductInterface | ||
| 85 | * @param array $params | 87 | * @param array $params |
| 86 | * @return ResultSet | 88 | * @return ResultSet |
| 87 | */ | 89 | */ |
| 88 | - public function skuList(array $params); | 90 | + public function skuList(array $params = []); |
| 89 | 91 | ||
| 90 | /** | 92 | /** |
| 91 | * 商品下架 | 93 | * 商品下架 |
| @@ -93,7 +95,7 @@ interface ProductInterface | @@ -93,7 +95,7 @@ interface ProductInterface | ||
| 93 | * @param array $params | 95 | * @param array $params |
| 94 | * @return ResultSet | 96 | * @return ResultSet |
| 95 | */ | 97 | */ |
| 96 | - public function productSetOffline(array $params); | 98 | + public function productSetOffline(array $params = []); |
| 97 | 99 | ||
| 98 | /** | 100 | /** |
| 99 | * 店铺商品质量查询API | 101 | * 店铺商品质量查询API |
| @@ -101,7 +103,7 @@ interface ProductInterface | @@ -101,7 +103,7 @@ interface ProductInterface | ||
| 101 | * @param array $params | 103 | * @param array $params |
| 102 | * @return ResultSet | 104 | * @return ResultSet |
| 103 | */ | 105 | */ |
| 104 | - public function productQualityList(array $params); | 106 | + public function productQualityList(array $params = []); |
| 105 | 107 | ||
| 106 | /** | 108 | /** |
| 107 | * 修改sku编码 | 109 | * 修改sku编码 |
| @@ -109,7 +111,7 @@ interface ProductInterface | @@ -109,7 +111,7 @@ interface ProductInterface | ||
| 109 | * @param array $params | 111 | * @param array $params |
| 110 | * @return ResultSet | 112 | * @return ResultSet |
| 111 | */ | 113 | */ |
| 112 | - public function skuEditCode(array $params); | 114 | + public function skuEditCode(array $params = []); |
| 113 | 115 | ||
| 114 | /** | 116 | /** |
| 115 | * 获取类目下需要填写的资质列表 | 117 | * 获取类目下需要填写的资质列表 |
| @@ -117,7 +119,7 @@ interface ProductInterface | @@ -117,7 +119,7 @@ interface ProductInterface | ||
| 117 | * @param array $params | 119 | * @param array $params |
| 118 | * @return ResultSet | 120 | * @return ResultSet |
| 119 | */ | 121 | */ |
| 120 | - public function productQualificationConfig(array $params); | 122 | + public function productQualificationConfig(array $params = []); |
| 121 | 123 | ||
| 122 | /** | 124 | /** |
| 123 | * 新增跨境/海南商品 | 125 | * 新增跨境/海南商品 |
| @@ -125,7 +127,7 @@ interface ProductInterface | @@ -125,7 +127,7 @@ interface ProductInterface | ||
| 125 | * @param array $params | 127 | * @param array $params |
| 126 | * @return ResultSet | 128 | * @return ResultSet |
| 127 | */ | 129 | */ |
| 128 | - public function productAddCbProduct(array $params); | 130 | + public function productAddCbProduct(array $params = []); |
| 129 | 131 | ||
| 130 | /** | 132 | /** |
| 131 | * 通过前缀匹配召回品牌信息 | 133 | * 通过前缀匹配召回品牌信息 |
| @@ -133,7 +135,7 @@ interface ProductInterface | @@ -133,7 +135,7 @@ interface ProductInterface | ||
| 133 | * @param array $params | 135 | * @param array $params |
| 134 | * @return ResultSet | 136 | * @return ResultSet |
| 135 | */ | 137 | */ |
| 136 | - public function brandGetSug(array $params); | 138 | + public function brandGetSug(array $params = []); |
| 137 | 139 | ||
| 138 | /** | 140 | /** |
| 139 | * 编辑一个跨境/海南商品 | 141 | * 编辑一个跨境/海南商品 |
| @@ -141,7 +143,7 @@ interface ProductInterface | @@ -141,7 +143,7 @@ interface ProductInterface | ||
| 141 | * @param array $params | 143 | * @param array $params |
| 142 | * @return ResultSet | 144 | * @return ResultSet |
| 143 | */ | 145 | */ |
| 144 | - public function productEditCbProduct(array $params); | 146 | + public function productEditCbProduct(array $params = []); |
| 145 | 147 | ||
| 146 | /** | 148 | /** |
| 147 | * 查询商品发布规则 | 149 | * 查询商品发布规则 |
| @@ -149,7 +151,7 @@ interface ProductInterface | @@ -149,7 +151,7 @@ interface ProductInterface | ||
| 149 | * @param array $params | 151 | * @param array $params |
| 150 | * @return ResultSet | 152 | * @return ResultSet |
| 151 | */ | 153 | */ |
| 152 | - public function productGetProductUpdateRule(array $params); | 154 | + public function productGetProductUpdateRule(array $params = []); |
| 153 | 155 | ||
| 154 | /** | 156 | /** |
| 155 | * 商家发货时效配置推荐 | 157 | * 商家发货时效配置推荐 |
| @@ -157,7 +159,7 @@ interface ProductInterface | @@ -157,7 +159,7 @@ interface ProductInterface | ||
| 157 | * @param array $params | 159 | * @param array $params |
| 158 | * @return ResultSet | 160 | * @return ResultSet |
| 159 | */ | 161 | */ |
| 160 | - public function promiseDeliveryList(array $params); | 162 | + public function promiseDeliveryList(array $params = []); |
| 161 | 163 | ||
| 162 | /** | 164 | /** |
| 163 | * 兼容老品牌id转为新品牌id | 165 | * 兼容老品牌id转为新品牌id |
| @@ -165,7 +167,7 @@ interface ProductInterface | @@ -165,7 +167,7 @@ interface ProductInterface | ||
| 165 | * @param array $params | 167 | * @param array $params |
| 166 | * @return ResultSet | 168 | * @return ResultSet |
| 167 | */ | 169 | */ |
| 168 | - public function brandConvert(array $params); | 170 | + public function brandConvert(array $params = []); |
| 169 | 171 | ||
| 170 | /** | 172 | /** |
| 171 | * 二段码推送(仅用于兼容老物流网关) | 173 | * 二段码推送(仅用于兼容老物流网关) |
| @@ -173,7 +175,7 @@ interface ProductInterface | @@ -173,7 +175,7 @@ interface ProductInterface | ||
| 173 | * @param array $params | 175 | * @param array $params |
| 174 | * @return ResultSet | 176 | * @return ResultSet |
| 175 | */ | 177 | */ |
| 176 | - public function powerPushSecondSortCode(array $params); | 178 | + public function powerPushSecondSortCode(array $params = []); |
| 177 | 179 | ||
| 178 | /** | 180 | /** |
| 179 | * 编辑一个跨境/海南商品 | 181 | * 编辑一个跨境/海南商品 |
| @@ -181,7 +183,7 @@ interface ProductInterface | @@ -181,7 +183,7 @@ interface ProductInterface | ||
| 181 | * @param array $params | 183 | * @param array $params |
| 182 | * @return ResultSet | 184 | * @return ResultSet |
| 183 | */ | 185 | */ |
| 184 | - public function productEditCbProductV2(array $params); | 186 | + public function productEditCbProductV2(array $params = []); |
| 185 | 187 | ||
| 186 | /** | 188 | /** |
| 187 | * 审核记录列表 | 189 | * 审核记录列表 |
| @@ -189,7 +191,7 @@ interface ProductInterface | @@ -189,7 +191,7 @@ interface ProductInterface | ||
| 189 | * @param array $params | 191 | * @param array $params |
| 190 | * @return ResultSet | 192 | * @return ResultSet |
| 191 | */ | 193 | */ |
| 192 | - public function productAuditList(array $params); | 194 | + public function productAuditList(array $params = []); |
| 193 | 195 | ||
| 194 | /** | 196 | /** |
| 195 | * 机会品提报进度查询 | 197 | * 机会品提报进度查询 |
| @@ -197,7 +199,7 @@ interface ProductInterface | @@ -197,7 +199,7 @@ interface ProductInterface | ||
| 197 | * @param array $params | 199 | * @param array $params |
| 198 | * @return ResultSet | 200 | * @return ResultSet |
| 199 | */ | 201 | */ |
| 200 | - public function opptyProductGetApplyProgress(array $params); | 202 | + public function opptyProductGetApplyProgress(array $params = []); |
| 201 | 203 | ||
| 202 | /** | 204 | /** |
| 203 | * 机会品提报 | 205 | * 机会品提报 |
| @@ -205,7 +207,7 @@ interface ProductInterface | @@ -205,7 +207,7 @@ interface ProductInterface | ||
| 205 | * @param array $params | 207 | * @param array $params |
| 206 | * @return ResultSet | 208 | * @return ResultSet |
| 207 | */ | 209 | */ |
| 208 | - public function opptyProductApply(array $params); | 210 | + public function opptyProductApply(array $params = []); |
| 209 | 211 | ||
| 210 | /** | 212 | /** |
| 211 | * 商品信息质量分查询API | 213 | * 商品信息质量分查询API |
| @@ -213,7 +215,7 @@ interface ProductInterface | @@ -213,7 +215,7 @@ interface ProductInterface | ||
| 213 | * @param array $params | 215 | * @param array $params |
| 214 | * @return ResultSet | 216 | * @return ResultSet |
| 215 | */ | 217 | */ |
| 216 | - public function productQualityDetail(array $params); | 218 | + public function productQualityDetail(array $params = []); |
| 217 | 219 | ||
| 218 | /** | 220 | /** |
| 219 | * 商品每日诊断任务查询API | 221 | * 商品每日诊断任务查询API |
| @@ -221,7 +223,7 @@ interface ProductInterface | @@ -221,7 +223,7 @@ interface ProductInterface | ||
| 221 | * @param array $params | 223 | * @param array $params |
| 222 | * @return ResultSet | 224 | * @return ResultSet |
| 223 | */ | 225 | */ |
| 224 | - public function productQualityTask(array $params); | 226 | + public function productQualityTask(array $params = []); |
| 225 | 227 | ||
| 226 | /** | 228 | /** |
| 227 | * 设置商品限购 | 229 | * 设置商品限购 |
| @@ -229,7 +231,7 @@ interface ProductInterface | @@ -229,7 +231,7 @@ interface ProductInterface | ||
| 229 | * @param array $params | 231 | * @param array $params |
| 230 | * @return ResultSet | 232 | * @return ResultSet |
| 231 | */ | 233 | */ |
| 232 | - public function productEditBuyerLimit(array $params); | 234 | + public function productEditBuyerLimit(array $params = []); |
| 233 | 235 | ||
| 234 | /** | 236 | /** |
| 235 | * 机会品线索触达 | 237 | * 机会品线索触达 |
| @@ -237,7 +239,7 @@ interface ProductInterface | @@ -237,7 +239,7 @@ interface ProductInterface | ||
| 237 | * @param array $params | 239 | * @param array $params |
| 238 | * @return ResultSet | 240 | * @return ResultSet |
| 239 | */ | 241 | */ |
| 240 | - public function opptyProductClue(array $params); | 242 | + public function opptyProductClue(array $params = []); |
| 241 | 243 | ||
| 242 | /** | 244 | /** |
| 243 | * 店铺新增SPU | 245 | * 店铺新增SPU |
| @@ -245,7 +247,7 @@ interface ProductInterface | @@ -245,7 +247,7 @@ interface ProductInterface | ||
| 245 | * @param array $params | 247 | * @param array $params |
| 246 | * @return ResultSet | 248 | * @return ResultSet |
| 247 | */ | 249 | */ |
| 248 | - public function spuAddShopSpu(array $params); | 250 | + public function spuAddShopSpu(array $params = []); |
| 249 | 251 | ||
| 250 | /** | 252 | /** |
| 251 | * 获取spu模板 | 253 | * 获取spu模板 |
| @@ -253,7 +255,7 @@ interface ProductInterface | @@ -253,7 +255,7 @@ interface ProductInterface | ||
| 253 | * @param array $params | 255 | * @param array $params |
| 254 | * @return ResultSet | 256 | * @return ResultSet |
| 255 | */ | 257 | */ |
| 256 | - public function spuGetSpuTpl(array $params); | 258 | + public function spuGetSpuTpl(array $params = []); |
| 257 | 259 | ||
| 258 | /** | 260 | /** |
| 259 | * SPU信息查看 | 261 | * SPU信息查看 |
| @@ -261,7 +263,7 @@ interface ProductInterface | @@ -261,7 +263,7 @@ interface ProductInterface | ||
| 261 | * @param array $params | 263 | * @param array $params |
| 262 | * @return ResultSet | 264 | * @return ResultSet |
| 263 | */ | 265 | */ |
| 264 | - public function spuGetSpuInfoBySpuId(array $params); | 266 | + public function spuGetSpuInfoBySpuId(array $params = []); |
| 265 | 267 | ||
| 266 | /** | 268 | /** |
| 267 | * 关键属性查询接口 | 269 | * 关键属性查询接口 |
| @@ -269,7 +271,7 @@ interface ProductInterface | @@ -269,7 +271,7 @@ interface ProductInterface | ||
| 269 | * @param array $params | 271 | * @param array $params |
| 270 | * @return ResultSet | 272 | * @return ResultSet |
| 271 | */ | 273 | */ |
| 272 | - public function spuGetKeyPropertyByCid(array $params); | 274 | + public function spuGetKeyPropertyByCid(array $params = []); |
| 273 | 275 | ||
| 274 | /** | 276 | /** |
| 275 | * 编辑sku价格 | 277 | * 编辑sku价格 |
| @@ -277,7 +279,7 @@ interface ProductInterface | @@ -277,7 +279,7 @@ interface ProductInterface | ||
| 277 | * @param array $params | 279 | * @param array $params |
| 278 | * @return ResultSet | 280 | * @return ResultSet |
| 279 | */ | 281 | */ |
| 280 | - public function skuEditPrice(array $params); | 282 | + public function skuEditPrice(array $params = []); |
| 281 | 283 | ||
| 282 | /** | 284 | /** |
| 283 | * 商品类目预测 | 285 | * 商品类目预测 |
| @@ -285,7 +287,7 @@ interface ProductInterface | @@ -285,7 +287,7 @@ interface ProductInterface | ||
| 285 | * @param array $params | 287 | * @param array $params |
| 286 | * @return ResultSet | 288 | * @return ResultSet |
| 287 | */ | 289 | */ |
| 288 | - public function productGetRecommendCategory(array $params); | 290 | + public function productGetRecommendCategory(array $params = []); |
| 289 | 291 | ||
| 290 | /** | 292 | /** |
| 291 | * 编辑尺码模板 | 293 | * 编辑尺码模板 |
| @@ -293,7 +295,7 @@ interface ProductInterface | @@ -293,7 +295,7 @@ interface ProductInterface | ||
| 293 | * @param array $params | 295 | * @param array $params |
| 294 | * @return ResultSet | 296 | * @return ResultSet |
| 295 | */ | 297 | */ |
| 296 | - public function productEditComponentTemplate(array $params); | 298 | + public function productEditComponentTemplate(array $params = []); |
| 297 | 299 | ||
| 298 | /** | 300 | /** |
| 299 | * 创建尺码模板 | 301 | * 创建尺码模板 |
| @@ -301,7 +303,7 @@ interface ProductInterface | @@ -301,7 +303,7 @@ interface ProductInterface | ||
| 301 | * @param array $params | 303 | * @param array $params |
| 302 | * @return ResultSet | 304 | * @return ResultSet |
| 303 | */ | 305 | */ |
| 304 | - public function productCreateComponentTemplateV2(array $params); | 306 | + public function productCreateComponentTemplateV2(array $params = []); |
| 305 | 307 | ||
| 306 | /** | 308 | /** |
| 307 | * 分页查询模板列表 | 309 | * 分页查询模板列表 |
| @@ -309,5 +311,5 @@ interface ProductInterface | @@ -309,5 +311,5 @@ interface ProductInterface | ||
| 309 | * @param array $params | 311 | * @param array $params |
| 310 | * @return ResultSet | 312 | * @return ResultSet |
| 311 | */ | 313 | */ |
| 312 | - public function productGetComponentTemplate(array $params); | 314 | + public function productGetComponentTemplate(array $params = []); |
| 313 | } | 315 | } |
-
请 注册 或 登录 后发表评论