作者 lackoxygen

feat:结构

正在显示 56 个修改的文件 包含 2201 行增加2221 行删除

要显示太多修改。

为保证性能只显示 56 of 56+ 个文件。

@@ -440,7 +440,7 @@ class Main @@ -440,7 +440,7 @@ class Main
440 440
441 $metaMethods = array_map(function ($target) { 441 $metaMethods = array_map(function ($target) {
442 $name = ucfirst($target); 442 $name = ucfirst($target);
443 - $interface = sprintf('Passage\\%s\\%sInterface', $name, $name); 443 + $interface = sprintf('Request\\%s\\%sInterface', $name, $name);
444 $method = lcfirst($target); 444 $method = lcfirst($target);
445 return ' * @method ' . $interface . ' ' . $method . '()'; 445 return ' * @method ' . $interface . ' ' . $method . '()';
446 }, $targets); 446 }, $targets);
@@ -477,9 +477,9 @@ class Main @@ -477,9 +477,9 @@ class Main
477 477
478 namespace Lackoxygen\TiktokShop\Facade; 478 namespace Lackoxygen\TiktokShop\Facade;
479 479
480 -use Lackoxygen\TiktokShop\Passage; 480 +use Lackoxygen\TiktokShop\Request;
481 use Illuminate\Support\Facades\Facade; 481 use Illuminate\Support\Facades\Facade;
482 -use Lackoxygen\TiktokShop\Passage\Verify; 482 +use Lackoxygen\TiktokShop\Support\Verify;
483 use Lackoxygen\TiktokShop\TiktokShop as TiktokShopKernel; 483 use Lackoxygen\TiktokShop\TiktokShop as TiktokShopKernel;
484 484
485 \${ANNOTATE} 485 \${ANNOTATE}
@@ -601,7 +601,7 @@ class CodeWriter @@ -601,7 +601,7 @@ class CodeWriter
601 601
602 global $src_path; 602 global $src_path;
603 603
604 - $baseDir = $src_path . '/Passage'; 604 + $baseDir = $src_path . '/Request';
605 605
606 $directory = $baseDir . '/' . $class->toArray()['name']; 606 $directory = $baseDir . '/' . $class->toArray()['name'];
607 607
@@ -626,9 +626,7 @@ class CodeGenerateInterface @@ -626,9 +626,7 @@ class CodeGenerateInterface
626 { 626 {
627 protected static string $template = <<<temp 627 protected static string $template = <<<temp
628 <?php 628 <?php
629 -namespace Lackoxygen\TiktokShop\Passage\\\${SECTION};  
630 -  
631 -use Lackoxygen\TiktokShop\Passage\ResultSet; 629 +namespace Lackoxygen\TiktokShop\Request\\\${SECTION};
632 630
633 /** 631 /**
634 * @note \${ANNOTATE} 632 * @note \${ANNOTATE}
@@ -721,11 +719,11 @@ class CodeGenerateClass @@ -721,11 +719,11 @@ class CodeGenerateClass
721 protected static string $template = <<<temp 719 protected static string $template = <<<temp
722 <?php 720 <?php
723 721
724 -namespace Lackoxygen\TiktokShop\Passage\\\${SECTION}; 722 +namespace Lackoxygen\TiktokShop\Request\\\${SECTION};
725 723
726 -use Lackoxygen\TiktokShop\Passage\Passage; 724 +use Lackoxygen\TiktokShop\Request\Request;
727 725
728 -class \${NAME} extends Passage implements \${INTERFACE} 726 +class \${NAME} extends Request implements \${INTERFACE}
729 { 727 {
730 \${METHOD} 728 \${METHOD}
731 } 729 }
  1 +<?php
  2 +
  3 +namespace Lackoxygen\TiktokShop\Attribute\Config;
  4 +
  5 +class Config
  6 +{
  7 + /**
  8 + * @var Option
  9 + */
  10 + protected Option $config;
  11 +
  12 + /**
  13 + * @param Option $option
  14 + */
  15 + public function __construct(Option $option)
  16 + {
  17 + $this->config = $option;
  18 + }
  19 +
  20 + /**
  21 + * @return Option
  22 + */
  23 + public function getConfig(): Option
  24 + {
  25 + return clone $this->config;
  26 + }
  27 +}
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Attribute; 3 +namespace Lackoxygen\TiktokShop\Attribute\Config;
4 4
5 -class Config 5 +class Option
6 { 6 {
7 - private string $appKey = ''; 7 + /**
  8 + * @var string
  9 + */
  10 + private string $appKey;
8 11
9 - private string $appSecret = ''; 12 + /**
  13 + * @var string
  14 + */
  15 + private string $appSecret;
10 16
11 - private bool $enableMock = false; 17 + /**
  18 + * @var bool
  19 + */
  20 + private bool $enableMock;
12 21
13 - private string $baseUri = ''; 22 + /**
  23 + * @var string
  24 + */
  25 + private string $baseUri;
14 26
  27 + /**
  28 + * @var string
  29 + */
15 private string $accessToken = ''; 30 private string $accessToken = '';
16 31
  32 + /**
  33 + * @var float
  34 + */
17 private float $timeout; 35 private float $timeout;
18 36
  37 + /**
  38 + * @param string $appKey
  39 + * @param string $appSecret
  40 + * @param string $baseUri
  41 + * @param float $timeout
  42 + * @param bool $enableMock
  43 + */
19 public function __construct( 44 public function __construct(
20 string $appKey = '', 45 string $appKey = '',
21 string $appSecret = '', 46 string $appSecret = '',
22 string $baseUri = '', 47 string $baseUri = '',
23 - float $timeout = 30.0,  
24 - bool $enableMock = false 48 + float $timeout = 30.0,
  49 + bool $enableMock = false
25 ) { 50 ) {
26 $this->appKey = $appKey; 51 $this->appKey = $appKey;
27 $this->appSecret = $appSecret; 52 $this->appSecret = $appSecret;
@@ -2,39 +2,44 @@ @@ -2,39 +2,44 @@
2 2
3 namespace Lackoxygen\TiktokShop\Attribute; 3 namespace Lackoxygen\TiktokShop\Attribute;
4 4
5 -class Request 5 +use Lackoxygen\TiktokShop\Attribute\Config\Config;
  6 +
  7 +class Request extends Config
6 { 8 {
  9 + /**
  10 + * @var string
  11 + */
7 private string $service = ''; 12 private string $service = '';
8 13
  14 + /**
  15 + * @var string
  16 + */
9 private string $timestamp = ''; 17 private string $timestamp = '';
10 18
  19 + /**
  20 + * @var string
  21 + */
11 private string $v = '2'; 22 private string $v = '2';
12 23
  24 + /**
  25 + * @var string
  26 + */
13 private string $method = 'GET'; 27 private string $method = 'GET';
14 28
  29 + /**
  30 + * @var array
  31 + */
15 private array $params = []; 32 private array $params = [];
16 33
17 - protected string $path = '';  
18 -  
19 - private bool $signature = true;  
20 -  
21 - private Config $config;  
22 -  
23 /** 34 /**
24 - * @param mixed $config 35 + * @var string
25 */ 36 */
26 - public function setConfig(Config $config): void  
27 - {  
28 - $this->config = $config;  
29 - } 37 + protected string $path = '';
30 38
31 /** 39 /**
32 - * @return mixed 40 + * @var bool
33 */ 41 */
34 - public function getConfig(): Config  
35 - {  
36 - return $this->config;  
37 - } 42 + private bool $signature = true;
38 43
39 /** 44 /**
40 * @return string 45 * @return string
1 -<?php  
2 -  
3 -namespace Lackoxygen\TiktokShop\Command;  
4 -  
5 -use Lackoxygen\TiktokShop\Supervisor\Session\SessionHeart;  
6 -use Illuminate\Console\Command;  
7 -  
8 -class RefreshToken extends Command  
9 -{  
10 - /**  
11 - * The name and signature of the console command.  
12 - *  
13 - * @var string  
14 - */  
15 - protected $signature = 'tiktok-shop:refresh.token';  
16 -  
17 - /**  
18 - * The console command description.  
19 - *  
20 - * @var string  
21 - */  
22 - protected $description = 'The refresh tiktok shop token';  
23 -  
24 - /**  
25 - * Create a new command instance.  
26 - *  
27 - * @return void  
28 - */  
29 - public function __construct()  
30 - {  
31 - parent::__construct();  
32 - }  
33 -  
34 - /**  
35 - * Execute the console command.  
36 - *  
37 - * @return int  
38 - */  
39 - public function handle()  
40 - {  
41 - SessionHeart::new()->keepalive();  
42 -  
43 - return 0;  
44 - }  
45 -}  
1 -<?php  
2 -  
3 -namespace Lackoxygen\TiktokShop\Contracts;  
4 -  
5 -interface SessionInterface  
6 -{  
7 - public function id(): string;  
8 -  
9 - public function unEffective(): bool;  
10 -  
11 - public function effective(): bool;  
12 -  
13 - public function discard();  
14 -  
15 - public function watch(): bool;  
16 -  
17 - public function appKey(): string;  
18 -}  
@@ -2,38 +2,38 @@ @@ -2,38 +2,38 @@
2 2
3 namespace Lackoxygen\TiktokShop\Facade; 3 namespace Lackoxygen\TiktokShop\Facade;
4 4
5 -use Lackoxygen\TiktokShop\Passage; 5 +use Lackoxygen\TiktokShop\Request;
6 use Illuminate\Support\Facades\Facade; 6 use Illuminate\Support\Facades\Facade;
7 -use Lackoxygen\TiktokShop\Passage\Verify; 7 +use Lackoxygen\TiktokShop\Support\Verify;
8 use Lackoxygen\TiktokShop\TiktokShop as TiktokShopKernel; 8 use Lackoxygen\TiktokShop\TiktokShop as TiktokShopKernel;
9 9
10 /** 10 /**
11 * @method static TiktokShopKernel setAccessToken(string $accessToken) 11 * @method static TiktokShopKernel setAccessToken(string $accessToken)
12 * @method static TiktokShopKernel use ($options) 12 * @method static TiktokShopKernel use ($options)
13 * @method static Verify verify() 13 * @method static Verify verify()
14 - * @method static Passage\Pigeon\PigeonInterface pigeon()  
15 - * @method static Passage\Sms\SmsInterface sms()  
16 - * @method static Passage\SupplyChain\SupplyChainInterface supplyChain()  
17 - * @method static Passage\Topup\TopupInterface topup()  
18 - * @method static Passage\OpenCloud\OpenCloudInterface openCloud()  
19 - * @method static Passage\Btas\BtasInterface btas()  
20 - * @method static Passage\Recycle\RecycleInterface recycle()  
21 - * @method static Passage\Member\MemberInterface member()  
22 - * @method static Passage\Buyin\BuyinInterface buyin()  
23 - * @method static Passage\Yunc\YuncInterface yunc()  
24 - * @method static Passage\OrderCode\OrderCodeInterface orderCode()  
25 - * @method static Passage\Coupons\CouponsInterface coupons()  
26 - * @method static Passage\Crossborder\CrossborderInterface crossborder()  
27 - * @method static Passage\Iop\IopInterface iop()  
28 - * @method static Passage\Antispam\AntispamInterface antispam()  
29 - * @method static Passage\Token\TokenInterface token()  
30 - * @method static Passage\Order\OrderInterface order()  
31 - * @method static Passage\AfterSale\AfterSaleInterface afterSale()  
32 - * @method static Passage\Logistics\LogisticsInterface logistics()  
33 - * @method static Passage\Warehouse\WarehouseInterface warehouse()  
34 - * @method static Passage\Product\ProductInterface product()  
35 - * @method static Passage\Material\MaterialInterface material()  
36 - * @method static Passage\Address\AddressInterface address() 14 + * @method static Request\Pigeon\PigeonInterface pigeon()
  15 + * @method static Request\Sms\SmsInterface sms()
  16 + * @method static Request\SupplyChain\SupplyChainInterface supplyChain()
  17 + * @method static Request\Topup\TopupInterface topup()
  18 + * @method static Request\OpenCloud\OpenCloudInterface openCloud()
  19 + * @method static Request\Btas\BtasInterface btas()
  20 + * @method static Request\Recycle\RecycleInterface recycle()
  21 + * @method static Request\Member\MemberInterface member()
  22 + * @method static Request\Buyin\BuyinInterface buyin()
  23 + * @method static Request\Yunc\YuncInterface yunc()
  24 + * @method static Request\OrderCode\OrderCodeInterface orderCode()
  25 + * @method static Request\Coupons\CouponsInterface coupons()
  26 + * @method static Request\Crossborder\CrossborderInterface crossborder()
  27 + * @method static Request\Iop\IopInterface iop()
  28 + * @method static Request\Antispam\AntispamInterface antispam()
  29 + * @method static Request\Token\TokenInterface token()
  30 + * @method static Request\Order\OrderInterface order()
  31 + * @method static Request\AfterSale\AfterSaleInterface afterSale()
  32 + * @method static Request\Logistics\LogisticsInterface logistics()
  33 + * @method static Request\Warehouse\WarehouseInterface warehouse()
  34 + * @method static Request\Product\ProductInterface product()
  35 + * @method static Request\Material\MaterialInterface material()
  36 + * @method static Request\Address\AddressInterface address()
37 */ 37 */
38 38
39 class TiktokShop extends Facade 39 class TiktokShop extends Facade
@@ -2,16 +2,13 @@ @@ -2,16 +2,13 @@
2 2
3 namespace Lackoxygen\TiktokShop\Mock; 3 namespace Lackoxygen\TiktokShop\Mock;
4 4
5 -use Lackoxygen\TiktokShop\Attribute\Config;  
6 -use Lackoxygen\TiktokShop\Attribute\Request;  
7 -use Lackoxygen\TiktokShop\Exception\ClientException;  
8 -use Lackoxygen\TiktokShop\Exception\MockException;  
9 -use Lackoxygen\TiktokShop\Util\Json;  
10 use GuzzleHttp\Client; 5 use GuzzleHttp\Client;
11 use GuzzleHttp\Exception\GuzzleException; 6 use GuzzleHttp\Exception\GuzzleException;
12 use GuzzleHttp\Psr7\Response; 7 use GuzzleHttp\Psr7\Response;
13 use GuzzleHttp\RequestOptions; 8 use GuzzleHttp\RequestOptions;
14 -use Illuminate\Support\Arr; 9 +use Lackoxygen\TiktokShop\Exception\ClientException;
  10 +use Lackoxygen\TiktokShop\Exception\MockException;
  11 +use Lackoxygen\TiktokShop\Util\Json;
15 12
16 class Mock 13 class Mock
17 { 14 {
1 -<?php  
2 -  
3 -namespace Lackoxygen\TiktokShop\Passage;  
4 -  
5 -use Lackoxygen\TiktokShop\Attribute\Config;  
6 -use Lackoxygen\TiktokShop\Exception\ClientException;  
7 -  
8 -class PassageProxy  
9 -{  
10 - protected string $passage;  
11 -  
12 - protected Config $config;  
13 -  
14 - protected function __construct(string $passage, Config $config)  
15 - {  
16 - $this->passage = $passage;  
17 -  
18 - $this->config = $config;  
19 - }  
20 -  
21 - public static function proxy(string $passage, Config $config): PassageProxy  
22 - {  
23 - return new self($passage, $config);  
24 - }  
25 -  
26 - /**  
27 - * @throws ClientException  
28 - */  
29 - public function __call($name, $arguments): ResultSet  
30 - {  
31 - /**  
32 - * @var Passage $passage  
33 - */  
34 - $passage = new $this->passage($this->config, $name);  
35 -  
36 - $result = call_user_func_array([$passage, $name], $arguments);  
37 -  
38 - if (!is_null($result)) {  
39 - return new ResultSet($result);  
40 - }  
41 -  
42 - return new ResultSet($passage());  
43 - }  
44 -}  
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Address; 3 +namespace Lackoxygen\TiktokShop\Request\Address;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Address extends Passage implements AddressInterface 7 +class Address extends Request implements AddressInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Address;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Address;
6 4
7 /** 5 /**
8 * @note 店铺API 6 * @note 店铺API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\AfterSale; 3 +namespace Lackoxygen\TiktokShop\Request\AfterSale;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class AfterSale extends Passage implements AfterSaleInterface 7 +class AfterSale extends Request implements AfterSaleInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\AfterSale;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\AfterSale;
6 4
7 /** 5 /**
8 * @note 售后退款API 6 * @note 售后退款API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Antispam; 3 +namespace Lackoxygen\TiktokShop\Request\Antispam;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Antispam extends Passage implements AntispamInterface 7 +class Antispam extends Request implements AntispamInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Antispam;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Antispam;
6 4
7 /** 5 /**
8 * @note 风控安全API 6 * @note 风控安全API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Btas; 3 +namespace Lackoxygen\TiktokShop\Request\Btas;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Btas extends Passage implements BtasInterface 7 +class Btas extends Request implements BtasInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Btas;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Btas;
6 4
7 /** 5 /**
8 * @note BTAS质检API 6 * @note BTAS质检API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Buyin; 3 +namespace Lackoxygen\TiktokShop\Request\Buyin;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Buyin extends Passage implements BuyinInterface 7 +class Buyin extends Request implements BuyinInterface
8 { 8 {
9 - /**  
10 - * @inheritDoc  
11 - */  
12 - public function buyinSimplePlan(array $params)  
13 - {  
14 - $this->builder->method('POST')  
15 - ->service('buyin.simplePlan')  
16 - ->path('/buyin/simplePlan')  
17 - ->params($params);  
18 - }  
19 -  
20 - /**  
21 - * @inheritDoc  
22 - */  
23 - public function buyinShopActivityList(array $params)  
24 - {  
25 - $this->builder->method('POST')  
26 - ->service('buyin.ShopActivityList')  
27 - ->path('/buyin/ShopActivityList')  
28 - ->params($params);  
29 - }  
30 -  
31 - /**  
32 - * @inheritDoc  
33 - */  
34 - public function buyinShopActivityDetail(array $params)  
35 - {  
36 - $this->builder->method('POST')  
37 - ->service('buyin.shopActivityDetail')  
38 - ->path('/buyin/shopActivityDetail')  
39 - ->params($params);  
40 - }  
41 -  
42 - /**  
43 - * @inheritDoc  
44 - */  
45 - public function buyinApplyActivities(array $params)  
46 - {  
47 - $this->builder->method('POST')  
48 - ->service('buyin.applyActivities')  
49 - ->path('/buyin/applyActivities')  
50 - ->params($params);  
51 - }  
52 -  
53 - /**  
54 - * @inheritDoc  
55 - */  
56 - public function buyinActivityProductExtendList(array $params)  
57 - {  
58 - $this->builder->method('POST')  
59 - ->service('buyin.activityProductExtendList')  
60 - ->path('/buyin/activityProductExtendList')  
61 - ->params($params);  
62 - }  
63 -  
64 - /**  
65 - * @inheritDoc  
66 - */  
67 - public function buyinActivityProductExtendApprove(array $params)  
68 - {  
69 - $this->builder->method('POST')  
70 - ->service('buyin.activityProductExtendApprove')  
71 - ->path('/buyin/activityProductExtendApprove')  
72 - ->params($params);  
73 - }  
74 -  
75 - /**  
76 - * @inheritDoc  
77 - */  
78 - public function buyinCreateOrUpdateOrienPlan(array $params)  
79 - {  
80 - $this->builder->method('POST')  
81 - ->service('buyin.createOrUpdateOrienPlan')  
82 - ->path('/buyin/createOrUpdateOrienPlan')  
83 - ->params($params);  
84 - }  
85 -  
86 - /**  
87 - * @inheritDoc  
88 - */  
89 - public function buyinOrienPlanList(array $params)  
90 - {  
91 - $this->builder->method('POST')  
92 - ->service('buyin.orienPlanList')  
93 - ->path('/buyin/orienPlanList')  
94 - ->params($params);  
95 - }  
96 -  
97 - /**  
98 - * @inheritDoc  
99 - */  
100 - public function buyinOrienPlanCtrl(array $params)  
101 - {  
102 - $this->builder->method('POST')  
103 - ->service('buyin.orienPlanCtrl')  
104 - ->path('/buyin/orienPlanCtrl')  
105 - ->params($params);  
106 - }  
107 -  
108 - /**  
109 - * @inheritDoc  
110 - */  
111 - public function buyinOrienPlanAuthors(array $params)  
112 - {  
113 - $this->builder->method('POST')  
114 - ->service('buyin.orienPlanAuthors')  
115 - ->path('/buyin/orienPlanAuthors')  
116 - ->params($params);  
117 - }  
118 -  
119 - /**  
120 - * @inheritDoc  
121 - */  
122 - public function buyinOrienPlanAuthorsAdd(array $params)  
123 - {  
124 - $this->builder->method('POST')  
125 - ->service('buyin.orienPlanAuthorsAdd')  
126 - ->path('/buyin/orienPlanAuthorsAdd')  
127 - ->params($params);  
128 - }  
129 -  
130 - /**  
131 - * @inheritDoc  
132 - */  
133 - public function buyinOrienPlanAudit(array $params)  
134 - {  
135 - $this->builder->method('POST')  
136 - ->service('buyin.orienPlanAudit')  
137 - ->path('/buyin/orienPlanAudit')  
138 - ->params($params);  
139 - }  
140 -  
141 - /**  
142 - * @inheritDoc  
143 - */  
144 - public function buyinExclusivePlan(array $params)  
145 - {  
146 - $this->builder->method('POST')  
147 - ->service('buyin.exclusivePlan')  
148 - ->path('/buyin/exclusivePlan')  
149 - ->params($params);  
150 - }  
151 -  
152 - /**  
153 - * @inheritDoc  
154 - */  
155 - public function buyinExclusivePlanAuthorOperate(array $params)  
156 - {  
157 - $this->builder->method('POST')  
158 - ->service('buyin.exclusivePlanAuthorOperate')  
159 - ->path('/buyin/exclusivePlanAuthorOperate')  
160 - ->params($params);  
161 - }  
162 -  
163 - /**  
164 - * @inheritDoc  
165 - */  
166 - public function allianceColonelActivityCreateOrUpdate(array $params)  
167 - {  
168 - $this->builder->method('POST')  
169 - ->service('alliance.colonelActivityCreateOrUpdate')  
170 - ->path('/alliance/colonelActivityCreateOrUpdate')  
171 - ->params($params);  
172 - }  
173 -  
174 - /**  
175 - * @inheritDoc  
176 - */  
177 - public function allianceActivityProductCategoryList(array $params)  
178 - {  
179 - $this->builder->method('POST')  
180 - ->service('alliance.activityProductCategoryList')  
181 - ->path('/alliance/activityProductCategoryList')  
182 - ->params($params);  
183 - }  
184 -  
185 - /**  
186 - * @inheritDoc  
187 - */  
188 - public function allianceInstituteColonelActivityList(array $params)  
189 - {  
190 - $this->builder->method('POST')  
191 - ->service('alliance.instituteColonelActivityList')  
192 - ->path('/alliance/instituteColonelActivityList')  
193 - ->params($params);  
194 - }  
195 -  
196 - /**  
197 - * @inheritDoc  
198 - */  
199 - public function allianceInstituteColonelActivityOperate(array $params)  
200 - {  
201 - $this->builder->method('POST')  
202 - ->service('alliance.instituteColonelActivityOperate')  
203 - ->path('/alliance/instituteColonelActivityOperate')  
204 - ->params($params);  
205 - }  
206 -  
207 - /**  
208 - * @inheritDoc  
209 - */  
210 - public function allianceColonelActivityProduct(array $params)  
211 - {  
212 - $this->builder->method('POST')  
213 - ->service('alliance.colonelActivityProduct')  
214 - ->path('/alliance/colonelActivityProduct')  
215 - ->params($params);  
216 - }  
217 -  
218 - /**  
219 - * @inheritDoc  
220 - */  
221 - public function allianceColonelActivityProductAudit(array $params)  
222 - {  
223 - $this->builder->method('POST')  
224 - ->service('alliance.colonelActivityProductAudit')  
225 - ->path('/alliance/colonelActivityProductAudit')  
226 - ->params($params);  
227 - }  
228 -  
229 - /**  
230 - * @inheritDoc  
231 - */  
232 - public function buyinColonelspecialApplyList(array $params)  
233 - {  
234 - $this->builder->method('POST')  
235 - ->service('buyin.colonel/specialApplyList')  
236 - ->path('/buyin/colonel/specialApplyList')  
237 - ->params($params);  
238 - }  
239 -  
240 - /**  
241 - * @inheritDoc  
242 - */  
243 - public function allianceColonelActivityProductExtension(array $params)  
244 - {  
245 - $this->builder->method('POST')  
246 - ->service('alliance.colonelActivityProductExtension')  
247 - ->path('/alliance/colonelActivityProductExtension')  
248 - ->params($params);  
249 - }  
250 -  
251 - /**  
252 - * @inheritDoc  
253 - */  
254 - public function buyinColonelspecialApplyDeal(array $params)  
255 - {  
256 - $this->builder->method('POST')  
257 - ->service('buyin.colonel/specialApplyDeal')  
258 - ->path('/buyin/colonel/specialApplyDeal')  
259 - ->params($params);  
260 - }  
261 -  
262 - /**  
263 - * @inheritDoc  
264 - */  
265 - public function buyinOriginColonelEnrollableActivityList(array $params)  
266 - {  
267 - $this->builder->method('POST')  
268 - ->service('buyin.originColonelEnrollableActivityList')  
269 - ->path('/buyin/originColonelEnrollableActivityList')  
270 - ->params($params);  
271 - }  
272 -  
273 - /**  
274 - * @inheritDoc  
275 - */  
276 - public function buyinColonelActivityDetail(array $params)  
277 - {  
278 - $this->builder->method('POST')  
279 - ->service('buyin.colonelActivityDetail')  
280 - ->path('/buyin/colonelActivityDetail')  
281 - ->params($params);  
282 - }  
283 -  
284 - /**  
285 - * @inheritDoc  
286 - */  
287 - public function buyinOriginColonelUnappliedProductList(array $params)  
288 - {  
289 - $this->builder->method('POST')  
290 - ->service('buyin.originColonelUnappliedProductList')  
291 - ->path('/buyin/originColonelUnappliedProductList')  
292 - ->params($params);  
293 - }  
294 -  
295 - /**  
296 - * @inheritDoc  
297 - */  
298 - public function buyinOriginColonelApplyActivities(array $params)  
299 - {  
300 - $this->builder->method('POST')  
301 - ->service('buyin.originColonelApplyActivities')  
302 - ->path('/buyin/originColonelApplyActivities')  
303 - ->params($params);  
304 - }  
305 -  
306 - /**  
307 - * @inheritDoc  
308 - */  
309 - public function buyinActivityProductList(array $params)  
310 - {  
311 - $this->builder->method('POST')  
312 - ->service('buyin.activityProductList')  
313 - ->path('/buyin/activityProductList')  
314 - ->params($params);  
315 - }  
316 -  
317 - /**  
318 - * @inheritDoc  
319 - */  
320 - public function buyinActivityProductCancel(array $params)  
321 - {  
322 - $this->builder->method('POST')  
323 - ->service('buyin.activityProductCancel')  
324 - ->path('/buyin/activityProductCancel')  
325 - ->params($params);  
326 - }  
327 -  
328 - /**  
329 - * @inheritDoc  
330 - */  
331 - public function allianceMaterialsProductsSearch(array $params)  
332 - {  
333 - $this->builder->method('POST')  
334 - ->service('alliance.materialsProductsSearch')  
335 - ->path('/alliance/materialsProductsSearch')  
336 - ->params($params);  
337 - }  
338 -  
339 - /**  
340 - * @inheritDoc  
341 - */  
342 - public function buyinSimplePlanList(array $params)  
343 - {  
344 - $this->builder->method('POST')  
345 - ->service('buyin.simplePlanList')  
346 - ->path('/buyin/simplePlanList')  
347 - ->params($params);  
348 - }  
349 -  
350 - /**  
351 - * @inheritDoc  
352 - */  
353 - public function allianceMaterialsProductsDetails(array $params)  
354 - {  
355 - $this->builder->method('POST')  
356 - ->service('alliance.materialsProductsDetails')  
357 - ->path('/alliance/materialsProductsDetails')  
358 - ->params($params);  
359 - }  
360 -  
361 - /**  
362 - * @inheritDoc  
363 - */  
364 - public function buyinProductSkus(array $params)  
365 - {  
366 - $this->builder->method('POST')  
367 - ->service('buyin.productSkus')  
368 - ->path('/buyin/productSkus')  
369 - ->params($params);  
370 - }  
371 -  
372 - /**  
373 - * @inheritDoc  
374 - */  
375 - public function allianceMaterialsProductCategory(array $params)  
376 - {  
377 - $this->builder->method('POST')  
378 - ->service('alliance.materialsProductCategory')  
379 - ->path('/alliance/materialsProductCategory')  
380 - ->params($params);  
381 - }  
382 -  
383 - /**  
384 - * @inheritDoc  
385 - */  
386 - public function buyinMaterialsProductStatus(array $params)  
387 - {  
388 - $this->builder->method('POST')  
389 - ->service('buyin.materialsProductStatus')  
390 - ->path('/buyin/materialsProductStatus')  
391 - ->params($params);  
392 - }  
393 -  
394 - /**  
395 - * @inheritDoc  
396 - */  
397 - public function buyinKolMaterialsProductsSearch(array $params)  
398 - {  
399 - $this->builder->method('POST')  
400 - ->service('buyin.kolMaterialsProductsSearch')  
401 - ->path('/buyin/kolMaterialsProductsSearch')  
402 - ->params($params);  
403 - }  
404 -  
405 - /**  
406 - * @inheritDoc  
407 - */  
408 - public function buyinKolMaterialsProductsDetails(array $params)  
409 - {  
410 - $this->builder->method('POST')  
411 - ->service('buyin.kolMaterialsProductsDetails')  
412 - ->path('/buyin/kolMaterialsProductsDetails')  
413 - ->params($params);  
414 - }  
415 -  
416 - /**  
417 - * @inheritDoc  
418 - */  
419 - public function buyinQueryInstituteOrders(array $params)  
420 - {  
421 - $this->builder->method('POST')  
422 - ->service('buyin.queryInstituteOrders')  
423 - ->path('/buyin/queryInstituteOrders')  
424 - ->params($params);  
425 - }  
426 -  
427 - /**  
428 - * @inheritDoc  
429 - */  
430 - public function buyinInstituteOrderMCN(array $params)  
431 - {  
432 - $this->builder->method('POST')  
433 - ->service('buyin.instituteOrderMCN')  
434 - ->path('/buyin/instituteOrderMCN')  
435 - ->params($params);  
436 - }  
437 -  
438 - /**  
439 - * @inheritDoc  
440 - */  
441 - public function buyinInstituteOrderColonel(array $params)  
442 - {  
443 - $this->builder->method('POST')  
444 - ->service('buyin.instituteOrderColonel')  
445 - ->path('/buyin/instituteOrderColonel')  
446 - ->params($params);  
447 - }  
448 -  
449 - /**  
450 - * @inheritDoc  
451 - */  
452 - public function buyinInstPickSourceConvert(array $params)  
453 - {  
454 - $this->builder->method('POST')  
455 - ->service('buyin.instPickSourceConvert')  
456 - ->path('/buyin/instPickSourceConvert')  
457 - ->params($params);  
458 - }  
459 -  
460 - /**  
461 - * @inheritDoc  
462 - */  
463 - public function buyinInstGmv(array $params)  
464 - {  
465 - $this->builder->method('POST')  
466 - ->service('buyin.instGmv')  
467 - ->path('/buyin/instGmv')  
468 - ->params($params);  
469 - }  
470 -  
471 - /**  
472 - * @inheritDoc  
473 - */  
474 - public function buyinInstGmvDetail(array $params)  
475 - {  
476 - $this->builder->method('POST')  
477 - ->service('buyin.instGmvDetail')  
478 - ->path('/buyin/instGmvDetail')  
479 - ->params($params);  
480 - }  
481 -  
482 - /**  
483 - * @inheritDoc  
484 - */  
485 - public function buyinKolPidCreate(array $params)  
486 - {  
487 - $this->builder->method('POST')  
488 - ->service('buyin.kolPidCreate')  
489 - ->path('/buyin/kolPidCreate')  
490 - ->params($params);  
491 - }  
492 -  
493 - /**  
494 - * @inheritDoc  
495 - */  
496 - public function buyinKolPidList(array $params)  
497 - {  
498 - $this->builder->method('POST')  
499 - ->service('buyin.kolPidList')  
500 - ->path('/buyin/kolPidList')  
501 - ->params($params);  
502 - }  
503 -  
504 - /**  
505 - * @inheritDoc  
506 - */  
507 - public function buyinKolPidEdit(array $params)  
508 - {  
509 - $this->builder->method('POST')  
510 - ->service('buyin.kolPidEdit')  
511 - ->path('/buyin/kolPidEdit')  
512 - ->params($params);  
513 - }  
514 -  
515 - /**  
516 - * @inheritDoc  
517 - */  
518 - public function buyinKolPidDel(array $params)  
519 - {  
520 - $this->builder->method('POST')  
521 - ->service('buyin.kolPidDel')  
522 - ->path('/buyin/kolPidDel')  
523 - ->params($params);  
524 - }  
525 -  
526 - /**  
527 - * @inheritDoc  
528 - */  
529 - public function buyinShareCommandParse(array $params)  
530 - {  
531 - $this->builder->method('POST')  
532 - ->service('buyin.shareCommandParse')  
533 - ->path('/buyin/shareCommandParse')  
534 - ->params($params);  
535 - }  
536 -  
537 - /**  
538 - * @inheritDoc  
539 - */  
540 - public function buyinKolProductShare(array $params)  
541 - {  
542 - $this->builder->method('POST')  
543 - ->service('buyin.kolProductShare')  
544 - ->path('/buyin/kolProductShare')  
545 - ->params($params);  
546 - }  
547 -  
548 - /**  
549 - * @inheritDoc  
550 - */  
551 - public function buyinInstitutePidCreate(array $params)  
552 - {  
553 - $this->builder->method('POST')  
554 - ->service('buyin.institutePidCreate')  
555 - ->path('/buyin/institutePidCreate')  
556 - ->params($params);  
557 - }  
558 -  
559 - /**  
560 - * @inheritDoc  
561 - */  
562 - public function buyinInstitutePidList(array $params)  
563 - {  
564 - $this->builder->method('POST')  
565 - ->service('buyin.institutePidList')  
566 - ->path('/buyin/institutePidList')  
567 - ->params($params);  
568 - }  
569 -  
570 - /**  
571 - * @inheritDoc  
572 - */  
573 - public function buyinInstitutePidEdit(array $params)  
574 - {  
575 - $this->builder->method('POST')  
576 - ->service('buyin.institutePidEdit')  
577 - ->path('/buyin/institutePidEdit')  
578 - ->params($params);  
579 - }  
580 -  
581 - /**  
582 - * @inheritDoc  
583 - */  
584 - public function buyinInstitutePidDel(array $params)  
585 - {  
586 - $this->builder->method('POST')  
587 - ->service('buyin.institutePidDel')  
588 - ->path('/buyin/institutePidDel')  
589 - ->params($params);  
590 - }  
591 -  
592 - /**  
593 - * @inheritDoc  
594 - */  
595 - public function buyinLiveShareMaterial(array $params)  
596 - {  
597 - $this->builder->method('POST')  
598 - ->service('buyin.liveShareMaterial')  
599 - ->path('/buyin/liveShareMaterial')  
600 - ->params($params);  
601 - }  
602 -  
603 - /**  
604 - * @inheritDoc  
605 - */  
606 - public function buyinDistributionLiveProductList(array $params)  
607 - {  
608 - $this->builder->method('POST')  
609 - ->service('buyin.distributionLiveProductList')  
610 - ->path('/buyin/distributionLiveProductList')  
611 - ->params($params);  
612 - }  
613 -  
614 - /**  
615 - * @inheritDoc  
616 - */  
617 - public function buyinInstituteLiveShare(array $params)  
618 - {  
619 - $this->builder->method('POST')  
620 - ->service('buyin.instituteLiveShare')  
621 - ->path('/buyin/instituteLiveShare')  
622 - ->params($params);  
623 - }  
624 -  
625 - /**  
626 - * @inheritDoc  
627 - */  
628 - public function buyinInstituteOrderAds(array $params)  
629 - {  
630 - $this->builder->method('POST')  
631 - ->service('buyin.instituteOrderAds')  
632 - ->path('/buyin/instituteOrderAds')  
633 - ->params($params);  
634 - }  
635 -  
636 - /**  
637 - * @inheritDoc  
638 - */  
639 - public function buyinKolOrderAds(array $params)  
640 - {  
641 - $this->builder->method('POST')  
642 - ->service('buyin.kolOrderAds')  
643 - ->path('/buyin/kolOrderAds')  
644 - ->params($params);  
645 - }  
646 -  
647 - /**  
648 - * @inheritDoc  
649 - */  
650 - public function buyinShopPidMemberCreate(array $params)  
651 - {  
652 - $this->builder->method('POST')  
653 - ->service('buyin.shopPidMemberCreate')  
654 - ->path('/buyin/shopPidMemberCreate')  
655 - ->params($params);  
656 - }  
657 -  
658 - /**  
659 - * @inheritDoc  
660 - */  
661 - public function buyinKolLiveShare(array $params)  
662 - {  
663 - $this->builder->method('POST')  
664 - ->service('buyin.kolLiveShare')  
665 - ->path('/buyin/kolLiveShare')  
666 - ->params($params);  
667 - }  
668 -  
669 - /**  
670 - * @inheritDoc  
671 - */  
672 - public function buyinMHandleTrusteeshipApply(array $params)  
673 - {  
674 - $this->builder->method('POST')  
675 - ->service('buyin.mHandleTrusteeshipApply')  
676 - ->path('/buyin/mHandleTrusteeshipApply')  
677 - ->params($params);  
678 - }  
679 -  
680 - /**  
681 - * @inheritDoc  
682 - */  
683 - public function buyinColoneltrusteeshipList(array $params)  
684 - {  
685 - $this->builder->method('POST')  
686 - ->service('buyin.colonel/trusteeshipList')  
687 - ->path('/buyin/colonel/trusteeshipList')  
688 - ->params($params);  
689 - }  
690 -  
691 - /**  
692 - * @inheritDoc  
693 - */  
694 - public function buyinInstituteOrderPick(array $params)  
695 - {  
696 - $this->builder->method('POST')  
697 - ->service('buyin.instituteOrderPick')  
698 - ->path('/buyin/instituteOrderPick')  
699 - ->params($params);  
700 - }  
701 -  
702 - /**  
703 - * @inheritDoc  
704 - */  
705 - public function buyinInstituteLivePreviewShare(array $params)  
706 - {  
707 - $this->builder->method('POST')  
708 - ->service('buyin.instituteLivePreviewShare')  
709 - ->path('/buyin/instituteLivePreviewShare')  
710 - ->params($params);  
711 - }  
712 -  
713 - /**  
714 - * @inheritDoc  
715 - */  
716 - public function buyinKolLivePreviewShare(array $params)  
717 - {  
718 - $this->builder->method('POST')  
719 - ->service('buyin.kolLivePreviewShare')  
720 - ->path('/buyin/kolLivePreviewShare')  
721 - ->params($params);  
722 - }  
723 -  
724 - /**  
725 - * @inheritDoc  
726 - */  
727 - public function buyinActivityShareConvert(array $params)  
728 - {  
729 - $this->builder->method('POST')  
730 - ->service('buyin.activityShareConvert')  
731 - ->path('/buyin/activityShareConvert')  
732 - ->params($params);  
733 - }  
734 -} 9 + /**
  10 + * @inheritDoc
  11 + */
  12 + function buyinSimplePlan(array $params)
  13 + {
  14 + $this->builder->method('POST')
  15 + ->service('buyin.simplePlan')
  16 + ->path('/buyin/simplePlan')
  17 + ->params($params);
  18 + }
  19 +
  20 + /**
  21 + * @inheritDoc
  22 + */
  23 + function buyinShopActivityList(array $params)
  24 + {
  25 + $this->builder->method('POST')
  26 + ->service('buyin.ShopActivityList')
  27 + ->path('/buyin/ShopActivityList')
  28 + ->params($params);
  29 + }
  30 +
  31 + /**
  32 + * @inheritDoc
  33 + */
  34 + function buyinShopActivityDetail(array $params)
  35 + {
  36 + $this->builder->method('POST')
  37 + ->service('buyin.shopActivityDetail')
  38 + ->path('/buyin/shopActivityDetail')
  39 + ->params($params);
  40 + }
  41 +
  42 + /**
  43 + * @inheritDoc
  44 + */
  45 + function buyinApplyActivities(array $params)
  46 + {
  47 + $this->builder->method('POST')
  48 + ->service('buyin.applyActivities')
  49 + ->path('/buyin/applyActivities')
  50 + ->params($params);
  51 + }
  52 +
  53 + /**
  54 + * @inheritDoc
  55 + */
  56 + function buyinActivityProductExtendList(array $params)
  57 + {
  58 + $this->builder->method('POST')
  59 + ->service('buyin.activityProductExtendList')
  60 + ->path('/buyin/activityProductExtendList')
  61 + ->params($params);
  62 + }
  63 +
  64 + /**
  65 + * @inheritDoc
  66 + */
  67 + function buyinActivityProductExtendApprove(array $params)
  68 + {
  69 + $this->builder->method('POST')
  70 + ->service('buyin.activityProductExtendApprove')
  71 + ->path('/buyin/activityProductExtendApprove')
  72 + ->params($params);
  73 + }
  74 +
  75 + /**
  76 + * @inheritDoc
  77 + */
  78 + function buyinCreateOrUpdateOrienPlan(array $params)
  79 + {
  80 + $this->builder->method('POST')
  81 + ->service('buyin.createOrUpdateOrienPlan')
  82 + ->path('/buyin/createOrUpdateOrienPlan')
  83 + ->params($params);
  84 + }
  85 +
  86 + /**
  87 + * @inheritDoc
  88 + */
  89 + function buyinOrienPlanList(array $params)
  90 + {
  91 + $this->builder->method('POST')
  92 + ->service('buyin.orienPlanList')
  93 + ->path('/buyin/orienPlanList')
  94 + ->params($params);
  95 + }
  96 +
  97 + /**
  98 + * @inheritDoc
  99 + */
  100 + function buyinOrienPlanCtrl(array $params)
  101 + {
  102 + $this->builder->method('POST')
  103 + ->service('buyin.orienPlanCtrl')
  104 + ->path('/buyin/orienPlanCtrl')
  105 + ->params($params);
  106 + }
  107 +
  108 + /**
  109 + * @inheritDoc
  110 + */
  111 + function buyinOrienPlanAuthors(array $params)
  112 + {
  113 + $this->builder->method('POST')
  114 + ->service('buyin.orienPlanAuthors')
  115 + ->path('/buyin/orienPlanAuthors')
  116 + ->params($params);
  117 + }
  118 +
  119 + /**
  120 + * @inheritDoc
  121 + */
  122 + function buyinOrienPlanAuthorsAdd(array $params)
  123 + {
  124 + $this->builder->method('POST')
  125 + ->service('buyin.orienPlanAuthorsAdd')
  126 + ->path('/buyin/orienPlanAuthorsAdd')
  127 + ->params($params);
  128 + }
  129 +
  130 + /**
  131 + * @inheritDoc
  132 + */
  133 + function buyinOrienPlanAudit(array $params)
  134 + {
  135 + $this->builder->method('POST')
  136 + ->service('buyin.orienPlanAudit')
  137 + ->path('/buyin/orienPlanAudit')
  138 + ->params($params);
  139 + }
  140 +
  141 + /**
  142 + * @inheritDoc
  143 + */
  144 + function buyinExclusivePlan(array $params)
  145 + {
  146 + $this->builder->method('POST')
  147 + ->service('buyin.exclusivePlan')
  148 + ->path('/buyin/exclusivePlan')
  149 + ->params($params);
  150 + }
  151 +
  152 + /**
  153 + * @inheritDoc
  154 + */
  155 + function buyinExclusivePlanAuthorOperate(array $params)
  156 + {
  157 + $this->builder->method('POST')
  158 + ->service('buyin.exclusivePlanAuthorOperate')
  159 + ->path('/buyin/exclusivePlanAuthorOperate')
  160 + ->params($params);
  161 + }
  162 +
  163 + /**
  164 + * @inheritDoc
  165 + */
  166 + function allianceColonelActivityCreateOrUpdate(array $params)
  167 + {
  168 + $this->builder->method('POST')
  169 + ->service('alliance.colonelActivityCreateOrUpdate')
  170 + ->path('/alliance/colonelActivityCreateOrUpdate')
  171 + ->params($params);
  172 + }
  173 +
  174 + /**
  175 + * @inheritDoc
  176 + */
  177 + function allianceActivityProductCategoryList(array $params)
  178 + {
  179 + $this->builder->method('POST')
  180 + ->service('alliance.activityProductCategoryList')
  181 + ->path('/alliance/activityProductCategoryList')
  182 + ->params($params);
  183 + }
  184 +
  185 + /**
  186 + * @inheritDoc
  187 + */
  188 + function allianceInstituteColonelActivityList(array $params)
  189 + {
  190 + $this->builder->method('POST')
  191 + ->service('alliance.instituteColonelActivityList')
  192 + ->path('/alliance/instituteColonelActivityList')
  193 + ->params($params);
  194 + }
  195 +
  196 + /**
  197 + * @inheritDoc
  198 + */
  199 + function allianceInstituteColonelActivityOperate(array $params)
  200 + {
  201 + $this->builder->method('POST')
  202 + ->service('alliance.instituteColonelActivityOperate')
  203 + ->path('/alliance/instituteColonelActivityOperate')
  204 + ->params($params);
  205 + }
  206 +
  207 + /**
  208 + * @inheritDoc
  209 + */
  210 + function allianceColonelActivityProduct(array $params)
  211 + {
  212 + $this->builder->method('POST')
  213 + ->service('alliance.colonelActivityProduct')
  214 + ->path('/alliance/colonelActivityProduct')
  215 + ->params($params);
  216 + }
  217 +
  218 + /**
  219 + * @inheritDoc
  220 + */
  221 + function allianceColonelActivityProductAudit(array $params)
  222 + {
  223 + $this->builder->method('POST')
  224 + ->service('alliance.colonelActivityProductAudit')
  225 + ->path('/alliance/colonelActivityProductAudit')
  226 + ->params($params);
  227 + }
  228 +
  229 + /**
  230 + * @inheritDoc
  231 + */
  232 + function buyinColonel/specialApplyList(array $params)
  233 + {
  234 + $this->builder->method('POST')
  235 + ->service('buyin.colonel/specialApplyList')
  236 + ->path('/buyin/colonel/specialApplyList')
  237 + ->params($params);
  238 + }
  239 +
  240 + /**
  241 + * @inheritDoc
  242 + */
  243 + function allianceColonelActivityProductExtension(array $params)
  244 + {
  245 + $this->builder->method('POST')
  246 + ->service('alliance.colonelActivityProductExtension')
  247 + ->path('/alliance/colonelActivityProductExtension')
  248 + ->params($params);
  249 + }
  250 +
  251 + /**
  252 + * @inheritDoc
  253 + */
  254 + function buyinColonel/specialApplyDeal(array $params)
  255 + {
  256 + $this->builder->method('POST')
  257 + ->service('buyin.colonel/specialApplyDeal')
  258 + ->path('/buyin/colonel/specialApplyDeal')
  259 + ->params($params);
  260 + }
  261 +
  262 + /**
  263 + * @inheritDoc
  264 + */
  265 + function buyinOriginColonelEnrollableActivityList(array $params)
  266 + {
  267 + $this->builder->method('POST')
  268 + ->service('buyin.originColonelEnrollableActivityList')
  269 + ->path('/buyin/originColonelEnrollableActivityList')
  270 + ->params($params);
  271 + }
  272 +
  273 + /**
  274 + * @inheritDoc
  275 + */
  276 + function buyinColonelActivityDetail(array $params)
  277 + {
  278 + $this->builder->method('POST')
  279 + ->service('buyin.colonelActivityDetail')
  280 + ->path('/buyin/colonelActivityDetail')
  281 + ->params($params);
  282 + }
  283 +
  284 + /**
  285 + * @inheritDoc
  286 + */
  287 + function buyinOriginColonelUnappliedProductList(array $params)
  288 + {
  289 + $this->builder->method('POST')
  290 + ->service('buyin.originColonelUnappliedProductList')
  291 + ->path('/buyin/originColonelUnappliedProductList')
  292 + ->params($params);
  293 + }
  294 +
  295 + /**
  296 + * @inheritDoc
  297 + */
  298 + function buyinOriginColonelApplyActivities(array $params)
  299 + {
  300 + $this->builder->method('POST')
  301 + ->service('buyin.originColonelApplyActivities')
  302 + ->path('/buyin/originColonelApplyActivities')
  303 + ->params($params);
  304 + }
  305 +
  306 + /**
  307 + * @inheritDoc
  308 + */
  309 + function buyinActivityProductList(array $params)
  310 + {
  311 + $this->builder->method('POST')
  312 + ->service('buyin.activityProductList')
  313 + ->path('/buyin/activityProductList')
  314 + ->params($params);
  315 + }
  316 +
  317 + /**
  318 + * @inheritDoc
  319 + */
  320 + function buyinActivityProductCancel(array $params)
  321 + {
  322 + $this->builder->method('POST')
  323 + ->service('buyin.activityProductCancel')
  324 + ->path('/buyin/activityProductCancel')
  325 + ->params($params);
  326 + }
  327 +
  328 + /**
  329 + * @inheritDoc
  330 + */
  331 + function allianceMaterialsProductsSearch(array $params)
  332 + {
  333 + $this->builder->method('POST')
  334 + ->service('alliance.materialsProductsSearch')
  335 + ->path('/alliance/materialsProductsSearch')
  336 + ->params($params);
  337 + }
  338 +
  339 + /**
  340 + * @inheritDoc
  341 + */
  342 + function buyinSimplePlanList(array $params)
  343 + {
  344 + $this->builder->method('POST')
  345 + ->service('buyin.simplePlanList')
  346 + ->path('/buyin/simplePlanList')
  347 + ->params($params);
  348 + }
  349 +
  350 + /**
  351 + * @inheritDoc
  352 + */
  353 + function allianceMaterialsProductsDetails(array $params)
  354 + {
  355 + $this->builder->method('POST')
  356 + ->service('alliance.materialsProductsDetails')
  357 + ->path('/alliance/materialsProductsDetails')
  358 + ->params($params);
  359 + }
  360 +
  361 + /**
  362 + * @inheritDoc
  363 + */
  364 + function buyinProductSkus(array $params)
  365 + {
  366 + $this->builder->method('POST')
  367 + ->service('buyin.productSkus')
  368 + ->path('/buyin/productSkus')
  369 + ->params($params);
  370 + }
  371 +
  372 + /**
  373 + * @inheritDoc
  374 + */
  375 + function allianceMaterialsProductCategory(array $params)
  376 + {
  377 + $this->builder->method('POST')
  378 + ->service('alliance.materialsProductCategory')
  379 + ->path('/alliance/materialsProductCategory')
  380 + ->params($params);
  381 + }
  382 +
  383 + /**
  384 + * @inheritDoc
  385 + */
  386 + function buyinMaterialsProductStatus(array $params)
  387 + {
  388 + $this->builder->method('POST')
  389 + ->service('buyin.materialsProductStatus')
  390 + ->path('/buyin/materialsProductStatus')
  391 + ->params($params);
  392 + }
  393 +
  394 + /**
  395 + * @inheritDoc
  396 + */
  397 + function buyinKolMaterialsProductsSearch(array $params)
  398 + {
  399 + $this->builder->method('POST')
  400 + ->service('buyin.kolMaterialsProductsSearch')
  401 + ->path('/buyin/kolMaterialsProductsSearch')
  402 + ->params($params);
  403 + }
  404 +
  405 + /**
  406 + * @inheritDoc
  407 + */
  408 + function buyinKolMaterialsProductsDetails(array $params)
  409 + {
  410 + $this->builder->method('POST')
  411 + ->service('buyin.kolMaterialsProductsDetails')
  412 + ->path('/buyin/kolMaterialsProductsDetails')
  413 + ->params($params);
  414 + }
  415 +
  416 + /**
  417 + * @inheritDoc
  418 + */
  419 + function buyinQueryInstituteOrders(array $params)
  420 + {
  421 + $this->builder->method('POST')
  422 + ->service('buyin.queryInstituteOrders')
  423 + ->path('/buyin/queryInstituteOrders')
  424 + ->params($params);
  425 + }
  426 +
  427 + /**
  428 + * @inheritDoc
  429 + */
  430 + function buyinInstituteOrderMCN(array $params)
  431 + {
  432 + $this->builder->method('POST')
  433 + ->service('buyin.instituteOrderMCN')
  434 + ->path('/buyin/instituteOrderMCN')
  435 + ->params($params);
  436 + }
  437 +
  438 + /**
  439 + * @inheritDoc
  440 + */
  441 + function buyinInstituteOrderColonel(array $params)
  442 + {
  443 + $this->builder->method('POST')
  444 + ->service('buyin.instituteOrderColonel')
  445 + ->path('/buyin/instituteOrderColonel')
  446 + ->params($params);
  447 + }
  448 +
  449 + /**
  450 + * @inheritDoc
  451 + */
  452 + function buyinInstPickSourceConvert(array $params)
  453 + {
  454 + $this->builder->method('POST')
  455 + ->service('buyin.instPickSourceConvert')
  456 + ->path('/buyin/instPickSourceConvert')
  457 + ->params($params);
  458 + }
  459 +
  460 + /**
  461 + * @inheritDoc
  462 + */
  463 + function buyinInstGmv(array $params)
  464 + {
  465 + $this->builder->method('POST')
  466 + ->service('buyin.instGmv')
  467 + ->path('/buyin/instGmv')
  468 + ->params($params);
  469 + }
  470 +
  471 + /**
  472 + * @inheritDoc
  473 + */
  474 + function buyinInstGmvDetail(array $params)
  475 + {
  476 + $this->builder->method('POST')
  477 + ->service('buyin.instGmvDetail')
  478 + ->path('/buyin/instGmvDetail')
  479 + ->params($params);
  480 + }
  481 +
  482 + /**
  483 + * @inheritDoc
  484 + */
  485 + function buyinKolPidCreate(array $params)
  486 + {
  487 + $this->builder->method('POST')
  488 + ->service('buyin.kolPidCreate')
  489 + ->path('/buyin/kolPidCreate')
  490 + ->params($params);
  491 + }
  492 +
  493 + /**
  494 + * @inheritDoc
  495 + */
  496 + function buyinKolPidList(array $params)
  497 + {
  498 + $this->builder->method('POST')
  499 + ->service('buyin.kolPidList')
  500 + ->path('/buyin/kolPidList')
  501 + ->params($params);
  502 + }
  503 +
  504 + /**
  505 + * @inheritDoc
  506 + */
  507 + function buyinKolPidEdit(array $params)
  508 + {
  509 + $this->builder->method('POST')
  510 + ->service('buyin.kolPidEdit')
  511 + ->path('/buyin/kolPidEdit')
  512 + ->params($params);
  513 + }
  514 +
  515 + /**
  516 + * @inheritDoc
  517 + */
  518 + function buyinKolPidDel(array $params)
  519 + {
  520 + $this->builder->method('POST')
  521 + ->service('buyin.kolPidDel')
  522 + ->path('/buyin/kolPidDel')
  523 + ->params($params);
  524 + }
  525 +
  526 + /**
  527 + * @inheritDoc
  528 + */
  529 + function buyinShareCommandParse(array $params)
  530 + {
  531 + $this->builder->method('POST')
  532 + ->service('buyin.shareCommandParse')
  533 + ->path('/buyin/shareCommandParse')
  534 + ->params($params);
  535 + }
  536 +
  537 + /**
  538 + * @inheritDoc
  539 + */
  540 + function buyinKolProductShare(array $params)
  541 + {
  542 + $this->builder->method('POST')
  543 + ->service('buyin.kolProductShare')
  544 + ->path('/buyin/kolProductShare')
  545 + ->params($params);
  546 + }
  547 +
  548 + /**
  549 + * @inheritDoc
  550 + */
  551 + function buyinInstitutePidCreate(array $params)
  552 + {
  553 + $this->builder->method('POST')
  554 + ->service('buyin.institutePidCreate')
  555 + ->path('/buyin/institutePidCreate')
  556 + ->params($params);
  557 + }
  558 +
  559 + /**
  560 + * @inheritDoc
  561 + */
  562 + function buyinInstitutePidList(array $params)
  563 + {
  564 + $this->builder->method('POST')
  565 + ->service('buyin.institutePidList')
  566 + ->path('/buyin/institutePidList')
  567 + ->params($params);
  568 + }
  569 +
  570 + /**
  571 + * @inheritDoc
  572 + */
  573 + function buyinInstitutePidEdit(array $params)
  574 + {
  575 + $this->builder->method('POST')
  576 + ->service('buyin.institutePidEdit')
  577 + ->path('/buyin/institutePidEdit')
  578 + ->params($params);
  579 + }
  580 +
  581 + /**
  582 + * @inheritDoc
  583 + */
  584 + function buyinInstitutePidDel(array $params)
  585 + {
  586 + $this->builder->method('POST')
  587 + ->service('buyin.institutePidDel')
  588 + ->path('/buyin/institutePidDel')
  589 + ->params($params);
  590 + }
  591 +
  592 + /**
  593 + * @inheritDoc
  594 + */
  595 + function buyinLiveShareMaterial(array $params)
  596 + {
  597 + $this->builder->method('POST')
  598 + ->service('buyin.liveShareMaterial')
  599 + ->path('/buyin/liveShareMaterial')
  600 + ->params($params);
  601 + }
  602 +
  603 + /**
  604 + * @inheritDoc
  605 + */
  606 + function buyinDistributionLiveProductList(array $params)
  607 + {
  608 + $this->builder->method('POST')
  609 + ->service('buyin.distributionLiveProductList')
  610 + ->path('/buyin/distributionLiveProductList')
  611 + ->params($params);
  612 + }
  613 +
  614 + /**
  615 + * @inheritDoc
  616 + */
  617 + function buyinInstituteLiveShare(array $params)
  618 + {
  619 + $this->builder->method('POST')
  620 + ->service('buyin.instituteLiveShare')
  621 + ->path('/buyin/instituteLiveShare')
  622 + ->params($params);
  623 + }
  624 +
  625 + /**
  626 + * @inheritDoc
  627 + */
  628 + function buyinInstituteOrderAds(array $params)
  629 + {
  630 + $this->builder->method('POST')
  631 + ->service('buyin.instituteOrderAds')
  632 + ->path('/buyin/instituteOrderAds')
  633 + ->params($params);
  634 + }
  635 +
  636 + /**
  637 + * @inheritDoc
  638 + */
  639 + function buyinKolOrderAds(array $params)
  640 + {
  641 + $this->builder->method('POST')
  642 + ->service('buyin.kolOrderAds')
  643 + ->path('/buyin/kolOrderAds')
  644 + ->params($params);
  645 + }
  646 +
  647 + /**
  648 + * @inheritDoc
  649 + */
  650 + function buyinShopPidMemberCreate(array $params)
  651 + {
  652 + $this->builder->method('POST')
  653 + ->service('buyin.shopPidMemberCreate')
  654 + ->path('/buyin/shopPidMemberCreate')
  655 + ->params($params);
  656 + }
  657 +
  658 + /**
  659 + * @inheritDoc
  660 + */
  661 + function buyinKolLiveShare(array $params)
  662 + {
  663 + $this->builder->method('POST')
  664 + ->service('buyin.kolLiveShare')
  665 + ->path('/buyin/kolLiveShare')
  666 + ->params($params);
  667 + }
  668 +
  669 + /**
  670 + * @inheritDoc
  671 + */
  672 + function buyinMHandleTrusteeshipApply(array $params)
  673 + {
  674 + $this->builder->method('POST')
  675 + ->service('buyin.mHandleTrusteeshipApply')
  676 + ->path('/buyin/mHandleTrusteeshipApply')
  677 + ->params($params);
  678 + }
  679 +
  680 + /**
  681 + * @inheritDoc
  682 + */
  683 + function buyinColonel/trusteeshipList(array $params)
  684 + {
  685 + $this->builder->method('POST')
  686 + ->service('buyin.colonel/trusteeshipList')
  687 + ->path('/buyin/colonel/trusteeshipList')
  688 + ->params($params);
  689 + }
  690 +
  691 + /**
  692 + * @inheritDoc
  693 + */
  694 + function buyinInstituteOrderPick(array $params)
  695 + {
  696 + $this->builder->method('POST')
  697 + ->service('buyin.instituteOrderPick')
  698 + ->path('/buyin/instituteOrderPick')
  699 + ->params($params);
  700 + }
  701 +
  702 + /**
  703 + * @inheritDoc
  704 + */
  705 + function buyinInstituteLivePreviewShare(array $params)
  706 + {
  707 + $this->builder->method('POST')
  708 + ->service('buyin.instituteLivePreviewShare')
  709 + ->path('/buyin/instituteLivePreviewShare')
  710 + ->params($params);
  711 + }
  712 +
  713 + /**
  714 + * @inheritDoc
  715 + */
  716 + function buyinKolLivePreviewShare(array $params)
  717 + {
  718 + $this->builder->method('POST')
  719 + ->service('buyin.kolLivePreviewShare')
  720 + ->path('/buyin/kolLivePreviewShare')
  721 + ->params($params);
  722 + }
  723 +
  724 + /**
  725 + * @inheritDoc
  726 + */
  727 + function buyinActivityShareConvert(array $params)
  728 + {
  729 + $this->builder->method('POST')
  730 + ->service('buyin.activityShareConvert')
  731 + ->path('/buyin/activityShareConvert')
  732 + ->params($params);
  733 + }
  734 +}
1 <?php 1 <?php
2 -  
3 -namespace Lackoxygen\TiktokShop\Passage\Buyin;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 2 +namespace Lackoxygen\TiktokShop\Request\Buyin;
6 3
7 /** 4 /**
8 * @note 精选联盟API 5 * @note 精选联盟API
9 */ 6 */
10 interface BuyinInterface 7 interface BuyinInterface
11 { 8 {
12 - /**  
13 - * 创建/修改普通商品推广计划  
14 - * @link https://op.jinritemai.com/docs/api-docs/61/923  
15 - * @param array $params  
16 - * @return ResultSet  
17 - */  
18 - public function buyinSimplePlan(array $params);  
19 -  
20 - /**  
21 - * 商家可参与的团长活动查询接口  
22 - * @link https://op.jinritemai.com/docs/api-docs/61/1671  
23 - * @param array $params  
24 - * @return ResultSet  
25 - */  
26 - public function buyinShopActivityList(array $params);  
27 -  
28 - /**  
29 - * 商家侧获取团长活动详情  
30 - * @link https://op.jinritemai.com/docs/api-docs/61/1797  
31 - * @param array $params  
32 - * @return ResultSet  
33 - */  
34 - public function buyinShopActivityDetail(array $params);  
35 -  
36 - /**  
37 - * 商品团长活动提报接口  
38 - * @link https://op.jinritemai.com/docs/api-docs/61/744  
39 - * @param array $params  
40 - * @return ResultSet  
41 - */  
42 - public function buyinApplyActivities(array $params);  
43 -  
44 - /**  
45 - * 延长推广待处理/已处理记录查询  
46 - * @link https://op.jinritemai.com/docs/api-docs/61/1674  
47 - * @param array $params  
48 - * @return ResultSet  
49 - */  
50 - public function buyinActivityProductExtendList(array $params);  
51 -  
52 - /**  
53 - * 商家处理团长活动商品的推广延期申请  
54 - * @link https://op.jinritemai.com/docs/api-docs/61/1673  
55 - * @param array $params  
56 - * @return ResultSet  
57 - */  
58 - public function buyinActivityProductExtendApprove(array $params);  
59 -  
60 - /**  
61 - * 创建/修改商品定向计划  
62 - * @link https://op.jinritemai.com/docs/api-docs/61/708  
63 - * @param array $params  
64 - * @return ResultSet  
65 - */  
66 - public function buyinCreateOrUpdateOrienPlan(array $params);  
67 -  
68 - /**  
69 - * 商品定向计划查询  
70 - * @link https://op.jinritemai.com/docs/api-docs/61/705  
71 - * @param array $params  
72 - * @return ResultSet  
73 - */  
74 - public function buyinOrienPlanList(array $params);  
75 -  
76 - /**  
77 - * 商品定向计划管理  
78 - * @link https://op.jinritemai.com/docs/api-docs/61/704  
79 - * @param array $params  
80 - * @return ResultSet  
81 - */  
82 - public function buyinOrienPlanCtrl(array $params);  
83 -  
84 - /**  
85 - * 查询定向计划作者列表  
86 - * @link https://op.jinritemai.com/docs/api-docs/61/1879  
87 - * @param array $params  
88 - * @return ResultSet  
89 - */  
90 - public function buyinOrienPlanAuthors(array $params);  
91 -  
92 - /**  
93 - * 向指定定向计划中添加达人  
94 - * @link https://op.jinritemai.com/docs/api-docs/61/1877  
95 - * @param array $params  
96 - * @return ResultSet  
97 - */  
98 - public function buyinOrienPlanAuthorsAdd(array $params);  
99 -  
100 - /**  
101 - * 定向计划达人申请审核  
102 - * @link https://op.jinritemai.com/docs/api-docs/61/1878  
103 - * @param array $params  
104 - * @return ResultSet  
105 - */  
106 - public function buyinOrienPlanAudit(array $params);  
107 -  
108 - /**  
109 - * 创建/修改商品专属推广计划  
110 - * @link https://op.jinritemai.com/docs/api-docs/61/1880  
111 - * @param array $params  
112 - * @return ResultSet  
113 - */  
114 - public function buyinExclusivePlan(array $params);  
115 -  
116 - /**  
117 - * 店铺专属达人管理  
118 - * @link https://op.jinritemai.com/docs/api-docs/61/1935  
119 - * @param array $params  
120 - * @return ResultSet  
121 - */  
122 - public function buyinExclusivePlanAuthorOperate(array $params);  
123 -  
124 - /**  
125 - * 团长活动创建/编辑接口  
126 - * @link https://op.jinritemai.com/docs/api-docs/61/966  
127 - * @param array $params  
128 - * @return ResultSet  
129 - */  
130 - public function allianceColonelActivityCreateOrUpdate(array $params);  
131 -  
132 - /**  
133 - * 创建活动时候可选择的类目接口  
134 - * @link https://op.jinritemai.com/docs/api-docs/61/1882  
135 - * @param array $params  
136 - * @return ResultSet  
137 - */  
138 - public function allianceActivityProductCategoryList(array $params);  
139 -  
140 - /**  
141 - * 团长活动查询接口  
142 - * @link https://op.jinritemai.com/docs/api-docs/61/1330  
143 - * @param array $params  
144 - * @return ResultSet  
145 - */  
146 - public function allianceInstituteColonelActivityList(array $params);  
147 -  
148 - /**  
149 - * 专属团长活动删除接口(下线+删除)  
150 - * @link https://op.jinritemai.com/docs/api-docs/61/972  
151 - * @param array $params  
152 - * @return ResultSet  
153 - */  
154 - public function allianceInstituteColonelActivityOperate(array $params);  
155 -  
156 - /**  
157 - * 活动商品查询接口  
158 - * @link https://op.jinritemai.com/docs/api-docs/61/968  
159 - * @param array $params  
160 - * @return ResultSet  
161 - */  
162 - public function allianceColonelActivityProduct(array $params);  
163 -  
164 - /**  
165 - * 专属团长活动商品审核接口  
166 - * @link https://op.jinritemai.com/docs/api-docs/61/971  
167 - * @param array $params  
168 - * @return ResultSet  
169 - */  
170 - public function allianceColonelActivityProductAudit(array $params);  
171 -  
172 - /**  
173 - * 查询团长活动特殊申请  
174 - * @link https://op.jinritemai.com/docs/api-docs/61/1552  
175 - * @param array $params  
176 - * @return ResultSet  
177 - */  
178 - public function buyinColonelspecialApplyList(array $params);  
179 -  
180 - /**  
181 - * 专属团长活动商品延时接口  
182 - * @link https://op.jinritemai.com/docs/api-docs/61/1881  
183 - * @param array $params  
184 - * @return ResultSet  
185 - */  
186 - public function allianceColonelActivityProductExtension(array $params);  
187 -  
188 - /**  
189 - * 团长活动特殊申请审核  
190 - * @link https://op.jinritemai.com/docs/api-docs/61/1553  
191 - * @param array $params  
192 - * @return ResultSet  
193 - */  
194 - public function buyinColonelspecialApplyDeal(array $params);  
195 -  
196 - /**  
197 - * 团长可参与的二级团长活动查询接口  
198 - * @link https://op.jinritemai.com/docs/api-docs/61/1675  
199 - * @param array $params  
200 - * @return ResultSet  
201 - */  
202 - public function buyinOriginColonelEnrollableActivityList(array $params);  
203 -  
204 - /**  
205 - * 获取团长活动详情  
206 - * @link https://op.jinritemai.com/docs/api-docs/61/1670  
207 - * @param array $params  
208 - * @return ResultSet  
209 - */  
210 - public function buyinColonelActivityDetail(array $params);  
211 -  
212 - /**  
213 - * 团长获取可提报二级团长活动的商品列表  
214 - * @link https://op.jinritemai.com/docs/api-docs/61/1677  
215 - * @param array $params  
216 - * @return ResultSet  
217 - */  
218 - public function buyinOriginColonelUnappliedProductList(array $params);  
219 -  
220 - /**  
221 - * 团长报名二级团长活动  
222 - * @link https://op.jinritemai.com/docs/api-docs/61/1672  
223 - * @param array $params  
224 - * @return ResultSet  
225 - */  
226 - public function buyinOriginColonelApplyActivities(array $params);  
227 -  
228 - /**  
229 - * 一级团长查询提报活动商品  
230 - * @link https://op.jinritemai.com/docs/api-docs/61/1926  
231 - * @param array $params  
232 - * @return ResultSet  
233 - */  
234 - public function buyinActivityProductList(array $params);  
235 -  
236 - /**  
237 - * 一级团长取消活动提报申请接口  
238 - * @link https://op.jinritemai.com/docs/api-docs/61/1927  
239 - * @param array $params  
240 - * @return ResultSet  
241 - */  
242 - public function buyinActivityProductCancel(array $params);  
243 -  
244 - /**  
245 - * 检索精选联盟商品  
246 - * @link https://op.jinritemai.com/docs/api-docs/61/924  
247 - * @param array $params  
248 - * @return ResultSet  
249 - */  
250 - public function allianceMaterialsProductsSearch(array $params);  
251 -  
252 - /**  
253 - * 商品推广 普通计划查询  
254 - * @link https://op.jinritemai.com/docs/api-docs/61/349  
255 - * @param array $params  
256 - * @return ResultSet  
257 - */  
258 - public function buyinSimplePlanList(array $params);  
259 -  
260 - /**  
261 - * 批量查询推广商品详情  
262 - * @link https://op.jinritemai.com/docs/api-docs/61/1356  
263 - * @param array $params  
264 - * @return ResultSet  
265 - */  
266 - public function allianceMaterialsProductsDetails(array $params);  
267 -  
268 - /**  
269 - * 查询商品 SKU  
270 - * @link https://op.jinritemai.com/docs/api-docs/61/1626  
271 - * @param array $params  
272 - * @return ResultSet  
273 - */  
274 - public function buyinProductSkus(array $params);  
275 -  
276 - /**  
277 - * 类目查询  
278 - * @link https://op.jinritemai.com/docs/api-docs/61/637  
279 - * @param array $params  
280 - * @return ResultSet  
281 - */  
282 - public function allianceMaterialsProductCategory(array $params);  
283 -  
284 - /**  
285 - * 商品状态查询  
286 - * @link https://op.jinritemai.com/docs/api-docs/61/1497  
287 - * @param array $params  
288 - * @return ResultSet  
289 - */  
290 - public function buyinMaterialsProductStatus(array $params);  
291 -  
292 - /**  
293 - * 检索精选联盟商品,需达人授权  
294 - * @link https://op.jinritemai.com/docs/api-docs/61/1725  
295 - * @param array $params  
296 - * @return ResultSet  
297 - */  
298 - public function buyinKolMaterialsProductsSearch(array $params);  
299 -  
300 - /**  
301 - * 查询达人视角商品详情  
302 - * @link https://op.jinritemai.com/docs/api-docs/61/1589  
303 - * @param array $params  
304 - * @return ResultSet  
305 - */  
306 - public function buyinKolMaterialsProductsDetails(array $params);  
307 -  
308 - /**  
309 - * 【即将下线】查询机构联盟订单  
310 - * @link https://op.jinritemai.com/docs/api-docs/61/1398  
311 - * @param array $params  
312 - * @return ResultSet  
313 - */  
314 - public function buyinQueryInstituteOrders(array $params);  
315 -  
316 - /**  
317 - * 查询MCN机构订单  
318 - * @link https://op.jinritemai.com/docs/api-docs/61/1602  
319 - * @param array $params  
320 - * @return ResultSet  
321 - */  
322 - public function buyinInstituteOrderMCN(array $params);  
323 -  
324 - /**  
325 - * 机构查询团长订单  
326 - * @link https://op.jinritemai.com/docs/api-docs/61/1603  
327 - * @param array $params  
328 - * @return ResultSet  
329 - */  
330 - public function buyinInstituteOrderColonel(array $params);  
331 -  
332 - /**  
333 - * 商品选品来源转链  
334 - * @link https://op.jinritemai.com/docs/api-docs/61/1454  
335 - * @param array $params  
336 - * @return ResultSet  
337 - */  
338 - public function buyinInstPickSourceConvert(array $params);  
339 -  
340 - /**  
341 - * 机构选品GMV查询接口  
342 - * @link https://op.jinritemai.com/docs/api-docs/61/1652  
343 - * @param array $params  
344 - * @return ResultSet  
345 - */  
346 - public function buyinInstGmv(array $params);  
347 -  
348 - /**  
349 - * 机构选品GMV明细查询接口  
350 - * @link https://op.jinritemai.com/docs/api-docs/61/1653  
351 - * @param array $params  
352 - * @return ResultSet  
353 - */  
354 - public function buyinInstGmvDetail(array $params);  
355 -  
356 - /**  
357 - * 达人PID创建  
358 - * @link https://op.jinritemai.com/docs/api-docs/61/1460  
359 - * @param array $params  
360 - * @return ResultSet  
361 - */  
362 - public function buyinKolPidCreate(array $params);  
363 -  
364 - /**  
365 - * 达人PID查询接口  
366 - * @link https://op.jinritemai.com/docs/api-docs/61/1461  
367 - * @param array $params  
368 - * @return ResultSet  
369 - */  
370 - public function buyinKolPidList(array $params);  
371 -  
372 - /**  
373 - * 达人PID 编辑  
374 - * @link https://op.jinritemai.com/docs/api-docs/61/1462  
375 - * @param array $params  
376 - * @return ResultSet  
377 - */  
378 - public function buyinKolPidEdit(array $params);  
379 -  
380 - /**  
381 - * 达人PID删除  
382 - * @link https://op.jinritemai.com/docs/api-docs/61/1463  
383 - * @param array $params  
384 - * @return ResultSet  
385 - */  
386 - public function buyinKolPidDel(array $params);  
387 -  
388 - /**  
389 - * 商品口令转商品解析  
390 - * @link https://op.jinritemai.com/docs/api-docs/61/1726  
391 - * @param array $params  
392 - * @return ResultSet  
393 - */  
394 - public function buyinShareCommandParse(array $params);  
395 -  
396 - /**  
397 - * 达人商品分销转链  
398 - * @link https://op.jinritemai.com/docs/api-docs/61/1464  
399 - * @param array $params  
400 - * @return ResultSet  
401 - */  
402 - public function buyinKolProductShare(array $params);  
403 -  
404 - /**  
405 - * 机构PID创建  
406 - * @link https://op.jinritemai.com/docs/api-docs/61/1273  
407 - * @param array $params  
408 - * @return ResultSet  
409 - */  
410 - public function buyinInstitutePidCreate(array $params);  
411 -  
412 - /**  
413 - * 机构PID查询接口  
414 - * @link https://op.jinritemai.com/docs/api-docs/61/1269  
415 - * @param array $params  
416 - * @return ResultSet  
417 - */  
418 - public function buyinInstitutePidList(array $params);  
419 -  
420 - /**  
421 - * 机构PID 编辑  
422 - * @link https://op.jinritemai.com/docs/api-docs/61/1270  
423 - * @param array $params  
424 - * @return ResultSet  
425 - */  
426 - public function buyinInstitutePidEdit(array $params);  
427 -  
428 - /**  
429 - * 机构PID删除  
430 - * @link https://op.jinritemai.com/docs/api-docs/61/1271  
431 - * @param array $params  
432 - * @return ResultSet  
433 - */  
434 - public function buyinInstitutePidDel(array $params);  
435 -  
436 - /**  
437 - * 直播间分销物料查询  
438 - * @link https://op.jinritemai.com/docs/api-docs/61/1396  
439 - * @param array $params  
440 - * @return ResultSet  
441 - */  
442 - public function buyinLiveShareMaterial(array $params);  
443 -  
444 - /**  
445 - * 分销直播间商品列表  
446 - * @link https://op.jinritemai.com/docs/api-docs/61/1770  
447 - * @param array $params  
448 - * @return ResultSet  
449 - */  
450 - public function buyinDistributionLiveProductList(array $params);  
451 -  
452 - /**  
453 - * 机构获取达人直播间分享链接  
454 - * @link https://op.jinritemai.com/docs/api-docs/61/1297  
455 - * @param array $params  
456 - * @return ResultSet  
457 - */  
458 - public function buyinInstituteLiveShare(array $params);  
459 -  
460 - /**  
461 - * 查询抖客直播间分销订单  
462 - * @link https://op.jinritemai.com/docs/api-docs/61/1296  
463 - * @param array $params  
464 - * @return ResultSet  
465 - */  
466 - public function buyinInstituteOrderAds(array $params);  
467 -  
468 - /**  
469 - * 查询达人的直播间分销、商品分销、活动页分销订单  
470 - * @link https://op.jinritemai.com/docs/api-docs/61/1459  
471 - * @param array $params  
472 - * @return ResultSet  
473 - */  
474 - public function buyinKolOrderAds(array $params);  
475 -  
476 - /**  
477 - * 店铺会员绑定渠道关系创建  
478 - * @link https://op.jinritemai.com/docs/api-docs/61/1493  
479 - * @param array $params  
480 - * @return ResultSet  
481 - */  
482 - public function buyinShopPidMemberCreate(array $params);  
483 -  
484 - /**  
485 - * 获取达人直播间分享链接  
486 - * @link https://op.jinritemai.com/docs/api-docs/61/1724  
487 - * @param array $params  
488 - * @return ResultSet  
489 - */  
490 - public function buyinKolLiveShare(array $params);  
491 -  
492 - /**  
493 - * 团长托管商品审核  
494 - * @link https://op.jinritemai.com/docs/api-docs/61/2138  
495 - * @param array $params  
496 - * @return ResultSet  
497 - */  
498 - public function buyinMHandleTrusteeshipApply(array $params);  
499 -  
500 - /**  
501 - * 团长托管商品查询  
502 - * @link https://op.jinritemai.com/docs/api-docs/61/2137  
503 - * @param array $params  
504 - * @return ResultSet  
505 - */  
506 - public function buyinColoneltrusteeshipList(array $params);  
507 -  
508 - /**  
509 - * 选品订单明细查询接口  
510 - * @link https://op.jinritemai.com/docs/api-docs/61/2008  
511 - * @param array $params  
512 - * @return ResultSet  
513 - */  
514 - public function buyinInstituteOrderPick(array $params);  
515 -  
516 - /**  
517 - * 机构直播预告转链  
518 - * @link https://op.jinritemai.com/docs/api-docs/61/2007  
519 - * @param array $params  
520 - * @return ResultSet  
521 - */  
522 - public function buyinInstituteLivePreviewShare(array $params);  
523 -  
524 - /**  
525 - * 达人直播预告转链  
526 - * @link https://op.jinritemai.com/docs/api-docs/61/2006  
527 - * @param array $params  
528 - * @return ResultSet  
529 - */  
530 - public function buyinKolLivePreviewShare(array $params);  
531 -  
532 - /**  
533 - * 活动页转链接口  
534 - * @link https://op.jinritemai.com/docs/api-docs/61/2003  
535 - * @param array $params  
536 - * @return ResultSet  
537 - */  
538 - public function buyinActivityShareConvert(array $params);  
539 -} 9 + /**
  10 + * 创建/修改普通商品推广计划
  11 + * @link https://op.jinritemai.com/docs/api-docs/61/923
  12 + * @param array $params
  13 + * @return ResultSet
  14 + */
  15 + function buyinSimplePlan(array $params);
  16 +
  17 + /**
  18 + * 商家可参与的团长活动查询接口
  19 + * @link https://op.jinritemai.com/docs/api-docs/61/1671
  20 + * @param array $params
  21 + * @return ResultSet
  22 + */
  23 + function buyinShopActivityList(array $params);
  24 +
  25 + /**
  26 + * 商家侧获取团长活动详情
  27 + * @link https://op.jinritemai.com/docs/api-docs/61/1797
  28 + * @param array $params
  29 + * @return ResultSet
  30 + */
  31 + function buyinShopActivityDetail(array $params);
  32 +
  33 + /**
  34 + * 商品团长活动提报接口
  35 + * @link https://op.jinritemai.com/docs/api-docs/61/744
  36 + * @param array $params
  37 + * @return ResultSet
  38 + */
  39 + function buyinApplyActivities(array $params);
  40 +
  41 + /**
  42 + * 延长推广待处理/已处理记录查询
  43 + * @link https://op.jinritemai.com/docs/api-docs/61/1674
  44 + * @param array $params
  45 + * @return ResultSet
  46 + */
  47 + function buyinActivityProductExtendList(array $params);
  48 +
  49 + /**
  50 + * 商家处理团长活动商品的推广延期申请
  51 + * @link https://op.jinritemai.com/docs/api-docs/61/1673
  52 + * @param array $params
  53 + * @return ResultSet
  54 + */
  55 + function buyinActivityProductExtendApprove(array $params);
  56 +
  57 + /**
  58 + * 创建/修改商品定向计划
  59 + * @link https://op.jinritemai.com/docs/api-docs/61/708
  60 + * @param array $params
  61 + * @return ResultSet
  62 + */
  63 + function buyinCreateOrUpdateOrienPlan(array $params);
  64 +
  65 + /**
  66 + * 商品定向计划查询
  67 + * @link https://op.jinritemai.com/docs/api-docs/61/705
  68 + * @param array $params
  69 + * @return ResultSet
  70 + */
  71 + function buyinOrienPlanList(array $params);
  72 +
  73 + /**
  74 + * 商品定向计划管理
  75 + * @link https://op.jinritemai.com/docs/api-docs/61/704
  76 + * @param array $params
  77 + * @return ResultSet
  78 + */
  79 + function buyinOrienPlanCtrl(array $params);
  80 +
  81 + /**
  82 + * 查询定向计划作者列表
  83 + * @link https://op.jinritemai.com/docs/api-docs/61/1879
  84 + * @param array $params
  85 + * @return ResultSet
  86 + */
  87 + function buyinOrienPlanAuthors(array $params);
  88 +
  89 + /**
  90 + * 向指定定向计划中添加达人
  91 + * @link https://op.jinritemai.com/docs/api-docs/61/1877
  92 + * @param array $params
  93 + * @return ResultSet
  94 + */
  95 + function buyinOrienPlanAuthorsAdd(array $params);
  96 +
  97 + /**
  98 + * 定向计划达人申请审核
  99 + * @link https://op.jinritemai.com/docs/api-docs/61/1878
  100 + * @param array $params
  101 + * @return ResultSet
  102 + */
  103 + function buyinOrienPlanAudit(array $params);
  104 +
  105 + /**
  106 + * 创建/修改商品专属推广计划
  107 + * @link https://op.jinritemai.com/docs/api-docs/61/1880
  108 + * @param array $params
  109 + * @return ResultSet
  110 + */
  111 + function buyinExclusivePlan(array $params);
  112 +
  113 + /**
  114 + * 店铺专属达人管理
  115 + * @link https://op.jinritemai.com/docs/api-docs/61/1935
  116 + * @param array $params
  117 + * @return ResultSet
  118 + */
  119 + function buyinExclusivePlanAuthorOperate(array $params);
  120 +
  121 + /**
  122 + * 团长活动创建/编辑接口
  123 + * @link https://op.jinritemai.com/docs/api-docs/61/966
  124 + * @param array $params
  125 + * @return ResultSet
  126 + */
  127 + function allianceColonelActivityCreateOrUpdate(array $params);
  128 +
  129 + /**
  130 + * 创建活动时候可选择的类目接口
  131 + * @link https://op.jinritemai.com/docs/api-docs/61/1882
  132 + * @param array $params
  133 + * @return ResultSet
  134 + */
  135 + function allianceActivityProductCategoryList(array $params);
  136 +
  137 + /**
  138 + * 团长活动查询接口
  139 + * @link https://op.jinritemai.com/docs/api-docs/61/1330
  140 + * @param array $params
  141 + * @return ResultSet
  142 + */
  143 + function allianceInstituteColonelActivityList(array $params);
  144 +
  145 + /**
  146 + * 专属团长活动删除接口(下线+删除)
  147 + * @link https://op.jinritemai.com/docs/api-docs/61/972
  148 + * @param array $params
  149 + * @return ResultSet
  150 + */
  151 + function allianceInstituteColonelActivityOperate(array $params);
  152 +
  153 + /**
  154 + * 活动商品查询接口
  155 + * @link https://op.jinritemai.com/docs/api-docs/61/968
  156 + * @param array $params
  157 + * @return ResultSet
  158 + */
  159 + function allianceColonelActivityProduct(array $params);
  160 +
  161 + /**
  162 + * 专属团长活动商品审核接口
  163 + * @link https://op.jinritemai.com/docs/api-docs/61/971
  164 + * @param array $params
  165 + * @return ResultSet
  166 + */
  167 + function allianceColonelActivityProductAudit(array $params);
  168 +
  169 + /**
  170 + * 查询团长活动特殊申请
  171 + * @link https://op.jinritemai.com/docs/api-docs/61/1552
  172 + * @param array $params
  173 + * @return ResultSet
  174 + */
  175 + function buyinColonel/specialApplyList(array $params);
  176 +
  177 + /**
  178 + * 专属团长活动商品延时接口
  179 + * @link https://op.jinritemai.com/docs/api-docs/61/1881
  180 + * @param array $params
  181 + * @return ResultSet
  182 + */
  183 + function allianceColonelActivityProductExtension(array $params);
  184 +
  185 + /**
  186 + * 团长活动特殊申请审核
  187 + * @link https://op.jinritemai.com/docs/api-docs/61/1553
  188 + * @param array $params
  189 + * @return ResultSet
  190 + */
  191 + function buyinColonel/specialApplyDeal(array $params);
  192 +
  193 + /**
  194 + * 团长可参与的二级团长活动查询接口
  195 + * @link https://op.jinritemai.com/docs/api-docs/61/1675
  196 + * @param array $params
  197 + * @return ResultSet
  198 + */
  199 + function buyinOriginColonelEnrollableActivityList(array $params);
  200 +
  201 + /**
  202 + * 获取团长活动详情
  203 + * @link https://op.jinritemai.com/docs/api-docs/61/1670
  204 + * @param array $params
  205 + * @return ResultSet
  206 + */
  207 + function buyinColonelActivityDetail(array $params);
  208 +
  209 + /**
  210 + * 团长获取可提报二级团长活动的商品列表
  211 + * @link https://op.jinritemai.com/docs/api-docs/61/1677
  212 + * @param array $params
  213 + * @return ResultSet
  214 + */
  215 + function buyinOriginColonelUnappliedProductList(array $params);
  216 +
  217 + /**
  218 + * 团长报名二级团长活动
  219 + * @link https://op.jinritemai.com/docs/api-docs/61/1672
  220 + * @param array $params
  221 + * @return ResultSet
  222 + */
  223 + function buyinOriginColonelApplyActivities(array $params);
  224 +
  225 + /**
  226 + * 一级团长查询提报活动商品
  227 + * @link https://op.jinritemai.com/docs/api-docs/61/1926
  228 + * @param array $params
  229 + * @return ResultSet
  230 + */
  231 + function buyinActivityProductList(array $params);
  232 +
  233 + /**
  234 + * 一级团长取消活动提报申请接口
  235 + * @link https://op.jinritemai.com/docs/api-docs/61/1927
  236 + * @param array $params
  237 + * @return ResultSet
  238 + */
  239 + function buyinActivityProductCancel(array $params);
  240 +
  241 + /**
  242 + * 检索精选联盟商品
  243 + * @link https://op.jinritemai.com/docs/api-docs/61/924
  244 + * @param array $params
  245 + * @return ResultSet
  246 + */
  247 + function allianceMaterialsProductsSearch(array $params);
  248 +
  249 + /**
  250 + * 商品推广 普通计划查询
  251 + * @link https://op.jinritemai.com/docs/api-docs/61/349
  252 + * @param array $params
  253 + * @return ResultSet
  254 + */
  255 + function buyinSimplePlanList(array $params);
  256 +
  257 + /**
  258 + * 批量查询推广商品详情
  259 + * @link https://op.jinritemai.com/docs/api-docs/61/1356
  260 + * @param array $params
  261 + * @return ResultSet
  262 + */
  263 + function allianceMaterialsProductsDetails(array $params);
  264 +
  265 + /**
  266 + * 查询商品 SKU
  267 + * @link https://op.jinritemai.com/docs/api-docs/61/1626
  268 + * @param array $params
  269 + * @return ResultSet
  270 + */
  271 + function buyinProductSkus(array $params);
  272 +
  273 + /**
  274 + * 类目查询
  275 + * @link https://op.jinritemai.com/docs/api-docs/61/637
  276 + * @param array $params
  277 + * @return ResultSet
  278 + */
  279 + function allianceMaterialsProductCategory(array $params);
  280 +
  281 + /**
  282 + * 商品状态查询
  283 + * @link https://op.jinritemai.com/docs/api-docs/61/1497
  284 + * @param array $params
  285 + * @return ResultSet
  286 + */
  287 + function buyinMaterialsProductStatus(array $params);
  288 +
  289 + /**
  290 + * 检索精选联盟商品,需达人授权
  291 + * @link https://op.jinritemai.com/docs/api-docs/61/1725
  292 + * @param array $params
  293 + * @return ResultSet
  294 + */
  295 + function buyinKolMaterialsProductsSearch(array $params);
  296 +
  297 + /**
  298 + * 查询达人视角商品详情
  299 + * @link https://op.jinritemai.com/docs/api-docs/61/1589
  300 + * @param array $params
  301 + * @return ResultSet
  302 + */
  303 + function buyinKolMaterialsProductsDetails(array $params);
  304 +
  305 + /**
  306 + * 【即将下线】查询机构联盟订单
  307 + * @link https://op.jinritemai.com/docs/api-docs/61/1398
  308 + * @param array $params
  309 + * @return ResultSet
  310 + */
  311 + function buyinQueryInstituteOrders(array $params);
  312 +
  313 + /**
  314 + * 查询MCN机构订单
  315 + * @link https://op.jinritemai.com/docs/api-docs/61/1602
  316 + * @param array $params
  317 + * @return ResultSet
  318 + */
  319 + function buyinInstituteOrderMCN(array $params);
  320 +
  321 + /**
  322 + * 机构查询团长订单
  323 + * @link https://op.jinritemai.com/docs/api-docs/61/1603
  324 + * @param array $params
  325 + * @return ResultSet
  326 + */
  327 + function buyinInstituteOrderColonel(array $params);
  328 +
  329 + /**
  330 + * 商品选品来源转链
  331 + * @link https://op.jinritemai.com/docs/api-docs/61/1454
  332 + * @param array $params
  333 + * @return ResultSet
  334 + */
  335 + function buyinInstPickSourceConvert(array $params);
  336 +
  337 + /**
  338 + * 机构选品GMV查询接口
  339 + * @link https://op.jinritemai.com/docs/api-docs/61/1652
  340 + * @param array $params
  341 + * @return ResultSet
  342 + */
  343 + function buyinInstGmv(array $params);
  344 +
  345 + /**
  346 + * 机构选品GMV明细查询接口
  347 + * @link https://op.jinritemai.com/docs/api-docs/61/1653
  348 + * @param array $params
  349 + * @return ResultSet
  350 + */
  351 + function buyinInstGmvDetail(array $params);
  352 +
  353 + /**
  354 + * 达人PID创建
  355 + * @link https://op.jinritemai.com/docs/api-docs/61/1460
  356 + * @param array $params
  357 + * @return ResultSet
  358 + */
  359 + function buyinKolPidCreate(array $params);
  360 +
  361 + /**
  362 + * 达人PID查询接口
  363 + * @link https://op.jinritemai.com/docs/api-docs/61/1461
  364 + * @param array $params
  365 + * @return ResultSet
  366 + */
  367 + function buyinKolPidList(array $params);
  368 +
  369 + /**
  370 + * 达人PID 编辑
  371 + * @link https://op.jinritemai.com/docs/api-docs/61/1462
  372 + * @param array $params
  373 + * @return ResultSet
  374 + */
  375 + function buyinKolPidEdit(array $params);
  376 +
  377 + /**
  378 + * 达人PID删除
  379 + * @link https://op.jinritemai.com/docs/api-docs/61/1463
  380 + * @param array $params
  381 + * @return ResultSet
  382 + */
  383 + function buyinKolPidDel(array $params);
  384 +
  385 + /**
  386 + * 商品口令转商品解析
  387 + * @link https://op.jinritemai.com/docs/api-docs/61/1726
  388 + * @param array $params
  389 + * @return ResultSet
  390 + */
  391 + function buyinShareCommandParse(array $params);
  392 +
  393 + /**
  394 + * 达人商品分销转链
  395 + * @link https://op.jinritemai.com/docs/api-docs/61/1464
  396 + * @param array $params
  397 + * @return ResultSet
  398 + */
  399 + function buyinKolProductShare(array $params);
  400 +
  401 + /**
  402 + * 机构PID创建
  403 + * @link https://op.jinritemai.com/docs/api-docs/61/1273
  404 + * @param array $params
  405 + * @return ResultSet
  406 + */
  407 + function buyinInstitutePidCreate(array $params);
  408 +
  409 + /**
  410 + * 机构PID查询接口
  411 + * @link https://op.jinritemai.com/docs/api-docs/61/1269
  412 + * @param array $params
  413 + * @return ResultSet
  414 + */
  415 + function buyinInstitutePidList(array $params);
  416 +
  417 + /**
  418 + * 机构PID 编辑
  419 + * @link https://op.jinritemai.com/docs/api-docs/61/1270
  420 + * @param array $params
  421 + * @return ResultSet
  422 + */
  423 + function buyinInstitutePidEdit(array $params);
  424 +
  425 + /**
  426 + * 机构PID删除
  427 + * @link https://op.jinritemai.com/docs/api-docs/61/1271
  428 + * @param array $params
  429 + * @return ResultSet
  430 + */
  431 + function buyinInstitutePidDel(array $params);
  432 +
  433 + /**
  434 + * 直播间分销物料查询
  435 + * @link https://op.jinritemai.com/docs/api-docs/61/1396
  436 + * @param array $params
  437 + * @return ResultSet
  438 + */
  439 + function buyinLiveShareMaterial(array $params);
  440 +
  441 + /**
  442 + * 分销直播间商品列表
  443 + * @link https://op.jinritemai.com/docs/api-docs/61/1770
  444 + * @param array $params
  445 + * @return ResultSet
  446 + */
  447 + function buyinDistributionLiveProductList(array $params);
  448 +
  449 + /**
  450 + * 机构获取达人直播间分享链接
  451 + * @link https://op.jinritemai.com/docs/api-docs/61/1297
  452 + * @param array $params
  453 + * @return ResultSet
  454 + */
  455 + function buyinInstituteLiveShare(array $params);
  456 +
  457 + /**
  458 + * 查询抖客直播间分销订单
  459 + * @link https://op.jinritemai.com/docs/api-docs/61/1296
  460 + * @param array $params
  461 + * @return ResultSet
  462 + */
  463 + function buyinInstituteOrderAds(array $params);
  464 +
  465 + /**
  466 + * 查询达人的直播间分销、商品分销、活动页分销订单
  467 + * @link https://op.jinritemai.com/docs/api-docs/61/1459
  468 + * @param array $params
  469 + * @return ResultSet
  470 + */
  471 + function buyinKolOrderAds(array $params);
  472 +
  473 + /**
  474 + * 店铺会员绑定渠道关系创建
  475 + * @link https://op.jinritemai.com/docs/api-docs/61/1493
  476 + * @param array $params
  477 + * @return ResultSet
  478 + */
  479 + function buyinShopPidMemberCreate(array $params);
  480 +
  481 + /**
  482 + * 获取达人直播间分享链接
  483 + * @link https://op.jinritemai.com/docs/api-docs/61/1724
  484 + * @param array $params
  485 + * @return ResultSet
  486 + */
  487 + function buyinKolLiveShare(array $params);
  488 +
  489 + /**
  490 + * 团长托管商品审核
  491 + * @link https://op.jinritemai.com/docs/api-docs/61/2138
  492 + * @param array $params
  493 + * @return ResultSet
  494 + */
  495 + function buyinMHandleTrusteeshipApply(array $params);
  496 +
  497 + /**
  498 + * 团长托管商品查询
  499 + * @link https://op.jinritemai.com/docs/api-docs/61/2137
  500 + * @param array $params
  501 + * @return ResultSet
  502 + */
  503 + function buyinColonel/trusteeshipList(array $params);
  504 +
  505 + /**
  506 + * 选品订单明细查询接口
  507 + * @link https://op.jinritemai.com/docs/api-docs/61/2008
  508 + * @param array $params
  509 + * @return ResultSet
  510 + */
  511 + function buyinInstituteOrderPick(array $params);
  512 +
  513 + /**
  514 + * 机构直播预告转链
  515 + * @link https://op.jinritemai.com/docs/api-docs/61/2007
  516 + * @param array $params
  517 + * @return ResultSet
  518 + */
  519 + function buyinInstituteLivePreviewShare(array $params);
  520 +
  521 + /**
  522 + * 达人直播预告转链
  523 + * @link https://op.jinritemai.com/docs/api-docs/61/2006
  524 + * @param array $params
  525 + * @return ResultSet
  526 + */
  527 + function buyinKolLivePreviewShare(array $params);
  528 +
  529 + /**
  530 + * 活动页转链接口
  531 + * @link https://op.jinritemai.com/docs/api-docs/61/2003
  532 + * @param array $params
  533 + * @return ResultSet
  534 + */
  535 + function buyinActivityShareConvert(array $params);
  536 +}
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Coupons; 3 +namespace Lackoxygen\TiktokShop\Request\Coupons;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Coupons extends Passage implements CouponsInterface 7 +class Coupons extends Request implements CouponsInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Coupons;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Coupons;
6 4
7 /** 5 /**
8 * @note 卡券API 6 * @note 卡券API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Crossborder; 3 +namespace Lackoxygen\TiktokShop\Request\Crossborder;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Crossborder extends Passage implements CrossborderInterface 7 +class Crossborder extends Request implements CrossborderInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Crossborder;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Crossborder;
6 4
7 /** 5 /**
8 * @note 跨境API 6 * @note 跨境API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Iop; 3 +namespace Lackoxygen\TiktokShop\Request\Iop;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Iop extends Passage implements IopInterface 7 +class Iop extends Request implements IopInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Iop;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Iop;
6 4
7 /** 5 /**
8 * @note 代发API 6 * @note 代发API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Logistics; 3 +namespace Lackoxygen\TiktokShop\Request\Logistics;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Logistics extends Passage implements LogisticsInterface 7 +class Logistics extends Request implements LogisticsInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Logistics;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Logistics;
6 4
7 /** 5 /**
8 * @note 物流发货API 6 * @note 物流发货API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Material; 3 +namespace Lackoxygen\TiktokShop\Request\Material;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Material extends Passage implements MaterialInterface 7 +class Material extends Request implements MaterialInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
@@ -207,6 +207,17 @@ class Material extends Passage implements MaterialInterface @@ -207,6 +207,17 @@ class Material extends Passage implements MaterialInterface
207 /** 207 /**
208 * @inheritDoc 208 * @inheritDoc
209 */ 209 */
  210 + public function materialMGetPlayInfo(array $params)
  211 + {
  212 + $this->builder->method('POST')
  213 + ->service('material.mGetPlayInfo')
  214 + ->path('/material/mGetPlayInfo')
  215 + ->params($params);
  216 + }
  217 +
  218 + /**
  219 + * @inheritDoc
  220 + */
210 public function materialEasyShuttle(array $params) 221 public function materialEasyShuttle(array $params)
211 { 222 {
212 $this->builder->method('POST') 223 $this->builder->method('POST')
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Material;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Material;
6 4
7 /** 5 /**
8 * @note 素材中心API 6 * @note 素材中心API
@@ -154,6 +152,14 @@ interface MaterialInterface @@ -154,6 +152,14 @@ interface MaterialInterface
154 public function materialGetCapInfo(array $params); 152 public function materialGetCapInfo(array $params);
155 153
156 /** 154 /**
  155 + * 批量获取视频信息
  156 + * @link https://op.jinritemai.com/docs/api-docs/69/2164
  157 + * @param array $params
  158 + * @return ResultSet
  159 + */
  160 + public function materialMGetPlayInfo(array $params);
  161 +
  162 + /**
157 * 一键删除 163 * 一键删除
158 * @link https://op.jinritemai.com/docs/api-docs/69/1955 164 * @link https://op.jinritemai.com/docs/api-docs/69/1955
159 * @param array $params 165 * @param array $params
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Member; 3 +namespace Lackoxygen\TiktokShop\Request\Member;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Member extends Passage implements MemberInterface 7 +class Member extends Request implements MemberInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Member;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Member;
6 4
7 /** 5 /**
8 * @note 会员中心API 6 * @note 会员中心API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\OpenCloud; 3 +namespace Lackoxygen\TiktokShop\Request\OpenCloud;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class OpenCloud extends Passage implements OpenCloudInterface 7 +class OpenCloud extends Request implements OpenCloudInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\OpenCloud;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\OpenCloud;
6 4
7 /** 5 /**
8 * @note 电商云API 6 * @note 电商云API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Order; 3 +namespace Lackoxygen\TiktokShop\Request\Order;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Order extends Passage implements OrderInterface 7 +class Order extends Request implements OrderInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Order;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Order;
6 4
7 /** 5 /**
8 * @note 订单API 6 * @note 订单API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\OrderCode; 3 +namespace Lackoxygen\TiktokShop\Request\OrderCode;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class OrderCode extends Passage implements OrderCodeInterface 7 +class OrderCode extends Request implements OrderCodeInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\OrderCode;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\OrderCode;
6 4
7 /** 5 /**
8 * @note BIC质检API 6 * @note BIC质检API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Pigeon; 3 +namespace Lackoxygen\TiktokShop\Request\Pigeon;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Pigeon extends Passage implements PigeonInterface 7 +class Pigeon extends Request implements PigeonInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Pigeon;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Pigeon;
6 4
7 /** 5 /**
8 * @note 飞鸽API 6 * @note 飞鸽API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Product; 3 +namespace Lackoxygen\TiktokShop\Request\Product;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Product extends Passage implements ProductInterface 7 +class Product extends Request implements ProductInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Product;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Product;
6 4
7 /** 5 /**
8 * @note 商品API 6 * @note 商品API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Recycle; 3 +namespace Lackoxygen\TiktokShop\Request\Recycle;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Recycle extends Passage implements RecycleInterface 7 +class Recycle extends Request implements RecycleInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Recycle;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Recycle;
6 4
7 /** 5 /**
8 * @note 回收寄卖API 6 * @note 回收寄卖API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage; 3 +namespace Lackoxygen\TiktokShop\Request;
4 4
5 -use Lackoxygen\TiktokShop\Attribute\Config; 5 +use Lackoxygen\TiktokShop\Attribute\Config\Config;
  6 +use Lackoxygen\TiktokShop\Attribute\Config\Option;
6 use Lackoxygen\TiktokShop\Exception\ClientException; 7 use Lackoxygen\TiktokShop\Exception\ClientException;
7 -use Lackoxygen\TiktokShop\Transmit\Builder; 8 +use Lackoxygen\TiktokShop\Support\Client\Builder;
8 use Psr\Http\Message\ResponseInterface; 9 use Psr\Http\Message\ResponseInterface;
9 10
10 -abstract class Passage 11 +abstract class Request extends Config
11 { 12 {
12 - protected Config $config;  
13 - 13 + /**
  14 + * @var Builder
  15 + */
14 protected Builder $builder; 16 protected Builder $builder;
15 17
16 /** 18 /**
17 - * @param Config $config 19 + * @param Option $config
18 * @param string $method 20 * @param string $method
19 */ 21 */
20 - public function __construct(Config $config, string $method) 22 + public function __construct(Option $config, string $method)
21 { 23 {
22 - $this->config = $config;  
23 - $this->builder = Builder::create($config, get_class($this), $method); 24 + parent::__construct($config);
  25 +
  26 + $this->builder = Builder::create(
  27 + $config,
  28 + get_class($this),
  29 + $method
  30 + );
24 } 31 }
25 32
26 /** 33 /**
  1 +<?php
  2 +
  3 +namespace Lackoxygen\TiktokShop\Request;
  4 +
  5 +use Lackoxygen\TiktokShop\Attribute\Config\Config;
  6 +use Lackoxygen\TiktokShop\Attribute\Config\Option;
  7 +use Lackoxygen\TiktokShop\Exception\ClientException;
  8 +use Lackoxygen\TiktokShop\Response\ResultSet;
  9 +
  10 +class RequestProxy extends Config
  11 +{
  12 + /**
  13 + * @var string
  14 + */
  15 + protected string $request;
  16 +
  17 + /**
  18 + * @param Option $config
  19 + * @param string $request
  20 + */
  21 + protected function __construct(Option $config, string $request)
  22 + {
  23 + parent::__construct($config);
  24 +
  25 + $this->request = $request;
  26 + }
  27 +
  28 + /**
  29 + * @param string $request
  30 + * @param Option $config
  31 + * @return RequestProxy
  32 + */
  33 + public static function proxy(string $request, Option $config): RequestProxy
  34 + {
  35 + return new self($config, $request);
  36 + }
  37 +
  38 + /**
  39 + * @throws ClientException
  40 + */
  41 + public function __call($name, $arguments): ResultSet
  42 + {
  43 + /**
  44 + * @var Request $request
  45 + */
  46 + $request = new $this->request($this->config, $name);
  47 +
  48 + $result = call_user_func_array([$request, $name], $arguments);
  49 +
  50 + if (!is_null($result)) {
  51 + return new ResultSet($result);
  52 + }
  53 +
  54 + return new ResultSet($request());
  55 + }
  56 +}
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Sms; 3 +namespace Lackoxygen\TiktokShop\Request\Sms;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Sms extends Passage implements SmsInterface 7 +class Sms extends Request implements SmsInterface
8 { 8 {
9 - /**  
10 - * @inheritDoc  
11 - */  
12 - public function smsTemplateapply(array $params)  
13 - {  
14 - $this->builder->method('POST')  
15 - ->service('sms.template/apply')  
16 - ->path('/sms/template/apply')  
17 - ->params($params);  
18 - }  
19 -  
20 - /**  
21 - * @inheritDoc  
22 - */  
23 - public function smsPublictemplate(array $params)  
24 - {  
25 - $this->builder->method('POST')  
26 - ->service('sms.public/template')  
27 - ->path('/sms/public/template')  
28 - ->params($params);  
29 - }  
30 -  
31 - /**  
32 - * @inheritDoc  
33 - */  
34 - public function smsSignapply(array $params)  
35 - {  
36 - $this->builder->method('POST')  
37 - ->service('sms.sign/apply')  
38 - ->path('/sms/sign/apply')  
39 - ->params($params);  
40 - }  
41 -  
42 - /**  
43 - * @inheritDoc  
44 - */  
45 - public function smsTemplaterevoke(array $params)  
46 - {  
47 - $this->builder->method('POST')  
48 - ->service('sms.template/revoke')  
49 - ->path('/sms/template/revoke')  
50 - ->params($params);  
51 - }  
52 -  
53 - /**  
54 - * @inheritDoc  
55 - */  
56 - public function smsSignapplylist(array $params)  
57 - {  
58 - $this->builder->method('POST')  
59 - ->service('sms.sign/apply/list')  
60 - ->path('/sms/sign/apply/list')  
61 - ->params($params);  
62 - }  
63 -  
64 - /**  
65 - * @inheritDoc  
66 - */  
67 - public function smsSend(array $params)  
68 - {  
69 - $this->builder->method('POST')  
70 - ->service('sms.send')  
71 - ->path('/sms/send')  
72 - ->params($params);  
73 - }  
74 -  
75 - /**  
76 - * @inheritDoc  
77 - */  
78 - public function smsBatchSend(array $params)  
79 - {  
80 - $this->builder->method('POST')  
81 - ->service('sms.batchSend')  
82 - ->path('/sms/batchSend')  
83 - ->params($params);  
84 - }  
85 -  
86 - /**  
87 - * @inheritDoc  
88 - */  
89 - public function smsSigndelete(array $params)  
90 - {  
91 - $this->builder->method('POST')  
92 - ->service('sms.sign/delete')  
93 - ->path('/sms/sign/delete')  
94 - ->params($params);  
95 - }  
96 -  
97 - /**  
98 - * @inheritDoc  
99 - */  
100 - public function smsSignapplyrevoke(array $params)  
101 - {  
102 - $this->builder->method('POST')  
103 - ->service('sms.sign/apply/revoke')  
104 - ->path('/sms/sign/apply/revoke')  
105 - ->params($params);  
106 - }  
107 -  
108 - /**  
109 - * @inheritDoc  
110 - */  
111 - public function smsTemplatedelete(array $params)  
112 - {  
113 - $this->builder->method('POST')  
114 - ->service('sms.template/delete')  
115 - ->path('/sms/template/delete')  
116 - ->params($params);  
117 - }  
118 -  
119 - /**  
120 - * @inheritDoc  
121 - */  
122 - public function smsSendResult(array $params)  
123 - {  
124 - $this->builder->method('POST')  
125 - ->service('sms.sendResult')  
126 - ->path('/sms/sendResult')  
127 - ->params($params);  
128 - }  
129 -  
130 - /**  
131 - * @inheritDoc  
132 - */  
133 - public function smsTemplateapplylist(array $params)  
134 - {  
135 - $this->builder->method('POST')  
136 - ->service('sms.template/apply/list')  
137 - ->path('/sms/template/apply/list')  
138 - ->params($params);  
139 - }  
140 -  
141 - /**  
142 - * @inheritDoc  
143 - */  
144 - public function smsSignsearch(array $params)  
145 - {  
146 - $this->builder->method('POST')  
147 - ->service('sms.sign/search')  
148 - ->path('/sms/sign/search')  
149 - ->params($params);  
150 - }  
151 -  
152 - /**  
153 - * @inheritDoc  
154 - */  
155 - public function smsTemplatesearch(array $params)  
156 - {  
157 - $this->builder->method('POST')  
158 - ->service('sms.template/search')  
159 - ->path('/sms/template/search')  
160 - ->params($params);  
161 - }  
162 -} 9 + /**
  10 + * @inheritDoc
  11 + */
  12 + function smsTemplate/apply(array $params)
  13 + {
  14 + $this->builder->method('POST')
  15 + ->service('sms.template/apply')
  16 + ->path('/sms/template/apply')
  17 + ->params($params);
  18 + }
  19 +
  20 + /**
  21 + * @inheritDoc
  22 + */
  23 + function smsPublic/template(array $params)
  24 + {
  25 + $this->builder->method('POST')
  26 + ->service('sms.public/template')
  27 + ->path('/sms/public/template')
  28 + ->params($params);
  29 + }
  30 +
  31 + /**
  32 + * @inheritDoc
  33 + */
  34 + function smsSign/apply(array $params)
  35 + {
  36 + $this->builder->method('POST')
  37 + ->service('sms.sign/apply')
  38 + ->path('/sms/sign/apply')
  39 + ->params($params);
  40 + }
  41 +
  42 + /**
  43 + * @inheritDoc
  44 + */
  45 + function smsTemplate/revoke(array $params)
  46 + {
  47 + $this->builder->method('POST')
  48 + ->service('sms.template/revoke')
  49 + ->path('/sms/template/revoke')
  50 + ->params($params);
  51 + }
  52 +
  53 + /**
  54 + * @inheritDoc
  55 + */
  56 + function smsSign/apply/list(array $params)
  57 + {
  58 + $this->builder->method('POST')
  59 + ->service('sms.sign/apply/list')
  60 + ->path('/sms/sign/apply/list')
  61 + ->params($params);
  62 + }
  63 +
  64 + /**
  65 + * @inheritDoc
  66 + */
  67 + function smsSend(array $params)
  68 + {
  69 + $this->builder->method('POST')
  70 + ->service('sms.send')
  71 + ->path('/sms/send')
  72 + ->params($params);
  73 + }
  74 +
  75 + /**
  76 + * @inheritDoc
  77 + */
  78 + function smsBatchSend(array $params)
  79 + {
  80 + $this->builder->method('POST')
  81 + ->service('sms.batchSend')
  82 + ->path('/sms/batchSend')
  83 + ->params($params);
  84 + }
  85 +
  86 + /**
  87 + * @inheritDoc
  88 + */
  89 + function smsSign/delete(array $params)
  90 + {
  91 + $this->builder->method('POST')
  92 + ->service('sms.sign/delete')
  93 + ->path('/sms/sign/delete')
  94 + ->params($params);
  95 + }
  96 +
  97 + /**
  98 + * @inheritDoc
  99 + */
  100 + function smsSign/apply/revoke(array $params)
  101 + {
  102 + $this->builder->method('POST')
  103 + ->service('sms.sign/apply/revoke')
  104 + ->path('/sms/sign/apply/revoke')
  105 + ->params($params);
  106 + }
  107 +
  108 + /**
  109 + * @inheritDoc
  110 + */
  111 + function smsTemplate/delete(array $params)
  112 + {
  113 + $this->builder->method('POST')
  114 + ->service('sms.template/delete')
  115 + ->path('/sms/template/delete')
  116 + ->params($params);
  117 + }
  118 +
  119 + /**
  120 + * @inheritDoc
  121 + */
  122 + function smsSendResult(array $params)
  123 + {
  124 + $this->builder->method('POST')
  125 + ->service('sms.sendResult')
  126 + ->path('/sms/sendResult')
  127 + ->params($params);
  128 + }
  129 +
  130 + /**
  131 + * @inheritDoc
  132 + */
  133 + function smsTemplate/apply/list(array $params)
  134 + {
  135 + $this->builder->method('POST')
  136 + ->service('sms.template/apply/list')
  137 + ->path('/sms/template/apply/list')
  138 + ->params($params);
  139 + }
  140 +
  141 + /**
  142 + * @inheritDoc
  143 + */
  144 + function smsSign/search(array $params)
  145 + {
  146 + $this->builder->method('POST')
  147 + ->service('sms.sign/search')
  148 + ->path('/sms/sign/search')
  149 + ->params($params);
  150 + }
  151 +
  152 + /**
  153 + * @inheritDoc
  154 + */
  155 + function smsTemplate/search(array $params)
  156 + {
  157 + $this->builder->method('POST')
  158 + ->service('sms.template/search')
  159 + ->path('/sms/template/search')
  160 + ->params($params);
  161 + }
  162 +}
1 <?php 1 <?php
2 -  
3 -namespace Lackoxygen\TiktokShop\Passage\Sms;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 2 +namespace Lackoxygen\TiktokShop\Request\Sms;
6 3
7 /** 4 /**
8 * @note 短信API 5 * @note 短信API
9 */ 6 */
10 interface SmsInterface 7 interface SmsInterface
11 { 8 {
12 - /**  
13 - * 提交短信模板申请单  
14 - * @link https://op.jinritemai.com/docs/api-docs/163/1527  
15 - * @param array $params  
16 - * @return ResultSet  
17 - */  
18 - public function smsTemplateapply(array $params);  
19 -  
20 - /**  
21 - * 公共模版查询接口  
22 - * @link https://op.jinritemai.com/docs/api-docs/163/1526  
23 - * @param array $params  
24 - * @return ResultSet  
25 - */  
26 - public function smsPublictemplate(array $params);  
27 -  
28 - /**  
29 - * 提交短信签名申请单  
30 - * @link https://op.jinritemai.com/docs/api-docs/163/1525  
31 - * @param array $params  
32 - * @return ResultSet  
33 - */  
34 - public function smsSignapply(array $params);  
35 -  
36 - /**  
37 - * 撤销短信模板申请单  
38 - * @link https://op.jinritemai.com/docs/api-docs/163/1524  
39 - * @param array $params  
40 - * @return ResultSet  
41 - */  
42 - public function smsTemplaterevoke(array $params);  
43 -  
44 - /**  
45 - * 查看短信签名申请单  
46 - * @link https://op.jinritemai.com/docs/api-docs/163/1523  
47 - * @param array $params  
48 - * @return ResultSet  
49 - */  
50 - public function smsSignapplylist(array $params);  
51 -  
52 - /**  
53 - * 短信发送  
54 - * @link https://op.jinritemai.com/docs/api-docs/163/1522  
55 - * @param array $params  
56 - * @return ResultSet  
57 - */  
58 - public function smsSend(array $params);  
59 -  
60 - /**  
61 - * 批量短信发送  
62 - * @link https://op.jinritemai.com/docs/api-docs/163/1521  
63 - * @param array $params  
64 - * @return ResultSet  
65 - */  
66 - public function smsBatchSend(array $params);  
67 -  
68 - /**  
69 - * 删除短信签名  
70 - * @link https://op.jinritemai.com/docs/api-docs/163/1520  
71 - * @param array $params  
72 - * @return ResultSet  
73 - */  
74 - public function smsSigndelete(array $params);  
75 -  
76 - /**  
77 - * 撤销短信签名申请单  
78 - * @link https://op.jinritemai.com/docs/api-docs/163/1519  
79 - * @param array $params  
80 - * @return ResultSet  
81 - */  
82 - public function smsSignapplyrevoke(array $params);  
83 -  
84 - /**  
85 - * 删除短信模板  
86 - * @link https://op.jinritemai.com/docs/api-docs/163/1518  
87 - * @param array $params  
88 - * @return ResultSet  
89 - */  
90 - public function smsTemplatedelete(array $params);  
91 -  
92 - /**  
93 - * 查询短信发送结果  
94 - * @link https://op.jinritemai.com/docs/api-docs/163/1517  
95 - * @param array $params  
96 - * @return ResultSet  
97 - */  
98 - public function smsSendResult(array $params);  
99 -  
100 - /**  
101 - * 查询短信模板申请单  
102 - * @link https://op.jinritemai.com/docs/api-docs/163/1516  
103 - * @param array $params  
104 - * @return ResultSet  
105 - */  
106 - public function smsTemplateapplylist(array $params);  
107 -  
108 - /**  
109 - * 查看短信签名  
110 - * @link https://op.jinritemai.com/docs/api-docs/163/1515  
111 - * @param array $params  
112 - * @return ResultSet  
113 - */  
114 - public function smsSignsearch(array $params);  
115 -  
116 - /**  
117 - * 查询短信模板  
118 - * @link https://op.jinritemai.com/docs/api-docs/163/1514  
119 - * @param array $params  
120 - * @return ResultSet  
121 - */  
122 - public function smsTemplatesearch(array $params);  
123 -} 9 + /**
  10 + * 提交短信模板申请单
  11 + * @link https://op.jinritemai.com/docs/api-docs/163/1527
  12 + * @param array $params
  13 + * @return ResultSet
  14 + */
  15 + function smsTemplate/apply(array $params);
  16 +
  17 + /**
  18 + * 公共模版查询接口
  19 + * @link https://op.jinritemai.com/docs/api-docs/163/1526
  20 + * @param array $params
  21 + * @return ResultSet
  22 + */
  23 + function smsPublic/template(array $params);
  24 +
  25 + /**
  26 + * 提交短信签名申请单
  27 + * @link https://op.jinritemai.com/docs/api-docs/163/1525
  28 + * @param array $params
  29 + * @return ResultSet
  30 + */
  31 + function smsSign/apply(array $params);
  32 +
  33 + /**
  34 + * 撤销短信模板申请单
  35 + * @link https://op.jinritemai.com/docs/api-docs/163/1524
  36 + * @param array $params
  37 + * @return ResultSet
  38 + */
  39 + function smsTemplate/revoke(array $params);
  40 +
  41 + /**
  42 + * 查看短信签名申请单
  43 + * @link https://op.jinritemai.com/docs/api-docs/163/1523
  44 + * @param array $params
  45 + * @return ResultSet
  46 + */
  47 + function smsSign/apply/list(array $params);
  48 +
  49 + /**
  50 + * 短信发送
  51 + * @link https://op.jinritemai.com/docs/api-docs/163/1522
  52 + * @param array $params
  53 + * @return ResultSet
  54 + */
  55 + function smsSend(array $params);
  56 +
  57 + /**
  58 + * 批量短信发送
  59 + * @link https://op.jinritemai.com/docs/api-docs/163/1521
  60 + * @param array $params
  61 + * @return ResultSet
  62 + */
  63 + function smsBatchSend(array $params);
  64 +
  65 + /**
  66 + * 删除短信签名
  67 + * @link https://op.jinritemai.com/docs/api-docs/163/1520
  68 + * @param array $params
  69 + * @return ResultSet
  70 + */
  71 + function smsSign/delete(array $params);
  72 +
  73 + /**
  74 + * 撤销短信签名申请单
  75 + * @link https://op.jinritemai.com/docs/api-docs/163/1519
  76 + * @param array $params
  77 + * @return ResultSet
  78 + */
  79 + function smsSign/apply/revoke(array $params);
  80 +
  81 + /**
  82 + * 删除短信模板
  83 + * @link https://op.jinritemai.com/docs/api-docs/163/1518
  84 + * @param array $params
  85 + * @return ResultSet
  86 + */
  87 + function smsTemplate/delete(array $params);
  88 +
  89 + /**
  90 + * 查询短信发送结果
  91 + * @link https://op.jinritemai.com/docs/api-docs/163/1517
  92 + * @param array $params
  93 + * @return ResultSet
  94 + */
  95 + function smsSendResult(array $params);
  96 +
  97 + /**
  98 + * 查询短信模板申请单
  99 + * @link https://op.jinritemai.com/docs/api-docs/163/1516
  100 + * @param array $params
  101 + * @return ResultSet
  102 + */
  103 + function smsTemplate/apply/list(array $params);
  104 +
  105 + /**
  106 + * 查看短信签名
  107 + * @link https://op.jinritemai.com/docs/api-docs/163/1515
  108 + * @param array $params
  109 + * @return ResultSet
  110 + */
  111 + function smsSign/search(array $params);
  112 +
  113 + /**
  114 + * 查询短信模板
  115 + * @link https://op.jinritemai.com/docs/api-docs/163/1514
  116 + * @param array $params
  117 + * @return ResultSet
  118 + */
  119 + function smsTemplate/search(array $params);
  120 +}
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\SupplyChain; 3 +namespace Lackoxygen\TiktokShop\Request\SupplyChain;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class SupplyChain extends Passage implements SupplyChainInterface 7 +class SupplyChain extends Request implements SupplyChainInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\SupplyChain;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\SupplyChain;
6 4
7 /** 5 /**
8 * @note 供销平台API 6 * @note 供销平台API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Token; 3 +namespace Lackoxygen\TiktokShop\Request\Token;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Token extends Passage implements TokenInterface 7 +class Token extends Request implements TokenInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Token;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Token;
6 4
7 /** 5 /**
8 * @note 工具API 6 * @note 工具API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Topup; 3 +namespace Lackoxygen\TiktokShop\Request\Topup;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Topup extends Passage implements TopupInterface 7 +class Topup extends Request implements TopupInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Topup;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 3 +namespace Lackoxygen\TiktokShop\Request\Topup;
6 4
7 /** 5 /**
8 * @note 虚拟充值API 6 * @note 虚拟充值API
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Warehouse; 3 +namespace Lackoxygen\TiktokShop\Request\Warehouse;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Warehouse extends Passage implements WarehouseInterface 7 +class Warehouse extends Request implements WarehouseInterface
8 { 8 {
9 - /**  
10 - * @inheritDoc  
11 - */  
12 - public function skuStockNum(array $params)  
13 - {  
14 - $this->builder->method('POST')  
15 - ->service('sku.stockNum')  
16 - ->path('/sku/stockNum')  
17 - ->params($params);  
18 - }  
19 -  
20 - /**  
21 - * @inheritDoc  
22 - */  
23 - public function skuSyncStock(array $params)  
24 - {  
25 - $this->builder->method('POST')  
26 - ->service('sku.syncStock')  
27 - ->path('/sku/syncStock')  
28 - ->params($params);  
29 - }  
30 -  
31 - /**  
32 - * @inheritDoc  
33 - */  
34 - public function warehouseadjustInventory(array $params)  
35 - {  
36 - $this->builder->method('POST')  
37 - ->service('/warehouse/adjustInventory')  
38 - ->path('/warehouse/adjustInventory')  
39 - ->params($params);  
40 - }  
41 -  
42 - /**  
43 - * @inheritDoc  
44 - */  
45 - public function skuSyncStockBatch(array $params)  
46 - {  
47 - $this->builder->method('POST')  
48 - ->service('sku.syncStockBatch')  
49 - ->path('/sku/syncStockBatch')  
50 - ->params($params);  
51 - }  
52 -  
53 - /**  
54 - * @inheritDoc  
55 - */  
56 - public function warehouseSetFence(array $params)  
57 - {  
58 - $this->builder->method('POST')  
59 - ->service('warehouse.setFence')  
60 - ->path('/warehouse/setFence')  
61 - ->params($params);  
62 - }  
63 -  
64 - /**  
65 - * @inheritDoc  
66 - */  
67 - public function warehouseGetFences(array $params)  
68 - {  
69 - $this->builder->method('POST')  
70 - ->service('warehouse.getFences')  
71 - ->path('/warehouse/getFences')  
72 - ->params($params);  
73 - }  
74 -  
75 - /**  
76 - * @inheritDoc  
77 - */  
78 - public function warehouseCreateFence(array $params)  
79 - {  
80 - $this->builder->method('POST')  
81 - ->service('warehouse.createFence')  
82 - ->path('/warehouse/createFence')  
83 - ->params($params);  
84 - }  
85 -  
86 - /**  
87 - * @inheritDoc  
88 - */  
89 - public function warehouseUnbindFences(array $params)  
90 - {  
91 - $this->builder->method('POST')  
92 - ->service('warehouse.unbindFences')  
93 - ->path('/warehouse/unbindFences')  
94 - ->params($params);  
95 - }  
96 -  
97 - /**  
98 - * @inheritDoc  
99 - */  
100 - public function warehouseRemoveAddr(array $params)  
101 - {  
102 - $this->builder->method('POST')  
103 - ->service('warehouse.removeAddr')  
104 - ->path('/warehouse/removeAddr')  
105 - ->params($params);  
106 - }  
107 -  
108 - /**  
109 - * @inheritDoc  
110 - */  
111 - public function promiseSetSkuShipTime(array $params)  
112 - {  
113 - $this->builder->method('POST')  
114 - ->service('promise.setSkuShipTime')  
115 - ->path('/promise/setSkuShipTime')  
116 - ->params($params);  
117 - }  
118 -  
119 - /**  
120 - * @inheritDoc  
121 - */  
122 - public function warehouseInfo(array $params)  
123 - {  
124 - $this->builder->method('POST')  
125 - ->service('warehouse.info')  
126 - ->path('/warehouse/info')  
127 - ->params($params);  
128 - }  
129 -  
130 - /**  
131 - * @inheritDoc  
132 - */  
133 - public function warehouseEdit(array $params)  
134 - {  
135 - $this->builder->method('POST')  
136 - ->service('warehouse.edit')  
137 - ->path('/warehouse/edit')  
138 - ->params($params);  
139 - }  
140 -  
141 - /**  
142 - * @inheritDoc  
143 - */  
144 - public function warehouseCreate(array $params)  
145 - {  
146 - $this->builder->method('POST')  
147 - ->service('warehouse.create')  
148 - ->path('/warehouse/create')  
149 - ->params($params);  
150 - }  
151 -  
152 - /**  
153 - * @inheritDoc  
154 - */  
155 - public function warehouseSetAddr(array $params)  
156 - {  
157 - $this->builder->method('POST')  
158 - ->service('warehouse.setAddr')  
159 - ->path('/warehouse/setAddr')  
160 - ->params($params);  
161 - }  
162 -  
163 - /**  
164 - * @inheritDoc  
165 - */  
166 - public function warehouseList(array $params)  
167 - {  
168 - $this->builder->method('POST')  
169 - ->service('warehouse.list')  
170 - ->path('/warehouse/list')  
171 - ->params($params);  
172 - }  
173 -  
174 - /**  
175 - * @inheritDoc  
176 - */  
177 - public function warehouseSetAddrBatch(array $params)  
178 - {  
179 - $this->builder->method('POST')  
180 - ->service('warehouse.setAddrBatch')  
181 - ->path('/warehouse/setAddrBatch')  
182 - ->params($params);  
183 - }  
184 -  
185 - /**  
186 - * @inheritDoc  
187 - */  
188 - public function warehouseCreateBatch(array $params)  
189 - {  
190 - $this->builder->method('POST')  
191 - ->service('warehouse.createBatch')  
192 - ->path('/warehouse/createBatch')  
193 - ->params($params);  
194 - }  
195 -  
196 - /**  
197 - * @inheritDoc  
198 - */  
199 - public function warehouseSetPriority(array $params)  
200 - {  
201 - $this->builder->method('POST')  
202 - ->service('warehouse.setPriority')  
203 - ->path('/warehouse/setPriority')  
204 - ->params($params);  
205 - }  
206 -  
207 - /**  
208 - * @inheritDoc  
209 - */  
210 - public function warehouseDelFence(array $params)  
211 - {  
212 - $this->builder->method('POST')  
213 - ->service('warehouse.delFence')  
214 - ->path('/warehouse/delFence')  
215 - ->params($params);  
216 - }  
217 -  
218 - /**  
219 - * @inheritDoc  
220 - */  
221 - public function warehouseBindFences(array $params)  
222 - {  
223 - $this->builder->method('POST')  
224 - ->service('warehouse.bindFences')  
225 - ->path('/warehouse/bindFences')  
226 - ->params($params);  
227 - }  
228 -} 9 + /**
  10 + * @inheritDoc
  11 + */
  12 + function skuStockNum(array $params)
  13 + {
  14 + $this->builder->method('POST')
  15 + ->service('sku.stockNum')
  16 + ->path('/sku/stockNum')
  17 + ->params($params);
  18 + }
  19 +
  20 + /**
  21 + * @inheritDoc
  22 + */
  23 + function skuSyncStock(array $params)
  24 + {
  25 + $this->builder->method('POST')
  26 + ->service('sku.syncStock')
  27 + ->path('/sku/syncStock')
  28 + ->params($params);
  29 + }
  30 +
  31 + /**
  32 + * @inheritDoc
  33 + */
  34 + function /warehouse/adjustInventory(array $params)
  35 + {
  36 + $this->builder->method('POST')
  37 + ->service('/warehouse/adjustInventory')
  38 + ->path('/warehouse/adjustInventory')
  39 + ->params($params);
  40 + }
  41 +
  42 + /**
  43 + * @inheritDoc
  44 + */
  45 + function skuSyncStockBatch(array $params)
  46 + {
  47 + $this->builder->method('POST')
  48 + ->service('sku.syncStockBatch')
  49 + ->path('/sku/syncStockBatch')
  50 + ->params($params);
  51 + }
  52 +
  53 + /**
  54 + * @inheritDoc
  55 + */
  56 + function warehouseSetFence(array $params)
  57 + {
  58 + $this->builder->method('POST')
  59 + ->service('warehouse.setFence')
  60 + ->path('/warehouse/setFence')
  61 + ->params($params);
  62 + }
  63 +
  64 + /**
  65 + * @inheritDoc
  66 + */
  67 + function warehouseGetFences(array $params)
  68 + {
  69 + $this->builder->method('POST')
  70 + ->service('warehouse.getFences')
  71 + ->path('/warehouse/getFences')
  72 + ->params($params);
  73 + }
  74 +
  75 + /**
  76 + * @inheritDoc
  77 + */
  78 + function warehouseCreateFence(array $params)
  79 + {
  80 + $this->builder->method('POST')
  81 + ->service('warehouse.createFence')
  82 + ->path('/warehouse/createFence')
  83 + ->params($params);
  84 + }
  85 +
  86 + /**
  87 + * @inheritDoc
  88 + */
  89 + function warehouseUnbindFences(array $params)
  90 + {
  91 + $this->builder->method('POST')
  92 + ->service('warehouse.unbindFences')
  93 + ->path('/warehouse/unbindFences')
  94 + ->params($params);
  95 + }
  96 +
  97 + /**
  98 + * @inheritDoc
  99 + */
  100 + function warehouseRemoveAddr(array $params)
  101 + {
  102 + $this->builder->method('POST')
  103 + ->service('warehouse.removeAddr')
  104 + ->path('/warehouse/removeAddr')
  105 + ->params($params);
  106 + }
  107 +
  108 + /**
  109 + * @inheritDoc
  110 + */
  111 + function promiseSetSkuShipTime(array $params)
  112 + {
  113 + $this->builder->method('POST')
  114 + ->service('promise.setSkuShipTime')
  115 + ->path('/promise/setSkuShipTime')
  116 + ->params($params);
  117 + }
  118 +
  119 + /**
  120 + * @inheritDoc
  121 + */
  122 + function warehouseInfo(array $params)
  123 + {
  124 + $this->builder->method('POST')
  125 + ->service('warehouse.info')
  126 + ->path('/warehouse/info')
  127 + ->params($params);
  128 + }
  129 +
  130 + /**
  131 + * @inheritDoc
  132 + */
  133 + function warehouseEdit(array $params)
  134 + {
  135 + $this->builder->method('POST')
  136 + ->service('warehouse.edit')
  137 + ->path('/warehouse/edit')
  138 + ->params($params);
  139 + }
  140 +
  141 + /**
  142 + * @inheritDoc
  143 + */
  144 + function warehouseCreate(array $params)
  145 + {
  146 + $this->builder->method('POST')
  147 + ->service('warehouse.create')
  148 + ->path('/warehouse/create')
  149 + ->params($params);
  150 + }
  151 +
  152 + /**
  153 + * @inheritDoc
  154 + */
  155 + function warehouseSetAddr(array $params)
  156 + {
  157 + $this->builder->method('POST')
  158 + ->service('warehouse.setAddr')
  159 + ->path('/warehouse/setAddr')
  160 + ->params($params);
  161 + }
  162 +
  163 + /**
  164 + * @inheritDoc
  165 + */
  166 + function warehouseList(array $params)
  167 + {
  168 + $this->builder->method('POST')
  169 + ->service('warehouse.list')
  170 + ->path('/warehouse/list')
  171 + ->params($params);
  172 + }
  173 +
  174 + /**
  175 + * @inheritDoc
  176 + */
  177 + function warehouseSetAddrBatch(array $params)
  178 + {
  179 + $this->builder->method('POST')
  180 + ->service('warehouse.setAddrBatch')
  181 + ->path('/warehouse/setAddrBatch')
  182 + ->params($params);
  183 + }
  184 +
  185 + /**
  186 + * @inheritDoc
  187 + */
  188 + function warehouseCreateBatch(array $params)
  189 + {
  190 + $this->builder->method('POST')
  191 + ->service('warehouse.createBatch')
  192 + ->path('/warehouse/createBatch')
  193 + ->params($params);
  194 + }
  195 +
  196 + /**
  197 + * @inheritDoc
  198 + */
  199 + function warehouseSetPriority(array $params)
  200 + {
  201 + $this->builder->method('POST')
  202 + ->service('warehouse.setPriority')
  203 + ->path('/warehouse/setPriority')
  204 + ->params($params);
  205 + }
  206 +
  207 + /**
  208 + * @inheritDoc
  209 + */
  210 + function warehouseDelFence(array $params)
  211 + {
  212 + $this->builder->method('POST')
  213 + ->service('warehouse.delFence')
  214 + ->path('/warehouse/delFence')
  215 + ->params($params);
  216 + }
  217 +
  218 + /**
  219 + * @inheritDoc
  220 + */
  221 + function warehouseBindFences(array $params)
  222 + {
  223 + $this->builder->method('POST')
  224 + ->service('warehouse.bindFences')
  225 + ->path('/warehouse/bindFences')
  226 + ->params($params);
  227 + }
  228 +}
1 <?php 1 <?php
2 -  
3 -namespace Lackoxygen\TiktokShop\Passage\Warehouse;  
4 -  
5 -use Lackoxygen\TiktokShop\Passage\ResultSet; 2 +namespace Lackoxygen\TiktokShop\Request\Warehouse;
6 3
7 /** 4 /**
8 * @note 库存API 5 * @note 库存API
9 */ 6 */
10 interface WarehouseInterface 7 interface WarehouseInterface
11 { 8 {
12 - /**  
13 - * 查询库存  
14 - * @link https://op.jinritemai.com/docs/api-docs/34/936  
15 - * @param array $params  
16 - * @return ResultSet  
17 - */  
18 - public function skuStockNum(array $params);  
19 -  
20 - /**  
21 - * 修改sku库存  
22 - * @link https://op.jinritemai.com/docs/api-docs/34/155  
23 - * @param array $params  
24 - * @return ResultSet  
25 - */  
26 - public function skuSyncStock(array $params);  
27 -  
28 - /**  
29 - * 库存调整(盘点和转移)  
30 - * @link https://op.jinritemai.com/docs/api-docs/34/760  
31 - * @param array $params  
32 - * @return ResultSet  
33 - */  
34 - public function warehouseadjustInventory(array $params);  
35 -  
36 - /**  
37 - * 批量同步接口  
38 - * @link https://op.jinritemai.com/docs/api-docs/34/298  
39 - * @param array $params  
40 - * @return ResultSet  
41 - */  
42 - public function skuSyncStockBatch(array $params);  
43 -  
44 - /**  
45 - * 修改围栏信息  
46 - * @link https://op.jinritemai.com/docs/api-docs/34/1784  
47 - * @param array $params  
48 - * @return ResultSet  
49 - */  
50 - public function warehouseSetFence(array $params);  
51 -  
52 - /**  
53 - * 获取电子围栏信息/列表  
54 - * @link https://op.jinritemai.com/docs/api-docs/34/1783  
55 - * @param array $params  
56 - * @return ResultSet  
57 - */  
58 - public function warehouseGetFences(array $params);  
59 -  
60 - /**  
61 - * 创建电子围栏  
62 - * @link https://op.jinritemai.com/docs/api-docs/34/1778  
63 - * @param array $params  
64 - * @return ResultSet  
65 - */  
66 - public function warehouseCreateFence(array $params);  
67 -  
68 - /**  
69 - * 接绑电子围栏  
70 - * @link https://op.jinritemai.com/docs/api-docs/34/1913  
71 - * @param array $params  
72 - * @return ResultSet  
73 - */  
74 - public function warehouseUnbindFences(array $params);  
75 -  
76 - /**  
77 - * 地址与区域仓解绑  
78 - * @link https://op.jinritemai.com/docs/api-docs/34/1899  
79 - * @param array $params  
80 - * @return ResultSet  
81 - */  
82 - public function warehouseRemoveAddr(array $params);  
83 -  
84 - /**  
85 - * 设置sku发货时效  
86 - * @link https://op.jinritemai.com/docs/api-docs/34/1864  
87 - * @param array $params  
88 - * @return ResultSet  
89 - */  
90 - public function promiseSetSkuShipTime(array $params);  
91 -  
92 - /**  
93 - * 查询区域仓  
94 - * @link https://op.jinritemai.com/docs/api-docs/34/1857  
95 - * @param array $params  
96 - * @return ResultSet  
97 - */  
98 - public function warehouseInfo(array $params);  
99 -  
100 - /**  
101 - * 编辑区域仓  
102 - * @link https://op.jinritemai.com/docs/api-docs/34/1856  
103 - * @param array $params  
104 - * @return ResultSet  
105 - */  
106 - public function warehouseEdit(array $params);  
107 -  
108 - /**  
109 - * 创建单个区域仓  
110 - * @link https://op.jinritemai.com/docs/api-docs/34/1855  
111 - * @param array $params  
112 - * @return ResultSet  
113 - */  
114 - public function warehouseCreate(array $params);  
115 -  
116 - /**  
117 - * 绑定单个地址到区域仓  
118 - * @link https://op.jinritemai.com/docs/api-docs/34/1859  
119 - * @param array $params  
120 - * @return ResultSet  
121 - */  
122 - public function warehouseSetAddr(array $params);  
123 -  
124 - /**  
125 - * 批量查询区域仓  
126 - * @link https://op.jinritemai.com/docs/api-docs/34/1858  
127 - * @param array $params  
128 - * @return ResultSet  
129 - */  
130 - public function warehouseList(array $params);  
131 -  
132 - /**  
133 - * 批量绑定地址与区域仓  
134 - * @link https://op.jinritemai.com/docs/api-docs/34/1861  
135 - * @param array $params  
136 - * @return ResultSet  
137 - */  
138 - public function warehouseSetAddrBatch(array $params);  
139 -  
140 - /**  
141 - * 批量创建区域仓  
142 - * @link https://op.jinritemai.com/docs/api-docs/34/1862  
143 - * @param array $params  
144 - * @return ResultSet  
145 - */  
146 - public function warehouseCreateBatch(array $params);  
147 -  
148 - /**  
149 - * 设置指定地址下的仓的优先级  
150 - * @link https://op.jinritemai.com/docs/api-docs/34/1863  
151 - * @param array $params  
152 - * @return ResultSet  
153 - */  
154 - public function warehouseSetPriority(array $params);  
155 -  
156 - /**  
157 - * 删除电子围栏  
158 - * @link https://op.jinritemai.com/docs/api-docs/34/2065  
159 - * @param array $params  
160 - * @return ResultSet  
161 - */  
162 - public function warehouseDelFence(array $params);  
163 -  
164 - /**  
165 - * 仓绑定电子围栏  
166 - * @link https://op.jinritemai.com/docs/api-docs/34/2062  
167 - * @param array $params  
168 - * @return ResultSet  
169 - */  
170 - public function warehouseBindFences(array $params);  
171 -} 9 + /**
  10 + * 查询库存
  11 + * @link https://op.jinritemai.com/docs/api-docs/34/936
  12 + * @param array $params
  13 + * @return ResultSet
  14 + */
  15 + function skuStockNum(array $params);
  16 +
  17 + /**
  18 + * 修改sku库存
  19 + * @link https://op.jinritemai.com/docs/api-docs/34/155
  20 + * @param array $params
  21 + * @return ResultSet
  22 + */
  23 + function skuSyncStock(array $params);
  24 +
  25 + /**
  26 + * 库存调整(盘点和转移)
  27 + * @link https://op.jinritemai.com/docs/api-docs/34/760
  28 + * @param array $params
  29 + * @return ResultSet
  30 + */
  31 + function /warehouse/adjustInventory(array $params);
  32 +
  33 + /**
  34 + * 批量同步接口
  35 + * @link https://op.jinritemai.com/docs/api-docs/34/298
  36 + * @param array $params
  37 + * @return ResultSet
  38 + */
  39 + function skuSyncStockBatch(array $params);
  40 +
  41 + /**
  42 + * 修改围栏信息
  43 + * @link https://op.jinritemai.com/docs/api-docs/34/1784
  44 + * @param array $params
  45 + * @return ResultSet
  46 + */
  47 + function warehouseSetFence(array $params);
  48 +
  49 + /**
  50 + * 获取电子围栏信息/列表
  51 + * @link https://op.jinritemai.com/docs/api-docs/34/1783
  52 + * @param array $params
  53 + * @return ResultSet
  54 + */
  55 + function warehouseGetFences(array $params);
  56 +
  57 + /**
  58 + * 创建电子围栏
  59 + * @link https://op.jinritemai.com/docs/api-docs/34/1778
  60 + * @param array $params
  61 + * @return ResultSet
  62 + */
  63 + function warehouseCreateFence(array $params);
  64 +
  65 + /**
  66 + * 接绑电子围栏
  67 + * @link https://op.jinritemai.com/docs/api-docs/34/1913
  68 + * @param array $params
  69 + * @return ResultSet
  70 + */
  71 + function warehouseUnbindFences(array $params);
  72 +
  73 + /**
  74 + * 地址与区域仓解绑
  75 + * @link https://op.jinritemai.com/docs/api-docs/34/1899
  76 + * @param array $params
  77 + * @return ResultSet
  78 + */
  79 + function warehouseRemoveAddr(array $params);
  80 +
  81 + /**
  82 + * 设置sku发货时效
  83 + * @link https://op.jinritemai.com/docs/api-docs/34/1864
  84 + * @param array $params
  85 + * @return ResultSet
  86 + */
  87 + function promiseSetSkuShipTime(array $params);
  88 +
  89 + /**
  90 + * 查询区域仓
  91 + * @link https://op.jinritemai.com/docs/api-docs/34/1857
  92 + * @param array $params
  93 + * @return ResultSet
  94 + */
  95 + function warehouseInfo(array $params);
  96 +
  97 + /**
  98 + * 编辑区域仓
  99 + * @link https://op.jinritemai.com/docs/api-docs/34/1856
  100 + * @param array $params
  101 + * @return ResultSet
  102 + */
  103 + function warehouseEdit(array $params);
  104 +
  105 + /**
  106 + * 创建单个区域仓
  107 + * @link https://op.jinritemai.com/docs/api-docs/34/1855
  108 + * @param array $params
  109 + * @return ResultSet
  110 + */
  111 + function warehouseCreate(array $params);
  112 +
  113 + /**
  114 + * 绑定单个地址到区域仓
  115 + * @link https://op.jinritemai.com/docs/api-docs/34/1859
  116 + * @param array $params
  117 + * @return ResultSet
  118 + */
  119 + function warehouseSetAddr(array $params);
  120 +
  121 + /**
  122 + * 批量查询区域仓
  123 + * @link https://op.jinritemai.com/docs/api-docs/34/1858
  124 + * @param array $params
  125 + * @return ResultSet
  126 + */
  127 + function warehouseList(array $params);
  128 +
  129 + /**
  130 + * 批量绑定地址与区域仓
  131 + * @link https://op.jinritemai.com/docs/api-docs/34/1861
  132 + * @param array $params
  133 + * @return ResultSet
  134 + */
  135 + function warehouseSetAddrBatch(array $params);
  136 +
  137 + /**
  138 + * 批量创建区域仓
  139 + * @link https://op.jinritemai.com/docs/api-docs/34/1862
  140 + * @param array $params
  141 + * @return ResultSet
  142 + */
  143 + function warehouseCreateBatch(array $params);
  144 +
  145 + /**
  146 + * 设置指定地址下的仓的优先级
  147 + * @link https://op.jinritemai.com/docs/api-docs/34/1863
  148 + * @param array $params
  149 + * @return ResultSet
  150 + */
  151 + function warehouseSetPriority(array $params);
  152 +
  153 + /**
  154 + * 删除电子围栏
  155 + * @link https://op.jinritemai.com/docs/api-docs/34/2065
  156 + * @param array $params
  157 + * @return ResultSet
  158 + */
  159 + function warehouseDelFence(array $params);
  160 +
  161 + /**
  162 + * 仓绑定电子围栏
  163 + * @link https://op.jinritemai.com/docs/api-docs/34/2062
  164 + * @param array $params
  165 + * @return ResultSet
  166 + */
  167 + function warehouseBindFences(array $params);
  168 +}
1 <?php 1 <?php
2 2
3 -namespace Lackoxygen\TiktokShop\Passage\Yunc; 3 +namespace Lackoxygen\TiktokShop\Request\Yunc;
4 4
5 -use Lackoxygen\TiktokShop\Passage\Passage; 5 +use Lackoxygen\TiktokShop\Request\Request;
6 6
7 -class Yunc extends Passage implements YuncInterface 7 +class Yunc extends Request implements YuncInterface
8 { 8 {
9 /** 9 /**
10 * @inheritDoc 10 * @inheritDoc