作者 lackoxygen

add:def part api

@@ -11,7 +11,11 @@ class Alliance extends Passage implements AllianceInterface @@ -11,7 +11,11 @@ class Alliance extends Passage implements AllianceInterface
11 */ 11 */
12 public function simplePlan(array $params) 12 public function simplePlan(array $params)
13 { 13 {
14 - $this->builder->method('POST')->params($params)->path('buyin/simplePlan')->service('buyin.simplePlan'); 14 + $this->builder
  15 + ->method('POST')
  16 + ->params($params)
  17 + ->path('buyin/simplePlan')
  18 + ->service('buyin.simplePlan');
15 } 19 }
16 20
17 /** 21 /**
@@ -19,7 +23,11 @@ class Alliance extends Passage implements AllianceInterface @@ -19,7 +23,11 @@ class Alliance extends Passage implements AllianceInterface
19 */ 23 */
20 public function exclusivePlan(array $params) 24 public function exclusivePlan(array $params)
21 { 25 {
22 - $this->builder->method('POST')->params($params)->path('buyin/exclusivePlan')->service('buyin.exclusivePlan'); 26 + $this->builder
  27 + ->method('POST')
  28 + ->params($params)
  29 + ->path('buyin/exclusivePlan')
  30 + ->service('buyin.exclusivePlan');
23 } 31 }
24 32
25 /** 33 /**
@@ -27,7 +35,11 @@ class Alliance extends Passage implements AllianceInterface @@ -27,7 +35,11 @@ class Alliance extends Passage implements AllianceInterface
27 */ 35 */
28 public function activitySearch(array $params) 36 public function activitySearch(array $params)
29 { 37 {
30 - $this->builder->method('POST')->params($params)->path('buyin/activitySearch')->service('buyin.activitySearch'); 38 + $this->builder
  39 + ->method('POST')
  40 + ->params($params)
  41 + ->path('buyin/activitySearch')
  42 + ->service('buyin.activitySearch');
31 } 43 }
32 44
33 /** 45 /**
@@ -35,7 +47,8 @@ class Alliance extends Passage implements AllianceInterface @@ -35,7 +47,8 @@ class Alliance extends Passage implements AllianceInterface
35 */ 47 */
36 public function applyActivities(array $params) 48 public function applyActivities(array $params)
37 { 49 {
38 - $this->builder->method('POST') 50 + $this->builder
  51 + ->method('POST')
39 ->params($params) 52 ->params($params)
40 ->path('buyin/applyActivities') 53 ->path('buyin/applyActivities')
41 ->service('buyin.applyActivities'); 54 ->service('buyin.applyActivities');
@@ -46,7 +59,8 @@ class Alliance extends Passage implements AllianceInterface @@ -46,7 +59,8 @@ class Alliance extends Passage implements AllianceInterface
46 */ 59 */
47 public function createOrUpdateOrienPlan(array $params) 60 public function createOrUpdateOrienPlan(array $params)
48 { 61 {
49 - $this->builder->method('POST') 62 + $this->builder
  63 + ->method('POST')
50 ->params($params) 64 ->params($params)
51 ->path('buyin/createOrUpdateOrienPlan') 65 ->path('buyin/createOrUpdateOrienPlan')
52 ->service('buyin.createOrUpdateOrienPlan'); 66 ->service('buyin.createOrUpdateOrienPlan');
@@ -57,7 +71,11 @@ class Alliance extends Passage implements AllianceInterface @@ -57,7 +71,11 @@ class Alliance extends Passage implements AllianceInterface
57 */ 71 */
58 public function orienPlanList(array $params) 72 public function orienPlanList(array $params)
59 { 73 {
60 - $this->builder->method('POST')->params($params)->path('buyin/orienPlanList')->service('buyin.orienPlanList'); 74 + $this->builder
  75 + ->method('POST')
  76 + ->params($params)
  77 + ->path('buyin/orienPlanList')
  78 + ->service('buyin.orienPlanList');
61 } 79 }
62 80
63 /** 81 /**
@@ -65,7 +83,8 @@ class Alliance extends Passage implements AllianceInterface @@ -65,7 +83,8 @@ class Alliance extends Passage implements AllianceInterface
65 */ 83 */
66 public function orienPlanAuthors(array $params) 84 public function orienPlanAuthors(array $params)
67 { 85 {
68 - $this->builder->method('POST') 86 + $this->builder
  87 + ->method('POST')
69 ->params($params) 88 ->params($params)
70 ->path('buyin/orienPlanAuthors') 89 ->path('buyin/orienPlanAuthors')
71 ->service('buyin.orienPlanAuthors'); 90 ->service('buyin.orienPlanAuthors');
@@ -76,7 +95,11 @@ class Alliance extends Passage implements AllianceInterface @@ -76,7 +95,11 @@ class Alliance extends Passage implements AllianceInterface
76 */ 95 */
77 public function orienPlanCtrl(array $params) 96 public function orienPlanCtrl(array $params)
78 { 97 {
79 - $this->builder->method('POST')->params($params)->path('buyin/orienPlanCtrl')->service('buyin.orienPlanCtrl'); 98 + $this->builder
  99 + ->method('POST')
  100 + ->params($params)
  101 + ->path('buyin/orienPlanCtrl')
  102 + ->service('buyin.orienPlanCtrl');
80 } 103 }
81 104
82 /** 105 /**
@@ -84,7 +107,8 @@ class Alliance extends Passage implements AllianceInterface @@ -84,7 +107,8 @@ class Alliance extends Passage implements AllianceInterface
84 */ 107 */
85 public function orienPlanAuthorsAdd(array $params) 108 public function orienPlanAuthorsAdd(array $params)
86 { 109 {
87 - $this->builder->method('POST') 110 + $this->builder
  111 + ->method('POST')
88 ->params($params) 112 ->params($params)
89 ->path('buyin/orienPlanAuthorsAdd') 113 ->path('buyin/orienPlanAuthorsAdd')
90 ->service('buyin.orienPlanAuthorsAdd'); 114 ->service('buyin.orienPlanAuthorsAdd');
@@ -95,7 +119,11 @@ class Alliance extends Passage implements AllianceInterface @@ -95,7 +119,11 @@ class Alliance extends Passage implements AllianceInterface
95 */ 119 */
96 public function orienPlanAudit(array $params) 120 public function orienPlanAudit(array $params)
97 { 121 {
98 - $this->builder->method('POST')->params($params)->path('buyin/orienPlanAudit')->service('buyin.orienPlanAudit'); 122 + $this->builder
  123 + ->method('POST')
  124 + ->params($params)
  125 + ->path('buyin/orienPlanAudit')
  126 + ->service('buyin.orienPlanAudit');
99 } 127 }
100 128
101 /** 129 /**
@@ -103,7 +131,8 @@ class Alliance extends Passage implements AllianceInterface @@ -103,7 +131,8 @@ class Alliance extends Passage implements AllianceInterface
103 */ 131 */
104 public function colonelActivityCreateOrUpdate(array $params) 132 public function colonelActivityCreateOrUpdate(array $params)
105 { 133 {
106 - $this->builder->method('POST') 134 + $this->builder
  135 + ->method('POST')
107 ->params($params) 136 ->params($params)
108 ->path('alliance/colonelActivityCreateOrUpdate') 137 ->path('alliance/colonelActivityCreateOrUpdate')
109 ->service('alliance.colonelActivityCreateOrUpdate'); 138 ->service('alliance.colonelActivityCreateOrUpdate');
@@ -114,7 +143,8 @@ class Alliance extends Passage implements AllianceInterface @@ -114,7 +143,8 @@ class Alliance extends Passage implements AllianceInterface
114 */ 143 */
115 public function activityProductCategoryList(array $params) 144 public function activityProductCategoryList(array $params)
116 { 145 {
117 - $this->builder->method('POST') 146 + $this->builder
  147 + ->method('POST')
118 ->params($params) 148 ->params($params)
119 ->path('alliance/activityProductCategoryList') 149 ->path('alliance/activityProductCategoryList')
120 ->service('alliance.activityProductCategoryList'); 150 ->service('alliance.activityProductCategoryList');
@@ -125,7 +155,8 @@ class Alliance extends Passage implements AllianceInterface @@ -125,7 +155,8 @@ class Alliance extends Passage implements AllianceInterface
125 */ 155 */
126 public function instituteColonelActivityList(array $params) 156 public function instituteColonelActivityList(array $params)
127 { 157 {
128 - $this->builder->method('POST') 158 + $this->builder
  159 + ->method('POST')
129 ->params($params) 160 ->params($params)
130 ->path('alliance/instituteColonelActivityList') 161 ->path('alliance/instituteColonelActivityList')
131 ->service('alliance.instituteColonelActivityList'); 162 ->service('alliance.instituteColonelActivityList');
@@ -136,7 +167,8 @@ class Alliance extends Passage implements AllianceInterface @@ -136,7 +167,8 @@ class Alliance extends Passage implements AllianceInterface
136 */ 167 */
137 public function instituteColonelActivityOperate(array $params) 168 public function instituteColonelActivityOperate(array $params)
138 { 169 {
139 - $this->builder->method('POST') 170 + $this->builder
  171 + ->method('POST')
140 ->params($params) 172 ->params($params)
141 ->path('alliance/instituteColonelActivityOperate') 173 ->path('alliance/instituteColonelActivityOperate')
142 ->service('alliance.instituteColonelActivityOperate'); 174 ->service('alliance.instituteColonelActivityOperate');
@@ -147,7 +179,8 @@ class Alliance extends Passage implements AllianceInterface @@ -147,7 +179,8 @@ class Alliance extends Passage implements AllianceInterface
147 */ 179 */
148 public function colonelActivityProduct(array $params) 180 public function colonelActivityProduct(array $params)
149 { 181 {
150 - $this->builder->method('POST') 182 + $this->builder
  183 + ->method('POST')
151 ->params($params) 184 ->params($params)
152 ->path('alliance/colonelActivityProduct') 185 ->path('alliance/colonelActivityProduct')
153 ->service('alliance.colonelActivityProduct'); 186 ->service('alliance.colonelActivityProduct');
@@ -158,7 +191,8 @@ class Alliance extends Passage implements AllianceInterface @@ -158,7 +191,8 @@ class Alliance extends Passage implements AllianceInterface
158 */ 191 */
159 public function colonelActivityProductAudit(array $params) 192 public function colonelActivityProductAudit(array $params)
160 { 193 {
161 - $this->builder->method('POST') 194 + $this->builder
  195 + ->method('POST')
162 ->params($params) 196 ->params($params)
163 ->path('alliance/colonelActivityProductAudit') 197 ->path('alliance/colonelActivityProductAudit')
164 ->service('alliance.colonelActivityProductAudit'); 198 ->service('alliance.colonelActivityProductAudit');
@@ -169,7 +203,8 @@ class Alliance extends Passage implements AllianceInterface @@ -169,7 +203,8 @@ class Alliance extends Passage implements AllianceInterface
169 */ 203 */
170 public function colonelActivityProductExtension(array $params) 204 public function colonelActivityProductExtension(array $params)
171 { 205 {
172 - $this->builder->method('POST') 206 + $this->builder
  207 + ->method('POST')
173 ->params($params) 208 ->params($params)
174 ->path('alliance/colonelActivityProductExtension') 209 ->path('alliance/colonelActivityProductExtension')
175 ->service('alliance.colonelActivityProductExtension'); 210 ->service('alliance.colonelActivityProductExtension');
@@ -180,7 +215,8 @@ class Alliance extends Passage implements AllianceInterface @@ -180,7 +215,8 @@ class Alliance extends Passage implements AllianceInterface
180 */ 215 */
181 public function specialApplyList(array $params) 216 public function specialApplyList(array $params)
182 { 217 {
183 - $this->builder->method('POST') 218 + $this->builder
  219 + ->method('POST')
184 ->params($params) 220 ->params($params)
185 ->path('buyin.colonel/specialApplyList') 221 ->path('buyin.colonel/specialApplyList')
186 ->service('buyin.colonel.specialApplyList'); 222 ->service('buyin.colonel.specialApplyList');
@@ -191,7 +227,8 @@ class Alliance extends Passage implements AllianceInterface @@ -191,7 +227,8 @@ class Alliance extends Passage implements AllianceInterface
191 */ 227 */
192 public function specialApplyDeal(array $params) 228 public function specialApplyDeal(array $params)
193 { 229 {
194 - $this->builder->method('POST') 230 + $this->builder
  231 + ->method('POST')
195 ->params($params) 232 ->params($params)
196 ->path('buyin.colonel/specialApplyDeal') 233 ->path('buyin.colonel/specialApplyDeal')
197 ->service('buyin.colonel.specialApplyDeal'); 234 ->service('buyin.colonel.specialApplyDeal');
@@ -202,7 +239,8 @@ class Alliance extends Passage implements AllianceInterface @@ -202,7 +239,8 @@ class Alliance extends Passage implements AllianceInterface
202 */ 239 */
203 public function materialsProductsSearch(array $params) 240 public function materialsProductsSearch(array $params)
204 { 241 {
205 - $this->builder->method('POST') 242 + $this->builder
  243 + ->method('POST')
206 ->params($params) 244 ->params($params)
207 ->path('alliance/materialsProductsSearch') 245 ->path('alliance/materialsProductsSearch')
208 ->service('alliance.materialsProductsSearch'); 246 ->service('alliance.materialsProductsSearch');
@@ -213,7 +251,8 @@ class Alliance extends Passage implements AllianceInterface @@ -213,7 +251,8 @@ class Alliance extends Passage implements AllianceInterface
213 */ 251 */
214 public function materialsProductsDetails(array $params) 252 public function materialsProductsDetails(array $params)
215 { 253 {
216 - $this->builder->method('POST') 254 + $this->builder
  255 + ->method('POST')
217 ->params($params) 256 ->params($params)
218 ->path('alliance/materialsProductsDetails') 257 ->path('alliance/materialsProductsDetails')
219 ->service('alliance.materialsProductsDetails'); 258 ->service('alliance.materialsProductsDetails');
@@ -224,7 +263,8 @@ class Alliance extends Passage implements AllianceInterface @@ -224,7 +263,8 @@ class Alliance extends Passage implements AllianceInterface
224 */ 263 */
225 public function materialsProductCategory(array $params) 264 public function materialsProductCategory(array $params)
226 { 265 {
227 - $this->builder->method('POST') 266 + $this->builder
  267 + ->method('POST')
228 ->params($params) 268 ->params($params)
229 ->path('alliance/materialsProductCategory') 269 ->path('alliance/materialsProductCategory')
230 ->service('alliance.materialsProductCategory'); 270 ->service('alliance.materialsProductCategory');
@@ -235,7 +275,8 @@ class Alliance extends Passage implements AllianceInterface @@ -235,7 +275,8 @@ class Alliance extends Passage implements AllianceInterface
235 */ 275 */
236 public function materialsProductStatus(array $params) 276 public function materialsProductStatus(array $params)
237 { 277 {
238 - $this->builder->method('POST') 278 + $this->builder
  279 + ->method('POST')
239 ->params($params) 280 ->params($params)
240 ->path('buyin/materialsProductStatus') 281 ->path('buyin/materialsProductStatus')
241 ->service('buyin.materialsProductStatus'); 282 ->service('buyin.materialsProductStatus');
@@ -246,7 +287,8 @@ class Alliance extends Passage implements AllianceInterface @@ -246,7 +287,8 @@ class Alliance extends Passage implements AllianceInterface
246 */ 287 */
247 public function queryInstituteOrders(array $params) 288 public function queryInstituteOrders(array $params)
248 { 289 {
249 - $this->builder->method('POST') 290 + $this->builder
  291 + ->method('POST')
250 ->params($params) 292 ->params($params)
251 ->path('buyin/queryInstituteOrders') 293 ->path('buyin/queryInstituteOrders')
252 ->service('buyin.queryInstituteOrders'); 294 ->service('buyin.queryInstituteOrders');
@@ -257,7 +299,11 @@ class Alliance extends Passage implements AllianceInterface @@ -257,7 +299,11 @@ class Alliance extends Passage implements AllianceInterface
257 */ 299 */
258 public function kolPidCreate(array $params) 300 public function kolPidCreate(array $params)
259 { 301 {
260 - $this->builder->method('POST')->params($params)->path('buyin/kolPidCreate')->service('buyin.kolPidCreate'); 302 + $this->builder
  303 + ->method('POST')
  304 + ->params($params)
  305 + ->path('buyin/kolPidCreate')
  306 + ->service('buyin.kolPidCreate');
261 } 307 }
262 308
263 /** 309 /**
@@ -265,7 +311,11 @@ class Alliance extends Passage implements AllianceInterface @@ -265,7 +311,11 @@ class Alliance extends Passage implements AllianceInterface
265 */ 311 */
266 public function kolPidList(array $params) 312 public function kolPidList(array $params)
267 { 313 {
268 - $this->builder->method('POST')->params($params)->path('buyin/kolPidList')->service('buyin.kolPidList'); 314 + $this->builder
  315 + ->method('POST')
  316 + ->params($params)
  317 + ->path('buyin/kolPidList')
  318 + ->service('buyin.kolPidList');
269 } 319 }
270 320
271 /** 321 /**
@@ -273,7 +323,11 @@ class Alliance extends Passage implements AllianceInterface @@ -273,7 +323,11 @@ class Alliance extends Passage implements AllianceInterface
273 */ 323 */
274 public function kolPidEdit(array $params) 324 public function kolPidEdit(array $params)
275 { 325 {
276 - $this->builder->method('POST')->params($params)->path('buyin/kolPidEdit')->service('buyin.kolPidEdit'); 326 + $this->builder
  327 + ->method('POST')
  328 + ->params($params)
  329 + ->path('buyin/kolPidEdit')
  330 + ->service('buyin.kolPidEdit');
277 } 331 }
278 332
279 /** 333 /**
@@ -281,7 +335,11 @@ class Alliance extends Passage implements AllianceInterface @@ -281,7 +335,11 @@ class Alliance extends Passage implements AllianceInterface
281 */ 335 */
282 public function kolPidDel(array $params) 336 public function kolPidDel(array $params)
283 { 337 {
284 - $this->builder->method('POST')->params($params)->path('buyin/kolPidDel')->service('buyin.kolPidDel'); 338 + $this->builder
  339 + ->method('POST')
  340 + ->params($params)
  341 + ->path('buyin/kolPidDel')
  342 + ->service('buyin.kolPidDel');
285 } 343 }
286 344
287 /** 345 /**
@@ -289,7 +347,8 @@ class Alliance extends Passage implements AllianceInterface @@ -289,7 +347,8 @@ class Alliance extends Passage implements AllianceInterface
289 */ 347 */
290 public function kolProductShare(array $params) 348 public function kolProductShare(array $params)
291 { 349 {
292 - $this->builder->method('POST') 350 + $this->builder
  351 + ->method('POST')
293 ->params($params) 352 ->params($params)
294 ->path('buyin/kolProductShare') 353 ->path('buyin/kolProductShare')
295 ->service('buyin.kolProductShare'); 354 ->service('buyin.kolProductShare');
@@ -300,7 +359,8 @@ class Alliance extends Passage implements AllianceInterface @@ -300,7 +359,8 @@ class Alliance extends Passage implements AllianceInterface
300 */ 359 */
301 public function institutePidCreate(array $params) 360 public function institutePidCreate(array $params)
302 { 361 {
303 - $this->builder->method('POST') 362 + $this->builder
  363 + ->method('POST')
304 ->params($params) 364 ->params($params)
305 ->path('buyin/institutePidCreate') 365 ->path('buyin/institutePidCreate')
306 ->service('buyin.institutePidCreate'); 366 ->service('buyin.institutePidCreate');
@@ -311,7 +371,8 @@ class Alliance extends Passage implements AllianceInterface @@ -311,7 +371,8 @@ class Alliance extends Passage implements AllianceInterface
311 */ 371 */
312 public function institutePidList(array $params) 372 public function institutePidList(array $params)
313 { 373 {
314 - $this->builder->method('POST') 374 + $this->builder
  375 + ->method('POST')
315 ->params($params) 376 ->params($params)
316 ->path('buyin/institutePidList') 377 ->path('buyin/institutePidList')
317 ->service('buyin.institutePidList'); 378 ->service('buyin.institutePidList');
@@ -322,7 +383,8 @@ class Alliance extends Passage implements AllianceInterface @@ -322,7 +383,8 @@ class Alliance extends Passage implements AllianceInterface
322 */ 383 */
323 public function institutePidEdit(array $params) 384 public function institutePidEdit(array $params)
324 { 385 {
325 - $this->builder->method('POST') 386 + $this->builder
  387 + ->method('POST')
326 ->params($params) 388 ->params($params)
327 ->path('buyin/institutePidEdit') 389 ->path('buyin/institutePidEdit')
328 ->service('buyin.institutePidEdit'); 390 ->service('buyin.institutePidEdit');
@@ -333,7 +395,8 @@ class Alliance extends Passage implements AllianceInterface @@ -333,7 +395,8 @@ class Alliance extends Passage implements AllianceInterface
333 */ 395 */
334 public function institutePidDel(array $params) 396 public function institutePidDel(array $params)
335 { 397 {
336 - $this->builder->method('POST') 398 + $this->builder
  399 + ->method('POST')
337 ->params($params) 400 ->params($params)
338 ->path('buyin/institutePidDel') 401 ->path('buyin/institutePidDel')
339 ->service('buyin.institutePidDel'); 402 ->service('buyin.institutePidDel');
@@ -344,7 +407,8 @@ class Alliance extends Passage implements AllianceInterface @@ -344,7 +407,8 @@ class Alliance extends Passage implements AllianceInterface
344 */ 407 */
345 public function liveShareMaterial(array $params) 408 public function liveShareMaterial(array $params)
346 { 409 {
347 - $this->builder->method('POST') 410 + $this->builder
  411 + ->method('POST')
348 ->params($params) 412 ->params($params)
349 ->path('buyin/liveShareMaterial') 413 ->path('buyin/liveShareMaterial')
350 ->service('buyin.liveShareMaterial'); 414 ->service('buyin.liveShareMaterial');
@@ -355,7 +419,8 @@ class Alliance extends Passage implements AllianceInterface @@ -355,7 +419,8 @@ class Alliance extends Passage implements AllianceInterface
355 */ 419 */
356 public function instituteLiveShare(array $params) 420 public function instituteLiveShare(array $params)
357 { 421 {
358 - $this->builder->method('POST') 422 + $this->builder
  423 + ->method('POST')
359 ->params($params) 424 ->params($params)
360 ->path('buyin/instituteLiveShare') 425 ->path('buyin/instituteLiveShare')
361 ->service('buyin.instituteLiveShare'); 426 ->service('buyin.instituteLiveShare');
@@ -366,7 +431,8 @@ class Alliance extends Passage implements AllianceInterface @@ -366,7 +431,8 @@ class Alliance extends Passage implements AllianceInterface
366 */ 431 */
367 public function instituteOrderAds(array $params) 432 public function instituteOrderAds(array $params)
368 { 433 {
369 - $this->builder->method('POST') 434 + $this->builder
  435 + ->method('POST')
370 ->params($params) 436 ->params($params)
371 ->path('buyin/instituteOrderAds') 437 ->path('buyin/instituteOrderAds')
372 ->service('buyin.instituteOrderAds'); 438 ->service('buyin.instituteOrderAds');
@@ -377,7 +443,11 @@ class Alliance extends Passage implements AllianceInterface @@ -377,7 +443,11 @@ class Alliance extends Passage implements AllianceInterface
377 */ 443 */
378 public function kolOrderAds(array $params) 444 public function kolOrderAds(array $params)
379 { 445 {
380 - $this->builder->method('POST')->params($params)->path('buyin/kolOrderAds')->service('buyin.kolOrderAds'); 446 + $this->builder
  447 + ->method('POST')
  448 + ->params($params)
  449 + ->path('buyin/kolOrderAds')
  450 + ->service('buyin.kolOrderAds');
381 } 451 }
382 452
383 /** 453 /**
@@ -385,7 +455,8 @@ class Alliance extends Passage implements AllianceInterface @@ -385,7 +455,8 @@ class Alliance extends Passage implements AllianceInterface
385 */ 455 */
386 public function shopPidMemberCreate(array $params) 456 public function shopPidMemberCreate(array $params)
387 { 457 {
388 - $this->builder->method('POST') 458 + $this->builder
  459 + ->method('POST')
389 ->params($params) 460 ->params($params)
390 ->path('buyin/shopPidMemberCreate') 461 ->path('buyin/shopPidMemberCreate')
391 ->service('buyin.shopPidMemberCreate'); 462 ->service('buyin.shopPidMemberCreate');
@@ -396,7 +467,8 @@ class Alliance extends Passage implements AllianceInterface @@ -396,7 +467,8 @@ class Alliance extends Passage implements AllianceInterface
396 */ 467 */
397 public function kolMaterialsProductsDetails(array $params) 468 public function kolMaterialsProductsDetails(array $params)
398 { 469 {
399 - $this->builder->method('POST') 470 + $this->builder
  471 + ->method('POST')
400 ->params($params) 472 ->params($params)
401 ->path('buyin/kolMaterialsProductsDetails') 473 ->path('buyin/kolMaterialsProductsDetails')
402 ->service('buyin.kolMaterialsProductsDetails'); 474 ->service('buyin.kolMaterialsProductsDetails');
@@ -407,7 +479,8 @@ class Alliance extends Passage implements AllianceInterface @@ -407,7 +479,8 @@ class Alliance extends Passage implements AllianceInterface
407 */ 479 */
408 public function getProductShareMaterial(array $params) 480 public function getProductShareMaterial(array $params)
409 { 481 {
410 - $this->builder->method('POST') 482 + $this->builder
  483 + ->method('POST')
411 ->params($params) 484 ->params($params)
412 ->path('buyin/getProductShareMaterial') 485 ->path('buyin/getProductShareMaterial')
413 ->service('buyin.getProductShareMaterial'); 486 ->service('buyin.getProductShareMaterial');
@@ -418,7 +491,11 @@ class Alliance extends Passage implements AllianceInterface @@ -418,7 +491,11 @@ class Alliance extends Passage implements AllianceInterface
418 */ 491 */
419 public function getProductSkus(array $params) 492 public function getProductSkus(array $params)
420 { 493 {
421 - $this->builder->method('POST')->params($params)->path('buyin/productSkus')->service('buyin.productSkus'); 494 + $this->builder
  495 + ->method('POST')
  496 + ->params($params)
  497 + ->path('buyin/productSkus')
  498 + ->service('buyin.productSkus');
422 } 499 }
423 500
424 /** 501 /**
@@ -426,7 +503,8 @@ class Alliance extends Passage implements AllianceInterface @@ -426,7 +503,8 @@ class Alliance extends Passage implements AllianceInterface
426 */ 503 */
427 public function shareCommandParse(array $params) 504 public function shareCommandParse(array $params)
428 { 505 {
429 - $this->builder->method('POST') 506 + $this->builder
  507 + ->method('POST')
430 ->params($params) 508 ->params($params)
431 ->path('buyin/shareCommandParse') 509 ->path('buyin/shareCommandParse')
432 ->service('buyin.shareCommandParse'); 510 ->service('buyin.shareCommandParse');
  1 +<?php
  2 +
  3 +namespace Lackoxygen\TiktokShop\Passage\Logistics;
  4 +
  5 +use Lackoxygen\TiktokShop\Passage\Passage;
  6 +
  7 +class Logistics extends Passage implements LogisticsInterface
  8 +{
  9 + /**
  10 + * @inheritDoc
  11 + */
  12 + public function appendSubOrder(array $params)
  13 + {
  14 + $this->builder->method('POST')
  15 + ->service('logistics.appendSubOrder')
  16 + ->path('logistics/appendSubOrder')
  17 + ->params($params);
  18 + }
  19 +
  20 + /**
  21 + * @inheritDoc
  22 + */
  23 + public function logisticsCompanyList(array $params)
  24 + {
  25 + $this->builder->method('POST')
  26 + ->service('order.logisticsCompanyList')
  27 + ->path('order/logisticsCompanyList')
  28 + ->params($params);
  29 + }
  30 +
  31 +
  32 + /**
  33 + * @inheritDoc
  34 + */
  35 + public function add(array $params)
  36 + {
  37 + $this->builder->method('POST')
  38 + ->service('order.logisticsAdd')
  39 + ->path('order/logisticsAdd')
  40 + ->params($params);
  41 + }
  42 +
  43 + /**
  44 + * @inheritDoc
  45 + */
  46 + public function edit(array $params)
  47 + {
  48 + $this->builder->method('POST')
  49 + ->service('order.logisticsEdit')
  50 + ->path('order/logisticsEdit')
  51 + ->params($params);
  52 + }
  53 +
  54 + /**
  55 + * @inheritDoc
  56 + */
  57 + public function logisticsEditByPack(array $params)
  58 + {
  59 + $this->builder->method('POST')
  60 + ->service('order.logisticsEditByPack')
  61 + ->path('order/logisticsEditByPack')
  62 + ->params($params);
  63 + }
  64 +
  65 + /**
  66 + * @inheritDoc
  67 + */
  68 + public function logisticsAddMultiPack(array $params)
  69 + {
  70 + $this->builder->method('POST')
  71 + ->service('order.logisticsAddMultiPack')
  72 + ->path('order/logisticsAddMultiPack')
  73 + ->params($params);
  74 + }
  75 +
  76 + /**
  77 + * @inheritDoc
  78 + */
  79 + public function freightTemplateList(array $params)
  80 + {
  81 + $this->builder->method('POST')
  82 + ->service('freightTemplate.list')
  83 + ->path('freightTemplate/list')
  84 + ->params($params);
  85 + }
  86 +
  87 + /**
  88 + * @inheritDoc
  89 + */
  90 + public function logisticsAddSinglePack(array $params)
  91 + {
  92 + $this->builder->method('POST')
  93 + ->service('order.logisticsAddSinglePack')
  94 + ->path('order/logisticsAddSinglePack')
  95 + ->params($params);
  96 + }
  97 +
  98 + /**
  99 + * @inheritDoc
  100 + */
  101 + public function updateOrder(array $params)
  102 + {
  103 + $this->builder->method('POST')
  104 + ->service('logistics.updateOrder')
  105 + ->path('logistics/updateOrder')
  106 + ->params($params);
  107 + }
  108 +
  109 + /**
  110 + * @inheritDoc
  111 + */
  112 + public function cancelOrder(array $params)
  113 + {
  114 + $this->builder->method('POST')
  115 + ->service('logistics.cancelOrder')
  116 + ->path('logistics/cancelOrder')
  117 + ->params($params);
  118 + }
  119 +
  120 + /**
  121 + * @inheritDoc
  122 + */
  123 + public function orderOperate(array $params)
  124 + {
  125 + $this->builder->method('POST')
  126 + ->service('crossBorder.orderOperate')
  127 + ->path('crossBorder/orderOperate')
  128 + ->params($params);
  129 + }
  130 +
  131 + /**
  132 + * @inheritDoc
  133 + */
  134 + public function orderCustomClearance(array $params)
  135 + {
  136 + $this->builder->method('POST')
  137 + ->service('crossborder.orderCustomClearance')
  138 + ->path('crossborder/orderCustomClearance')
  139 + ->params($params);
  140 + }
  141 +
  142 +
  143 + /**
  144 + * @inheritDoc
  145 + */
  146 + public function orderLogisticsTrace(array $params)
  147 + {
  148 + $this->builder->method('POST')
  149 + ->service('crossborder.orderLogisticsTrace')
  150 + ->path('crossborder/orderLogisticsTrace')
  151 + ->params($params);
  152 + }
  153 +
  154 + /**
  155 + * @inheritDoc
  156 + */
  157 + public function customTemplateList(array $params)
  158 + {
  159 + $this->builder->method('POST')
  160 + ->service('logistics.customTemplateList')
  161 + ->path('logistics/customTemplateList')
  162 + ->params($params);
  163 + }
  164 +
  165 + /**
  166 + * @inheritDoc
  167 + */
  168 + public function getOutRange(array $params)
  169 + {
  170 + $this->builder->method('POST')
  171 + ->service('logistics.getOutRange')
  172 + ->path('logistics/getOutRange')
  173 + ->params($params);
  174 + }
  175 +
  176 + /**
  177 + * @inheritDoc
  178 + */
  179 + public function templateList(array $params)
  180 + {
  181 + $this->builder->method('POST')
  182 + ->service('logistics.templateList')
  183 + ->path('logistics/templateList')
  184 + ->params($params);
  185 + }
  186 +
  187 + /**
  188 + * @inheritDoc
  189 + */
  190 + public function waybillApply(array $params)
  191 + {
  192 + $this->builder->method('POST')
  193 + ->service('logistics.waybillApply')
  194 + ->path('logistics/waybillApply')
  195 + ->params($params);
  196 + }
  197 +
  198 + /**
  199 + * @inheritDoc
  200 + */
  201 + public function deliveryNotice(array $params)
  202 + {
  203 + $this->builder->method('POST')
  204 + ->service('logistics.deliveryNotice')
  205 + ->path('logistics/deliveryNotice')
  206 + ->params($params);
  207 + }
  208 +
  209 + /**
  210 + * @inheritDoc
  211 + */
  212 + public function isByteDancePackage(array $params)
  213 + {
  214 + $this->builder->method('POST')
  215 + ->service('power.isByteDancePackage')
  216 + ->path('power/isByteDancePackage')
  217 + ->params($params);
  218 + }
  219 +}
  1 +<?php
  2 +
  3 +namespace Lackoxygen\TiktokShop\Passage\Logistics;
  4 +
  5 +use Lackoxygen\TiktokShop\Passage\ResultSet;
  6 +
  7 +interface LogisticsInterface
  8 +{
  9 + /**
  10 + * @link https://op.jinritemai.com/docs/api-docs/16/1075
  11 + * @return mixed
  12 + */
  13 + public function appendSubOrder(array $params);
  14 +
  15 + /**
  16 + * @link https://op.jinritemai.com/docs/api-docs/16/541
  17 + * @return mixed
  18 + */
  19 + public function logisticsCompanyList(array $params);
  20 +
  21 + /**
  22 + * @link https://op.jinritemai.com/docs/api-docs/16/718
  23 + * @return mixed
  24 + */
  25 + public function add(array $params);
  26 +
  27 + /**
  28 + * @link https://op.jinritemai.com/docs/api-docs/16/390
  29 + * @return mixed
  30 + */
  31 + public function edit(array $params);
  32 +
  33 + /**
  34 + * @link https://op.jinritemai.com/docs/api-docs/16/539
  35 + * @return mixed
  36 + */
  37 + public function logisticsEditByPack(array $params);
  38 +
  39 + /**
  40 + * @link https://op.jinritemai.com/docs/api-docs/16/562
  41 + * @return mixed
  42 + */
  43 + public function logisticsAddMultiPack(array $params);
  44 +
  45 + /**
  46 + * @link https://op.jinritemai.com/docs/api-docs/16/565
  47 + * @return mixed
  48 + */
  49 + public function freightTemplateList(array $params);
  50 +
  51 + /**
  52 + * @link https://op.jinritemai.com/docs/api-docs/16/563
  53 + * @return mixed
  54 + */
  55 + public function logisticsAddSinglePack(array $params);
  56 +
  57 + /**
  58 + * @link https://op.jinritemai.com/docs/api-docs/16/494
  59 + * @return mixed
  60 + */
  61 + public function updateOrder(array $params);
  62 +
  63 + /**
  64 + * @link https://op.jinritemai.com/docs/api-docs/16/397
  65 + * @return mixed
  66 + */
  67 + public function cancelOrder(array $params);
  68 +
  69 + /**
  70 + * @link https://op.jinritemai.com/docs/api-docs/16/526
  71 + * @return mixed
  72 + */
  73 + public function orderOperate(array $params);
  74 +
  75 + /**
  76 + * @link https://op.jinritemai.com/docs/api-docs/16/527
  77 + * @return mixed
  78 + */
  79 + public function orderCustomClearance(array $params);
  80 +
  81 + /**
  82 + * @link https://op.jinritemai.com/docs/api-docs/16/528
  83 + * @return mixed
  84 + */
  85 + public function orderLogisticsTrace(array $params);
  86 +
  87 + /**
  88 + * @link https://op.jinritemai.com/docs/api-docs/16/549
  89 + * @return mixed
  90 + */
  91 + public function customTemplateList(array $params);
  92 +
  93 + /**
  94 + * @link https://op.jinritemai.com/docs/api-docs/16/582
  95 + * @return mixed
  96 + */
  97 + public function getOutRange(array $params);
  98 +
  99 + /**
  100 + * @link https://op.jinritemai.com/docs/api-docs/16/476
  101 + * @return mixed
  102 + */
  103 + public function templateList(array $params);
  104 +
  105 + /**
  106 + * @link https://op.jinritemai.com/docs/api-docs/16/490
  107 + * @return mixed
  108 + */
  109 + public function waybillApply(array $params);
  110 +
  111 + /**
  112 + * @link https://op.jinritemai.com/docs/api-docs/16/1578
  113 + * @return mixed
  114 + */
  115 + public function deliveryNotice(array $params);
  116 +
  117 + /**
  118 + * @link https://op.jinritemai.com/docs/api-docs/16/1558
  119 + * @return mixed
  120 + */
  121 + public function isByteDancePackage(array $params);
  122 +}
@@ -11,7 +11,10 @@ class Order extends Passage implements OrderInterface @@ -11,7 +11,10 @@ class Order extends Passage implements OrderInterface
11 */ 11 */
12 public function searchList(array $params) 12 public function searchList(array $params)
13 { 13 {
14 - $this->builder->method('POST')->service('order.searchList')->path('/order/searchList')->params($params); 14 + $this->builder->method('POST')
  15 + ->service('order.searchList')
  16 + ->path('/order/searchList')
  17 + ->params($params);
15 } 18 }
16 19
17 /** 20 /**
@@ -19,7 +22,10 @@ class Order extends Passage implements OrderInterface @@ -19,7 +22,10 @@ class Order extends Passage implements OrderInterface
19 */ 22 */
20 public function orderDetail(array $params) 23 public function orderDetail(array $params)
21 { 24 {
22 - $this->builder->method('POST')->service('order.orderDetail')->path('/order/orderDetail')->params($params); 25 + $this->builder->method('POST')
  26 + ->service('order.orderDetail')
  27 + ->path('/order/orderDetail')
  28 + ->params($params);
23 } 29 }
24 30
25 /** 31 /**
@@ -27,7 +33,10 @@ class Order extends Passage implements OrderInterface @@ -27,7 +33,10 @@ class Order extends Passage implements OrderInterface
27 */ 33 */
28 public function batchDecrypt(array $params) 34 public function batchDecrypt(array $params)
29 { 35 {
30 - $this->builder->method('POST')->service('order.batchDecrypt')->path('/order/batchDecrypt')->params($params); 36 + $this->builder->method('POST')
  37 + ->service('order.batchDecrypt')
  38 + ->path('/order/batchDecrypt')
  39 + ->params($params);
31 } 40 }
32 41
33 /** 42 /**
@@ -35,7 +44,10 @@ class Order extends Passage implements OrderInterface @@ -35,7 +44,10 @@ class Order extends Passage implements OrderInterface
35 */ 44 */
36 public function addOrderRemark(array $params) 45 public function addOrderRemark(array $params)
37 { 46 {
38 - $this->builder->method('POST')->service('order.addOrderRemark')->path('/order/addOrderRemark')->params($params); 47 + $this->builder->method('POST')
  48 + ->service('order.addOrderRemark')
  49 + ->path('/order/addOrderRemark')
  50 + ->params($params);
39 } 51 }
40 52
41 /** 53 /**
@@ -65,12 +77,19 @@ class Order extends Passage implements OrderInterface @@ -65,12 +77,19 @@ class Order extends Passage implements OrderInterface
65 */ 77 */
66 public function updateOrderAmount(array $params) 78 public function updateOrderAmount(array $params)
67 { 79 {
68 - $this->builder->method('POST')->service('order.updateOrderAmount')->path('')->params($params); 80 + $this->builder
  81 + ->method('POST')
  82 + ->service('order.updateOrderAmount')
  83 + ->path('')
  84 + ->params($params);
69 } 85 }
70 86
71 public function addressConfirm(array $params) 87 public function addressConfirm(array $params)
72 { 88 {
73 - $this->builder->method('POST')->service('order.addressConfirm')->params($params); 89 + $this->builder
  90 + ->method('POST')
  91 + ->service('order.addressConfirm')
  92 + ->params($params);
74 } 93 }
75 94
76 /** 95 /**
@@ -78,7 +97,10 @@ class Order extends Passage implements OrderInterface @@ -78,7 +97,10 @@ class Order extends Passage implements OrderInterface
78 */ 97 */
79 public function addressModify(array $params) 98 public function addressModify(array $params)
80 { 99 {
81 - $this->builder->method('POST')->service('order.addressModify')->params($params); 100 + $this->builder
  101 + ->method('POST')
  102 + ->service('order.addressModify')
  103 + ->params($params);
82 } 104 }
83 105
84 /** 106 /**
@@ -86,7 +108,10 @@ class Order extends Passage implements OrderInterface @@ -86,7 +108,10 @@ class Order extends Passage implements OrderInterface
86 */ 108 */
87 public function addressSwitchConfig(array $params) 109 public function addressSwitchConfig(array $params)
88 { 110 {
89 - $this->builder->method('POST')->service('order.addresSwitchConfig')->params($params); 111 + $this->builder
  112 + ->method('POST')
  113 + ->service('order.addresSwitchConfig')
  114 + ->params($params);
90 } 115 }
91 116
92 /** 117 /**
@@ -94,7 +119,9 @@ class Order extends Passage implements OrderInterface @@ -94,7 +119,9 @@ class Order extends Passage implements OrderInterface
94 */ 119 */
95 public function invoiceList(array $params) 120 public function invoiceList(array $params)
96 { 121 {
97 - $this->builder->method('POST')->service('order.invoiceList')->params($params); 122 + $this->builder->method('POST')
  123 + ->service('order.invoiceList')
  124 + ->params($params);
98 } 125 }
99 126
100 /** 127 /**
@@ -102,7 +129,10 @@ class Order extends Passage implements OrderInterface @@ -102,7 +129,10 @@ class Order extends Passage implements OrderInterface
102 */ 129 */
103 public function batchEncrypt(array $params) 130 public function batchEncrypt(array $params)
104 { 131 {
105 - $this->builder->method('POST')->service('order.batchEncrypt')->params($params); 132 + $this->builder
  133 + ->method('POST')
  134 + ->service('order.batchEncrypt')
  135 + ->params($params);
106 } 136 }
107 137
108 /** 138 /**
@@ -110,12 +140,18 @@ class Order extends Passage implements OrderInterface @@ -110,12 +140,18 @@ class Order extends Passage implements OrderInterface
110 */ 140 */
111 public function batchSensitive(array $params) 141 public function batchSensitive(array $params)
112 { 142 {
113 - $this->builder->method('POST')->service('order.batchSensitive')->params($params); 143 + $this->builder
  144 + ->method('POST')
  145 + ->service('order.batchSensitive')
  146 + ->params($params);
114 } 147 }
115 148
116 public function invoiceUpload(array $params) 149 public function invoiceUpload(array $params)
117 { 150 {
118 - $this->builder->method('POST')->service('order.stockUp')->params($params); 151 + $this->builder
  152 + ->method('POST')
  153 + ->service('order.stockUp')
  154 + ->params($params);
119 } 155 }
120 156
121 /** 157 /**
@@ -123,7 +159,10 @@ class Order extends Passage implements OrderInterface @@ -123,7 +159,10 @@ class Order extends Passage implements OrderInterface
123 */ 159 */
124 public function batchSearchIndex(array $params) 160 public function batchSearchIndex(array $params)
125 { 161 {
126 - $this->builder->method('POST')->service('order.BatchSearchIndex')->params($params); 162 + $this->builder
  163 + ->method('POST')
  164 + ->service('order.BatchSearchIndex')
  165 + ->params($params);
127 } 166 }
128 167
129 /** 168 /**
@@ -131,7 +170,10 @@ class Order extends Passage implements OrderInterface @@ -131,7 +170,10 @@ class Order extends Passage implements OrderInterface
131 */ 170 */
132 public function antispamOrderSend(array $params) 171 public function antispamOrderSend(array $params)
133 { 172 {
134 - $this->builder->method('POST')->service('antispam.orderSend')->params($params); 173 + $this->builder
  174 + ->method('POST')
  175 + ->service('antispam.orderSend')
  176 + ->params($params);
135 } 177 }
136 178
137 /** 179 /**
@@ -139,7 +181,10 @@ class Order extends Passage implements OrderInterface @@ -139,7 +181,10 @@ class Order extends Passage implements OrderInterface
139 */ 181 */
140 public function antispamOrderQuery(array $params) 182 public function antispamOrderQuery(array $params)
141 { 183 {
142 - $this->builder->method('POST')->service('antispam.orderQuery')->params($params); 184 + $this->builder
  185 + ->method('POST')
  186 + ->service('antispam.orderQuery')
  187 + ->params($params);
143 } 188 }
144 189
145 /** 190 /**
@@ -147,7 +192,10 @@ class Order extends Passage implements OrderInterface @@ -147,7 +192,10 @@ class Order extends Passage implements OrderInterface
147 */ 192 */
148 public function getCrossBorderFulfillInfo(array $params) 193 public function getCrossBorderFulfillInfo(array $params)
149 { 194 {
150 - $this->builder->method('POST')->service('order.getCrossBorderFulfillInfo')->params($params); 195 + $this->builder
  196 + ->method('POST')
  197 + ->service('order.getCrossBorderFulfillInfo')
  198 + ->params($params);
151 } 199 }
152 200
153 /** 201 /**
@@ -155,7 +203,10 @@ class Order extends Passage implements OrderInterface @@ -155,7 +203,10 @@ class Order extends Passage implements OrderInterface
155 */ 203 */
156 public function getServiceList(array $params) 204 public function getServiceList(array $params)
157 { 205 {
158 - $this->builder->method('POST')->service('order.getServiceList')->params($params); 206 + $this->builder
  207 + ->method('POST')
  208 + ->service('order.getServiceList')
  209 + ->params($params);
159 } 210 }
160 211
161 /** 212 /**
@@ -163,7 +214,10 @@ class Order extends Passage implements OrderInterface @@ -163,7 +214,10 @@ class Order extends Passage implements OrderInterface
163 */ 214 */
164 public function addSerialNumber(array $params) 215 public function addSerialNumber(array $params)
165 { 216 {
166 - $this->builder->method('POST')->service('order.addSerialNumber')->params($params); 217 + $this->builder
  218 + ->method('POST')
  219 + ->service('order.addSerialNumber')
  220 + ->params($params);
167 } 221 }
168 222
169 /** 223 /**
@@ -171,7 +225,10 @@ class Order extends Passage implements OrderInterface @@ -171,7 +225,10 @@ class Order extends Passage implements OrderInterface
171 */ 225 */
172 public function replyService(array $params) 226 public function replyService(array $params)
173 { 227 {
174 - $this->builder->method('POST')->service('order.replyService')->params($params); 228 + $this->builder
  229 + ->method('POST')
  230 + ->service('order.replyService')
  231 + ->params($params);
175 } 232 }
176 233
177 /** 234 /**
@@ -179,6 +236,9 @@ class Order extends Passage implements OrderInterface @@ -179,6 +236,9 @@ class Order extends Passage implements OrderInterface
179 */ 236 */
180 public function serviceDetail(array $params) 237 public function serviceDetail(array $params)
181 { 238 {
182 - $this->builder->method('POST')->service('order.serviceDetail')->params($params); 239 + $this->builder
  240 + ->method('POST')
  241 + ->service('order.serviceDetail')
  242 + ->params($params);
183 } 243 }
184 } 244 }
@@ -5,6 +5,7 @@ namespace Lackoxygen\TiktokShop\Passage; @@ -5,6 +5,7 @@ namespace Lackoxygen\TiktokShop\Passage;
5 use Lackoxygen\TiktokShop\Attribute\Config; 5 use Lackoxygen\TiktokShop\Attribute\Config;
6 use Lackoxygen\TiktokShop\Exception\ClientException; 6 use Lackoxygen\TiktokShop\Exception\ClientException;
7 use Lackoxygen\TiktokShop\Transmit\Builder; 7 use Lackoxygen\TiktokShop\Transmit\Builder;
  8 +use Psr\Http\Message\ResponseInterface;
8 9
9 abstract class Passage 10 abstract class Passage
10 { 11 {
@@ -23,10 +24,10 @@ abstract class Passage @@ -23,10 +24,10 @@ abstract class Passage
23 } 24 }
24 25
25 /** 26 /**
26 - * @return \Psr\Http\Message\ResponseInterface 27 + * @return ResponseInterface
27 * @throws ClientException 28 * @throws ClientException
28 */ 29 */
29 - public function __invoke(): \Psr\Http\Message\ResponseInterface 30 + public function __invoke(): ResponseInterface
30 { 31 {
31 return $this->builder->request(); 32 return $this->builder->request();
32 } 33 }
@@ -11,7 +11,10 @@ class Product extends Passage implements ProductInterface @@ -11,7 +11,10 @@ class Product extends Passage implements ProductInterface
11 */ 11 */
12 public function listV2(array $params) 12 public function listV2(array $params)
13 { 13 {
14 - $this->builder->method('POST')->service('product.listV2')->params($params); 14 + $this->builder
  15 + ->method('POST')
  16 + ->service('product.listV2')
  17 + ->params($params);
15 } 18 }
16 19
17 /** 20 /**
@@ -19,7 +22,10 @@ class Product extends Passage implements ProductInterface @@ -19,7 +22,10 @@ class Product extends Passage implements ProductInterface
19 */ 22 */
20 public function getCateProperty(array $params) 23 public function getCateProperty(array $params)
21 { 24 {
22 - $this->builder->method('POST')->service('product.getCateProperty')->params($params); 25 + $this->builder
  26 + ->method('POST')
  27 + ->service('product.getCateProperty')
  28 + ->params($params);
23 } 29 }
24 30
25 /** 31 /**
@@ -27,7 +33,10 @@ class Product extends Passage implements ProductInterface @@ -27,7 +33,10 @@ class Product extends Passage implements ProductInterface
27 */ 33 */
28 public function addV2(array $params) 34 public function addV2(array $params)
29 { 35 {
30 - $this->builder->method('POST')->service('product.addV2')->params($params); 36 + $this->builder
  37 + ->method('POST')
  38 + ->service('product.addV2')
  39 + ->params($params);
31 } 40 }
32 41
33 /** 42 /**
@@ -35,7 +44,10 @@ class Product extends Passage implements ProductInterface @@ -35,7 +44,10 @@ class Product extends Passage implements ProductInterface
35 */ 44 */
36 public function editV2(array $params) 45 public function editV2(array $params)
37 { 46 {
38 - $this->builder->method('POST')->service('product.editV2')->params($params); 47 + $this->builder
  48 + ->method('POST')
  49 + ->service('product.editV2')
  50 + ->params($params);
39 } 51 }
40 52
41 /** 53 /**
@@ -43,7 +55,10 @@ class Product extends Passage implements ProductInterface @@ -43,7 +55,10 @@ class Product extends Passage implements ProductInterface
43 */ 55 */
44 public function detail(array $params) 56 public function detail(array $params)
45 { 57 {
46 - $this->builder->method('POST')->service('product.detail')->params($params); 58 + $this->builder
  59 + ->method('POST')
  60 + ->service('product.detail')
  61 + ->params($params);
47 } 62 }
48 63
49 /** 64 /**
@@ -51,7 +66,10 @@ class Product extends Passage implements ProductInterface @@ -51,7 +66,10 @@ class Product extends Passage implements ProductInterface
51 */ 66 */
52 public function del(array $params) 67 public function del(array $params)
53 { 68 {
54 - $this->builder->method('POST')->service('product.del')->params($params); 69 + $this->builder
  70 + ->method('POST')
  71 + ->service('product.del')
  72 + ->params($params);
55 } 73 }
56 74
57 /** 75 /**
@@ -59,7 +77,10 @@ class Product extends Passage implements ProductInterface @@ -59,7 +77,10 @@ class Product extends Passage implements ProductInterface
59 */ 77 */
60 public function skuDetail(array $params) 78 public function skuDetail(array $params)
61 { 79 {
62 - $this->builder->method('POST')->service('sku.detail')->params($params); 80 + $this->builder
  81 + ->method('POST')
  82 + ->service('sku.detail')
  83 + ->params($params);
63 } 84 }
64 85
65 /** 86 /**
@@ -67,7 +88,10 @@ class Product extends Passage implements ProductInterface @@ -67,7 +88,10 @@ class Product extends Passage implements ProductInterface
67 */ 88 */
68 public function freightTemplateList(array $params) 89 public function freightTemplateList(array $params)
69 { 90 {
70 - $this->builder->method('POST')->service('freightTemplate.list')->params($params); 91 + $this->builder
  92 + ->method('POST')
  93 + ->service('freightTemplate.list')
  94 + ->params($params);
71 } 95 }
72 96
73 /** 97 /**
@@ -75,7 +99,10 @@ class Product extends Passage implements ProductInterface @@ -75,7 +99,10 @@ class Product extends Passage implements ProductInterface
75 */ 99 */
76 public function brandList(array $params) 100 public function brandList(array $params)
77 { 101 {
78 - $this->builder->method('POST')->service('brand.list')->params($params); 102 + $this->builder
  103 + ->method('POST')
  104 + ->service('brand.list')
  105 + ->params($params);
79 } 106 }
80 107
81 /** 108 /**
@@ -83,7 +110,10 @@ class Product extends Passage implements ProductInterface @@ -83,7 +110,10 @@ class Product extends Passage implements ProductInterface
83 */ 110 */
84 public function getCatePropertyV2(array $params) 111 public function getCatePropertyV2(array $params)
85 { 112 {
86 - $this->builder->method('POST')->service('product.getCatePropertyV2')->params($params); 113 + $this->builder
  114 + ->method('POST')
  115 + ->service('product.getCatePropertyV2')
  116 + ->params($params);
87 } 117 }
88 118
89 /** 119 /**
@@ -91,7 +121,10 @@ class Product extends Passage implements ProductInterface @@ -91,7 +121,10 @@ class Product extends Passage implements ProductInterface
91 */ 121 */
92 public function setOnline(array $params) 122 public function setOnline(array $params)
93 { 123 {
94 - $this->builder->method('POST')->service('product.setOnline')->params($params); 124 + $this->builder
  125 + ->method('POST')
  126 + ->service('product.setOnline')
  127 + ->params($params);
95 } 128 }
96 129
97 /** 130 /**
@@ -99,7 +132,10 @@ class Product extends Passage implements ProductInterface @@ -99,7 +132,10 @@ class Product extends Passage implements ProductInterface
99 */ 132 */
100 public function skuList(array $params) 133 public function skuList(array $params)
101 { 134 {
102 - $this->builder->method('POST')->service('sku.list')->params($params); 135 + $this->builder
  136 + ->method('POST')
  137 + ->service('sku.list')
  138 + ->params($params);
103 } 139 }
104 140
105 /** 141 /**
@@ -107,7 +143,10 @@ class Product extends Passage implements ProductInterface @@ -107,7 +143,10 @@ class Product extends Passage implements ProductInterface
107 */ 143 */
108 public function skuSyncStockBatch(array $params) 144 public function skuSyncStockBatch(array $params)
109 { 145 {
110 - $this->builder->method('POST')->service('sku.syncStockBatch')->params($params); 146 + $this->builder
  147 + ->method('POST')
  148 + ->service('sku.syncStockBatch')
  149 + ->params($params);
111 } 150 }
112 151
113 /** 152 /**
@@ -115,7 +154,10 @@ class Product extends Passage implements ProductInterface @@ -115,7 +154,10 @@ class Product extends Passage implements ProductInterface
115 */ 154 */
116 public function setOffline(array $params) 155 public function setOffline(array $params)
117 { 156 {
118 - $this->builder->method('POST')->service('product.setOffline')->params($params); 157 + $this->builder
  158 + ->method('POST')
  159 + ->service('product.setOffline')
  160 + ->params($params);
119 } 161 }
120 162
121 /** 163 /**
@@ -123,7 +165,10 @@ class Product extends Passage implements ProductInterface @@ -123,7 +165,10 @@ class Product extends Passage implements ProductInterface
123 */ 165 */
124 public function qualityList(array $params) 166 public function qualityList(array $params)
125 { 167 {
126 - $this->builder->method('POST')->service('product.qualityList')->params($params); 168 + $this->builder
  169 + ->method('POST')
  170 + ->service('product.qualityList')
  171 + ->params($params);
127 } 172 }
128 173
129 /** 174 /**
@@ -131,7 +176,10 @@ class Product extends Passage implements ProductInterface @@ -131,7 +176,10 @@ class Product extends Passage implements ProductInterface
131 */ 176 */
132 public function editSkuPrice(array $params) 177 public function editSkuPrice(array $params)
133 { 178 {
134 - $this->builder->method('POST')->service('sku.editPrice')->params($params); 179 + $this->builder
  180 + ->method('POST')
  181 + ->service('sku.editPrice')
  182 + ->params($params);
135 } 183 }
136 184
137 /** 185 /**
@@ -139,7 +187,10 @@ class Product extends Passage implements ProductInterface @@ -139,7 +187,10 @@ class Product extends Passage implements ProductInterface
139 */ 187 */
140 public function qualityDetail(array $params) 188 public function qualityDetail(array $params)
141 { 189 {
142 - $this->builder->method('POST')->service('product.qualityDetail')->params($params); 190 + $this->builder
  191 + ->method('POST')
  192 + ->service('product.qualityDetail')
  193 + ->params($params);
143 } 194 }
144 195
145 /** 196 /**
@@ -147,7 +198,10 @@ class Product extends Passage implements ProductInterface @@ -147,7 +198,10 @@ class Product extends Passage implements ProductInterface
147 */ 198 */
148 public function editBuyerLimit(array $params) 199 public function editBuyerLimit(array $params)
149 { 200 {
150 - $this->builder->method('POST')->service('product.editBuyerLimit')->params($params); 201 + $this->builder
  202 + ->method('POST')
  203 + ->service('product.editBuyerLimit')
  204 + ->params($params);
151 } 205 }
152 206
153 /** 207 /**
@@ -155,7 +209,10 @@ class Product extends Passage implements ProductInterface @@ -155,7 +209,10 @@ class Product extends Passage implements ProductInterface
155 */ 209 */
156 public function qualityTask(array $params) 210 public function qualityTask(array $params)
157 { 211 {
158 - $this->builder->method('POST')->service('product.qualityTask')->params($params); 212 + $this->builder
  213 + ->method('POST')
  214 + ->service('product.qualityTask')
  215 + ->params($params);
159 } 216 }
160 217
161 /** 218 /**
@@ -163,7 +220,10 @@ class Product extends Passage implements ProductInterface @@ -163,7 +220,10 @@ class Product extends Passage implements ProductInterface
163 */ 220 */
164 public function getSpuKeyPropertyByCid(array $params) 221 public function getSpuKeyPropertyByCid(array $params)
165 { 222 {
166 - $this->builder->method('POST')->service('spu.getKeyPropertyByCid')->params($params); 223 + $this->builder
  224 + ->method('POST')
  225 + ->service('spu.getKeyPropertyByCid')
  226 + ->params($params);
167 } 227 }
168 228
169 /** 229 /**
@@ -171,7 +231,10 @@ class Product extends Passage implements ProductInterface @@ -171,7 +231,10 @@ class Product extends Passage implements ProductInterface
171 */ 231 */
172 public function editSkuCode(array $params) 232 public function editSkuCode(array $params)
173 { 233 {
174 - $this->builder->method('POST')->service('sku.editCode')->params($params); 234 + $this->builder
  235 + ->method('POST')
  236 + ->service('sku.editCode')
  237 + ->params($params);
175 } 238 }
176 239
177 /** 240 /**
@@ -179,7 +242,10 @@ class Product extends Passage implements ProductInterface @@ -179,7 +242,10 @@ class Product extends Passage implements ProductInterface
179 */ 242 */
180 public function getSpuInfoBySpuId(array $params) 243 public function getSpuInfoBySpuId(array $params)
181 { 244 {
182 - $this->builder->method('POST')->service('spu.getSpuInfoBySpuId')->params($params); 245 + $this->builder
  246 + ->method('POST')
  247 + ->service('spu.getSpuInfoBySpuId')
  248 + ->params($params);
183 } 249 }
184 250
185 /** 251 /**
@@ -187,7 +253,10 @@ class Product extends Passage implements ProductInterface @@ -187,7 +253,10 @@ class Product extends Passage implements ProductInterface
187 */ 253 */
188 public function getSpuTpl(array $params) 254 public function getSpuTpl(array $params)
189 { 255 {
190 - $this->builder->method('POST')->service('spu.getSpuTpl')->params($params); 256 + $this->builder
  257 + ->method('POST')
  258 + ->service('spu.getSpuTpl')
  259 + ->params($params);
191 } 260 }
192 261
193 /** 262 /**
@@ -195,7 +264,10 @@ class Product extends Passage implements ProductInterface @@ -195,7 +264,10 @@ class Product extends Passage implements ProductInterface
195 */ 264 */
196 public function addShopSpu(array $params) 265 public function addShopSpu(array $params)
197 { 266 {
198 - $this->builder->method('POST')->service('spu.addShopSpu')->params($params); 267 + $this->builder
  268 + ->method('POST')
  269 + ->service('spu.addShopSpu')
  270 + ->params($params);
199 } 271 }
200 272
201 /** 273 /**
@@ -203,7 +275,10 @@ class Product extends Passage implements ProductInterface @@ -203,7 +275,10 @@ class Product extends Passage implements ProductInterface
203 */ 275 */
204 public function opptyProductApply(array $params) 276 public function opptyProductApply(array $params)
205 { 277 {
206 - $this->builder->method('POST')->service('opptyProduct.apply')->params($params); 278 + $this->builder
  279 + ->method('POST')
  280 + ->service('opptyProduct.apply')
  281 + ->params($params);
207 } 282 }
208 283
209 /** 284 /**
@@ -211,7 +286,10 @@ class Product extends Passage implements ProductInterface @@ -211,7 +286,10 @@ class Product extends Passage implements ProductInterface
211 */ 286 */
212 public function opptyProductClue(array $params) 287 public function opptyProductClue(array $params)
213 { 288 {
214 - $this->builder->method('POST')->service('opptyProduct.clue')->params($params); 289 + $this->builder
  290 + ->method('POST')
  291 + ->service('opptyProduct.clue')
  292 + ->params($params);
215 } 293 }
216 294
217 /** 295 /**
@@ -219,7 +297,10 @@ class Product extends Passage implements ProductInterface @@ -219,7 +297,10 @@ class Product extends Passage implements ProductInterface
219 */ 297 */
220 public function getOpptyProductApplyProgress(array $params) 298 public function getOpptyProductApplyProgress(array $params)
221 { 299 {
222 - $this->builder->method('POST')->service('opptyProduct.getApplyProgress')->params($params); 300 + $this->builder
  301 + ->method('POST')
  302 + ->service('opptyProduct.getApplyProgress')
  303 + ->params($params);
223 } 304 }
224 305
225 /** 306 /**
@@ -227,7 +308,10 @@ class Product extends Passage implements ProductInterface @@ -227,7 +308,10 @@ class Product extends Passage implements ProductInterface
227 */ 308 */
228 public function allianceMaterialsProductCategory(array $params) 309 public function allianceMaterialsProductCategory(array $params)
229 { 310 {
230 - $this->builder->method('POST')->service('alliance.materialsProductCategory')->params($params); 311 + $this->builder
  312 + ->method('POST')
  313 + ->service('alliance.materialsProductCategory')
  314 + ->params($params);
231 } 315 }
232 316
233 /** 317 /**
@@ -235,7 +319,10 @@ class Product extends Passage implements ProductInterface @@ -235,7 +319,10 @@ class Product extends Passage implements ProductInterface
235 */ 319 */
236 public function qualificationConfig(array $params) 320 public function qualificationConfig(array $params)
237 { 321 {
238 - $this->builder->method('POST')->service('product.qualificationConfig')->params($params); 322 + $this->builder
  323 + ->method('POST')
  324 + ->service('product.qualificationConfig')
  325 + ->params($params);
239 } 326 }
240 327
241 /** 328 /**
@@ -243,7 +330,10 @@ class Product extends Passage implements ProductInterface @@ -243,7 +330,10 @@ class Product extends Passage implements ProductInterface
243 */ 330 */
244 public function getBrandSug(array $params) 331 public function getBrandSug(array $params)
245 { 332 {
246 - $this->builder->method('POST')->service('brand.getSug')->params($params); 333 + $this->builder
  334 + ->method('POST')
  335 + ->service('brand.getSug')
  336 + ->params($params);
247 } 337 }
248 338
249 /** 339 /**
@@ -251,7 +341,10 @@ class Product extends Passage implements ProductInterface @@ -251,7 +341,10 @@ class Product extends Passage implements ProductInterface
251 */ 341 */
252 public function promiseDeliveryList(array $params) 342 public function promiseDeliveryList(array $params)
253 { 343 {
254 - $this->builder->method('POST')->service('promise.deliveryList')->params($params); 344 + $this->builder
  345 + ->method('POST')
  346 + ->service('promise.deliveryList')
  347 + ->params($params);
255 } 348 }
256 349
257 /** 350 /**
@@ -259,7 +352,10 @@ class Product extends Passage implements ProductInterface @@ -259,7 +352,10 @@ class Product extends Passage implements ProductInterface
259 */ 352 */
260 public function brandConvert(array $params) 353 public function brandConvert(array $params)
261 { 354 {
262 - $this->builder->method('POST')->service('brand.convert')->params($params); 355 + $this->builder
  356 + ->method('POST')
  357 + ->service('brand.convert')
  358 + ->params($params);
263 } 359 }
264 360
265 /** 361 /**
@@ -267,6 +363,9 @@ class Product extends Passage implements ProductInterface @@ -267,6 +363,9 @@ class Product extends Passage implements ProductInterface
267 */ 363 */
268 public function distributionLiveProductList(array $params) 364 public function distributionLiveProductList(array $params)
269 { 365 {
270 - $this->builder->method('POST')->service('buyin.distributionLiveProductList')->params($params); 366 + $this->builder
  367 + ->method('POST')
  368 + ->service('buyin.distributionLiveProductList')
  369 + ->params($params);
271 } 370 }
272 } 371 }
@@ -11,7 +11,10 @@ class Shop extends Passage implements ShopInterface @@ -11,7 +11,10 @@ class Shop extends Passage implements ShopInterface
11 */ 11 */
12 public function brandList(array $params) 12 public function brandList(array $params)
13 { 13 {
14 - $this->builder->service('POST')->params($params)->service('shop.brandList'); 14 + $this->builder
  15 + ->method('POST')
  16 + ->params($params)
  17 + ->service('shop.brandList');
15 } 18 }
16 19
17 /** 20 /**
@@ -19,7 +22,10 @@ class Shop extends Passage implements ShopInterface @@ -19,7 +22,10 @@ class Shop extends Passage implements ShopInterface
19 */ 22 */
20 public function searchMemberList(array $params) 23 public function searchMemberList(array $params)
21 { 24 {
22 - $this->builder->service('POST')->params($params)->service('member.searchList'); 25 + $this->builder
  26 + ->method('POST')
  27 + ->params($params)
  28 + ->service('member.searchList');
23 } 29 }
24 30
25 /** 31 /**
@@ -27,7 +33,10 @@ class Shop extends Passage implements ShopInterface @@ -27,7 +33,10 @@ class Shop extends Passage implements ShopInterface
27 */ 33 */
28 public function userLogin(array $params) 34 public function userLogin(array $params)
29 { 35 {
30 - $this->builder->service('POST')->params($params)->service('antispam.userLogin'); 36 + $this->builder
  37 + ->method('POST')
  38 + ->params($params)
  39 + ->service('antispam.userLogin');
31 } 40 }
32 41
33 /** 42 /**
@@ -35,7 +44,10 @@ class Shop extends Passage implements ShopInterface @@ -35,7 +44,10 @@ class Shop extends Passage implements ShopInterface
35 */ 44 */
36 public function getShopCategory(array $params) 45 public function getShopCategory(array $params)
37 { 46 {
38 - $this->builder->service('POST')->params($params)->service('shop.getShopCategory'); 47 + $this->builder
  48 + ->method('POST')
  49 + ->params($params)
  50 + ->service('shop.getShopCategory');
39 } 51 }
40 52
41 /** 53 /**
@@ -43,7 +55,10 @@ class Shop extends Passage implements ShopInterface @@ -43,7 +55,10 @@ class Shop extends Passage implements ShopInterface
43 */ 55 */
44 public function addressUpdate(array $params) 56 public function addressUpdate(array $params)
45 { 57 {
46 - $this->builder->service('POST')->params($params)->service('address.update'); 58 + $this->builder
  59 + ->method('POST')
  60 + ->params($params)
  61 + ->service('address.update');
47 } 62 }
48 63
49 /** 64 /**
@@ -51,7 +66,10 @@ class Shop extends Passage implements ShopInterface @@ -51,7 +66,10 @@ class Shop extends Passage implements ShopInterface
51 */ 66 */
52 public function addressCreate(array $params) 67 public function addressCreate(array $params)
53 { 68 {
54 - $this->builder->service('POST')->params($params)->service('address.create'); 69 + $this->builder
  70 + ->method('POST')
  71 + ->params($params)
  72 + ->service('address.create');
55 } 73 }
56 74
57 /** 75 /**
@@ -59,7 +77,10 @@ class Shop extends Passage implements ShopInterface @@ -59,7 +77,10 @@ class Shop extends Passage implements ShopInterface
59 */ 77 */
60 public function getShopShortLink(array $params) 78 public function getShopShortLink(array $params)
61 { 79 {
62 - $this->builder->service('POST')->params($params)->service('member.getShopShortLink'); 80 + $this->builder
  81 + ->method('POST')
  82 + ->params($params)
  83 + ->service('member.getShopShortLink');
63 } 84 }
64 85
65 /** 86 /**
@@ -67,6 +88,9 @@ class Shop extends Passage implements ShopInterface @@ -67,6 +88,9 @@ class Shop extends Passage implements ShopInterface
67 */ 88 */
68 public function addressList(array $params) 89 public function addressList(array $params)
69 { 90 {
70 - $this->builder->service('POST')->params($params)->service('address.list'); 91 + $this->builder
  92 + ->method('POST')
  93 + ->params($params)
  94 + ->service('address.list');
71 } 95 }
72 } 96 }
@@ -11,9 +11,4 @@ class Verify extends Passage @@ -11,9 +11,4 @@ class Verify extends Passage
11 $this->config->getAppSecret()); 11 $this->config->getAppSecret());
12 return $md5 === $sign; 12 return $md5 === $sign;
13 } 13 }
14 -  
15 - public function sha256($sign, string $body): bool  
16 - {  
17 - return true;  
18 - }  
19 } 14 }
@@ -16,6 +16,7 @@ class Builder @@ -16,6 +16,7 @@ class Builder
16 protected Config $config; 16 protected Config $config;
17 17
18 protected string $passage; 18 protected string $passage;
  19 +
19 protected string $method; 20 protected string $method;
20 21
21 public function __construct(Config $config, string $passage, string $method) 22 public function __construct(Config $config, string $passage, string $method)
@@ -13,6 +13,7 @@ use GuzzleHttp\Exception\ConnectException; @@ -13,6 +13,7 @@ use GuzzleHttp\Exception\ConnectException;
13 use GuzzleHttp\Exception\ServerException; 13 use GuzzleHttp\Exception\ServerException;
14 use GuzzleHttp\RequestOptions; 14 use GuzzleHttp\RequestOptions;
15 use Illuminate\Support\Str; 15 use Illuminate\Support\Str;
  16 +use Psr\Http\Message\ResponseInterface;
16 17
17 class Client 18 class Client
18 { 19 {
@@ -62,9 +63,13 @@ class Client @@ -62,9 +63,13 @@ class Client
62 Sort::ksort($params); 63 Sort::ksort($params);
63 64
64 return [ 65 return [
65 - 'method' => $request->getService(), 'app_key' => $request->getConfig()->getAppKey(),  
66 - 'access_token' => $request->getConfig()->getAccessToken(), 'param_json' => Json::marshal($params),  
67 - 'timestamp' => $request->getTimestamp(), 'v' => $request->getV(), 'sign' => $this->signature($request), 66 + 'method' => $request->getService(),
  67 + 'app_key' => $request->getConfig()->getAppKey(),
  68 + 'access_token' => $request->getConfig()->getAccessToken(),
  69 + 'param_json' => Json::marshal($params),
  70 + 'timestamp' => $request->getTimestamp(),
  71 + 'v' => $request->getV(),
  72 + 'sign' => $this->signature($request),
68 'sign_method' => 'hmac-sha256', 73 'sign_method' => 'hmac-sha256',
69 ]; 74 ];
70 } 75 }
@@ -72,14 +77,17 @@ class Client @@ -72,14 +77,17 @@ class Client
72 protected function withQuery(Request $request): array 77 protected function withQuery(Request $request): array
73 { 78 {
74 return [ 79 return [
75 - 'app_id' => $request->getConfig()->getAppKey(), 'app_secret' => $request->getConfig()->getAppSecret(), 80 + 'app_id' => $request->getConfig()->getAppKey(),
  81 + 'app_secret' => $request->getConfig()->getAppSecret(),
76 ]; 82 ];
77 } 83 }
78 84
79 public function guzzleHttp(Config $config): \GuzzleHttp\Client 85 public function guzzleHttp(Config $config): \GuzzleHttp\Client
80 { 86 {
81 return new \GuzzleHttp\Client([ 87 return new \GuzzleHttp\Client([
82 - 'base_uri' => $config->getBaseUri(), 'timeout' => $config->getTimeout(), 'verify' => false 88 + 'base_uri' => $config->getBaseUri(),
  89 + 'timeout' => $config->getTimeout(),
  90 + 'verify' => false
83 ]); 91 ]);
84 } 92 }
85 93
@@ -87,11 +95,11 @@ class Client @@ -87,11 +95,11 @@ class Client
87 /** 95 /**
88 * @param Request $request 96 * @param Request $request
89 * 97 *
90 - * @return \Psr\Http\Message\ResponseInterface 98 + * @return ResponseInterface
91 * @throws ClientException 99 * @throws ClientException
92 * @throws RetryException 100 * @throws RetryException
93 */ 101 */
94 - public function request(Request $request): \Psr\Http\Message\ResponseInterface 102 + public function request(Request $request): ResponseInterface
95 { 103 {
96 if ($request->isSignature()) { 104 if ($request->isSignature()) {
97 $query = $this->withSignatureQuery($request); 105 $query = $this->withSignatureQuery($request);