@@ -7,41 +7,41 @@ |
||
7 | 7 | */ |
8 | 8 | class TbkDgPunishOrderGetRequest |
9 | 9 | { |
10 | - /** |
|
11 | - * 入参的对象 |
|
12 | - **/ |
|
13 | - private $afOrderOption; |
|
10 | + /** |
|
11 | + * 入参的对象 |
|
12 | + **/ |
|
13 | + private $afOrderOption; |
|
14 | 14 | |
15 | - private $apiParas = array(); |
|
15 | + private $apiParas = array(); |
|
16 | 16 | |
17 | - public function setAfOrderOption($afOrderOption) |
|
18 | - { |
|
19 | - $this->afOrderOption = $afOrderOption; |
|
20 | - $this->apiParas["af_order_option"] = $afOrderOption; |
|
21 | - } |
|
17 | + public function setAfOrderOption($afOrderOption) |
|
18 | + { |
|
19 | + $this->afOrderOption = $afOrderOption; |
|
20 | + $this->apiParas["af_order_option"] = $afOrderOption; |
|
21 | + } |
|
22 | 22 | |
23 | - public function getAfOrderOption() |
|
24 | - { |
|
25 | - return $this->afOrderOption; |
|
26 | - } |
|
23 | + public function getAfOrderOption() |
|
24 | + { |
|
25 | + return $this->afOrderOption; |
|
26 | + } |
|
27 | 27 | |
28 | - public function getApiMethodName() |
|
29 | - { |
|
30 | - return "taobao.tbk.dg.punish.order.get"; |
|
31 | - } |
|
28 | + public function getApiMethodName() |
|
29 | + { |
|
30 | + return "taobao.tbk.dg.punish.order.get"; |
|
31 | + } |
|
32 | 32 | |
33 | - public function getApiParas() |
|
34 | - { |
|
35 | - return $this->apiParas; |
|
36 | - } |
|
33 | + public function getApiParas() |
|
34 | + { |
|
35 | + return $this->apiParas; |
|
36 | + } |
|
37 | 37 | |
38 | - public function check() |
|
39 | - { |
|
38 | + public function check() |
|
39 | + { |
|
40 | 40 | |
41 | - } |
|
41 | + } |
|
42 | 42 | |
43 | - public function putOtherTextParam($key, $value) { |
|
44 | - $this->apiParas[$key] = $value; |
|
45 | - $this->$key = $value; |
|
46 | - } |
|
43 | + public function putOtherTextParam($key, $value) { |
|
44 | + $this->apiParas[$key] = $value; |
|
45 | + $this->$key = $value; |
|
46 | + } |
|
47 | 47 | } |
@@ -7,619 +7,619 @@ |
||
7 | 7 | */ |
8 | 8 | class TbkDgMaterialOptionalRequest |
9 | 9 | { |
10 | - /** |
|
11 | - * mm_xxx_xxx_12345678三段式的最后一段数字 |
|
12 | - **/ |
|
13 | - private $adzoneId; |
|
14 | - |
|
15 | - /** |
|
16 | - * 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到 |
|
17 | - **/ |
|
18 | - private $cat; |
|
19 | - |
|
20 | - /** |
|
21 | - * 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508) |
|
22 | - **/ |
|
23 | - private $cityCode; |
|
24 | - |
|
25 | - /** |
|
26 | - * 智能匹配-设备号加密类型:MD5 |
|
27 | - **/ |
|
28 | - private $deviceEncrypt; |
|
29 | - |
|
30 | - /** |
|
31 | - * 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID |
|
32 | - **/ |
|
33 | - private $deviceType; |
|
34 | - |
|
35 | - /** |
|
36 | - * 智能匹配-设备号加密后的值(MD5加密需32位小写) |
|
37 | - **/ |
|
38 | - private $deviceValue; |
|
39 | - |
|
40 | - /** |
|
41 | - * 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34% |
|
42 | - **/ |
|
43 | - private $endKaTkRate; |
|
44 | - |
|
45 | - /** |
|
46 | - * 商品筛选-折扣价范围上限。单位:元 |
|
47 | - **/ |
|
48 | - private $endPrice; |
|
49 | - |
|
50 | - /** |
|
51 | - * 商品筛选-淘客佣金比率上限。如:1234表示12.34% |
|
52 | - **/ |
|
53 | - private $endTkRate; |
|
54 | - |
|
55 | - /** |
|
56 | - * 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限 |
|
57 | - **/ |
|
58 | - private $hasCoupon; |
|
59 | - |
|
60 | - /** |
|
61 | - * 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限 |
|
62 | - **/ |
|
63 | - private $includeGoodRate; |
|
64 | - |
|
65 | - /** |
|
66 | - * 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限 |
|
67 | - **/ |
|
68 | - private $includePayRate30; |
|
69 | - |
|
70 | - /** |
|
71 | - * 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限 |
|
72 | - **/ |
|
73 | - private $includeRfdRate; |
|
74 | - |
|
75 | - /** |
|
76 | - * ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供 |
|
77 | - **/ |
|
78 | - private $ip; |
|
79 | - |
|
80 | - /** |
|
81 | - * 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限 |
|
82 | - **/ |
|
83 | - private $isOverseas; |
|
84 | - |
|
85 | - /** |
|
86 | - * 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限 |
|
87 | - **/ |
|
88 | - private $isTmall; |
|
89 | - |
|
90 | - /** |
|
91 | - * 商品筛选-所在地 |
|
92 | - **/ |
|
93 | - private $itemloc; |
|
94 | - |
|
95 | - /** |
|
96 | - * 本地化业务入参-LBS信息-纬度 |
|
97 | - **/ |
|
98 | - private $latitude; |
|
99 | - |
|
100 | - /** |
|
101 | - * 锁佣结束时间 |
|
102 | - **/ |
|
103 | - private $lockRateEndTime; |
|
104 | - |
|
105 | - /** |
|
106 | - * 锁佣开始时间 |
|
107 | - **/ |
|
108 | - private $lockRateStartTime; |
|
109 | - |
|
110 | - /** |
|
111 | - * 本地化业务入参-LBS信息-经度 |
|
112 | - **/ |
|
113 | - private $longitude; |
|
114 | - |
|
115 | - /** |
|
116 | - * 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004 |
|
117 | - **/ |
|
118 | - private $materialId; |
|
119 | - |
|
120 | - /** |
|
121 | - * 商品筛选-是否包邮。true表示包邮,false或不设置表示不限 |
|
122 | - **/ |
|
123 | - private $needFreeShipment; |
|
124 | - |
|
125 | - /** |
|
126 | - * 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限 |
|
127 | - **/ |
|
128 | - private $needPrepay; |
|
129 | - |
|
130 | - /** |
|
131 | - * 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微 |
|
132 | - **/ |
|
133 | - private $npxLevel; |
|
134 | - |
|
135 | - /** |
|
136 | - * 第几页,默认:1 |
|
137 | - **/ |
|
138 | - private $pageNo; |
|
139 | - |
|
140 | - /** |
|
141 | - * 页大小,默认20,1~100 |
|
142 | - **/ |
|
143 | - private $pageSize; |
|
144 | - |
|
145 | - /** |
|
146 | - * 链接形式:1:PC,2:无线,默认:1 |
|
147 | - **/ |
|
148 | - private $platform; |
|
149 | - |
|
150 | - /** |
|
151 | - * 商品筛选-查询词 |
|
152 | - **/ |
|
153 | - private $q; |
|
154 | - |
|
155 | - /** |
|
156 | - * 渠道关系ID,仅适用于渠道推广场景 |
|
157 | - **/ |
|
158 | - private $relationId; |
|
159 | - |
|
160 | - /** |
|
161 | - * 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔 |
|
162 | - **/ |
|
163 | - private $sellerIds; |
|
164 | - |
|
165 | - /** |
|
166 | - * 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price) |
|
167 | - **/ |
|
168 | - private $sort; |
|
169 | - |
|
170 | - /** |
|
171 | - * 会员运营ID |
|
172 | - **/ |
|
173 | - private $specialId; |
|
174 | - |
|
175 | - /** |
|
176 | - * 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间 |
|
177 | - **/ |
|
178 | - private $startDsr; |
|
179 | - |
|
180 | - /** |
|
181 | - * 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34% |
|
182 | - **/ |
|
183 | - private $startKaTkRate; |
|
184 | - |
|
185 | - /** |
|
186 | - * 商品筛选-折扣价范围下限。单位:元 |
|
187 | - **/ |
|
188 | - private $startPrice; |
|
189 | - |
|
190 | - /** |
|
191 | - * 商品筛选-淘客佣金比率下限。如:1234表示12.34% |
|
192 | - **/ |
|
193 | - private $startTkRate; |
|
194 | - |
|
195 | - private $apiParas = array(); |
|
196 | - |
|
197 | - public function setAdzoneId($adzoneId) |
|
198 | - { |
|
199 | - $this->adzoneId = $adzoneId; |
|
200 | - $this->apiParas["adzone_id"] = $adzoneId; |
|
201 | - } |
|
202 | - |
|
203 | - public function getAdzoneId() |
|
204 | - { |
|
205 | - return $this->adzoneId; |
|
206 | - } |
|
207 | - |
|
208 | - public function setCat($cat) |
|
209 | - { |
|
210 | - $this->cat = $cat; |
|
211 | - $this->apiParas["cat"] = $cat; |
|
212 | - } |
|
213 | - |
|
214 | - public function getCat() |
|
215 | - { |
|
216 | - return $this->cat; |
|
217 | - } |
|
218 | - |
|
219 | - public function setCityCode($cityCode) |
|
220 | - { |
|
221 | - $this->cityCode = $cityCode; |
|
222 | - $this->apiParas["city_code"] = $cityCode; |
|
223 | - } |
|
224 | - |
|
225 | - public function getCityCode() |
|
226 | - { |
|
227 | - return $this->cityCode; |
|
228 | - } |
|
229 | - |
|
230 | - public function setDeviceEncrypt($deviceEncrypt) |
|
231 | - { |
|
232 | - $this->deviceEncrypt = $deviceEncrypt; |
|
233 | - $this->apiParas["device_encrypt"] = $deviceEncrypt; |
|
234 | - } |
|
235 | - |
|
236 | - public function getDeviceEncrypt() |
|
237 | - { |
|
238 | - return $this->deviceEncrypt; |
|
239 | - } |
|
240 | - |
|
241 | - public function setDeviceType($deviceType) |
|
242 | - { |
|
243 | - $this->deviceType = $deviceType; |
|
244 | - $this->apiParas["device_type"] = $deviceType; |
|
245 | - } |
|
246 | - |
|
247 | - public function getDeviceType() |
|
248 | - { |
|
249 | - return $this->deviceType; |
|
250 | - } |
|
251 | - |
|
252 | - public function setDeviceValue($deviceValue) |
|
253 | - { |
|
254 | - $this->deviceValue = $deviceValue; |
|
255 | - $this->apiParas["device_value"] = $deviceValue; |
|
256 | - } |
|
257 | - |
|
258 | - public function getDeviceValue() |
|
259 | - { |
|
260 | - return $this->deviceValue; |
|
261 | - } |
|
262 | - |
|
263 | - public function setEndKaTkRate($endKaTkRate) |
|
264 | - { |
|
265 | - $this->endKaTkRate = $endKaTkRate; |
|
266 | - $this->apiParas["end_ka_tk_rate"] = $endKaTkRate; |
|
267 | - } |
|
268 | - |
|
269 | - public function getEndKaTkRate() |
|
270 | - { |
|
271 | - return $this->endKaTkRate; |
|
272 | - } |
|
273 | - |
|
274 | - public function setEndPrice($endPrice) |
|
275 | - { |
|
276 | - $this->endPrice = $endPrice; |
|
277 | - $this->apiParas["end_price"] = $endPrice; |
|
278 | - } |
|
279 | - |
|
280 | - public function getEndPrice() |
|
281 | - { |
|
282 | - return $this->endPrice; |
|
283 | - } |
|
284 | - |
|
285 | - public function setEndTkRate($endTkRate) |
|
286 | - { |
|
287 | - $this->endTkRate = $endTkRate; |
|
288 | - $this->apiParas["end_tk_rate"] = $endTkRate; |
|
289 | - } |
|
290 | - |
|
291 | - public function getEndTkRate() |
|
292 | - { |
|
293 | - return $this->endTkRate; |
|
294 | - } |
|
295 | - |
|
296 | - public function setHasCoupon($hasCoupon) |
|
297 | - { |
|
298 | - $this->hasCoupon = $hasCoupon; |
|
299 | - $this->apiParas["has_coupon"] = $hasCoupon; |
|
300 | - } |
|
301 | - |
|
302 | - public function getHasCoupon() |
|
303 | - { |
|
304 | - return $this->hasCoupon; |
|
305 | - } |
|
306 | - |
|
307 | - public function setIncludeGoodRate($includeGoodRate) |
|
308 | - { |
|
309 | - $this->includeGoodRate = $includeGoodRate; |
|
310 | - $this->apiParas["include_good_rate"] = $includeGoodRate; |
|
311 | - } |
|
312 | - |
|
313 | - public function getIncludeGoodRate() |
|
314 | - { |
|
315 | - return $this->includeGoodRate; |
|
316 | - } |
|
317 | - |
|
318 | - public function setIncludePayRate30($includePayRate30) |
|
319 | - { |
|
320 | - $this->includePayRate30 = $includePayRate30; |
|
321 | - $this->apiParas["include_pay_rate_30"] = $includePayRate30; |
|
322 | - } |
|
323 | - |
|
324 | - public function getIncludePayRate30() |
|
325 | - { |
|
326 | - return $this->includePayRate30; |
|
327 | - } |
|
328 | - |
|
329 | - public function setIncludeRfdRate($includeRfdRate) |
|
330 | - { |
|
331 | - $this->includeRfdRate = $includeRfdRate; |
|
332 | - $this->apiParas["include_rfd_rate"] = $includeRfdRate; |
|
333 | - } |
|
334 | - |
|
335 | - public function getIncludeRfdRate() |
|
336 | - { |
|
337 | - return $this->includeRfdRate; |
|
338 | - } |
|
339 | - |
|
340 | - public function setIp($ip) |
|
341 | - { |
|
342 | - $this->ip = $ip; |
|
343 | - $this->apiParas["ip"] = $ip; |
|
344 | - } |
|
345 | - |
|
346 | - public function getIp() |
|
347 | - { |
|
348 | - return $this->ip; |
|
349 | - } |
|
350 | - |
|
351 | - public function setIsOverseas($isOverseas) |
|
352 | - { |
|
353 | - $this->isOverseas = $isOverseas; |
|
354 | - $this->apiParas["is_overseas"] = $isOverseas; |
|
355 | - } |
|
356 | - |
|
357 | - public function getIsOverseas() |
|
358 | - { |
|
359 | - return $this->isOverseas; |
|
360 | - } |
|
361 | - |
|
362 | - public function setIsTmall($isTmall) |
|
363 | - { |
|
364 | - $this->isTmall = $isTmall; |
|
365 | - $this->apiParas["is_tmall"] = $isTmall; |
|
366 | - } |
|
367 | - |
|
368 | - public function getIsTmall() |
|
369 | - { |
|
370 | - return $this->isTmall; |
|
371 | - } |
|
372 | - |
|
373 | - public function setItemloc($itemloc) |
|
374 | - { |
|
375 | - $this->itemloc = $itemloc; |
|
376 | - $this->apiParas["itemloc"] = $itemloc; |
|
377 | - } |
|
378 | - |
|
379 | - public function getItemloc() |
|
380 | - { |
|
381 | - return $this->itemloc; |
|
382 | - } |
|
383 | - |
|
384 | - public function setLatitude($latitude) |
|
385 | - { |
|
386 | - $this->latitude = $latitude; |
|
387 | - $this->apiParas["latitude"] = $latitude; |
|
388 | - } |
|
389 | - |
|
390 | - public function getLatitude() |
|
391 | - { |
|
392 | - return $this->latitude; |
|
393 | - } |
|
394 | - |
|
395 | - public function setLockRateEndTime($lockRateEndTime) |
|
396 | - { |
|
397 | - $this->lockRateEndTime = $lockRateEndTime; |
|
398 | - $this->apiParas["lock_rate_end_time"] = $lockRateEndTime; |
|
399 | - } |
|
400 | - |
|
401 | - public function getLockRateEndTime() |
|
402 | - { |
|
403 | - return $this->lockRateEndTime; |
|
404 | - } |
|
405 | - |
|
406 | - public function setLockRateStartTime($lockRateStartTime) |
|
407 | - { |
|
408 | - $this->lockRateStartTime = $lockRateStartTime; |
|
409 | - $this->apiParas["lock_rate_start_time"] = $lockRateStartTime; |
|
410 | - } |
|
411 | - |
|
412 | - public function getLockRateStartTime() |
|
413 | - { |
|
414 | - return $this->lockRateStartTime; |
|
415 | - } |
|
416 | - |
|
417 | - public function setLongitude($longitude) |
|
418 | - { |
|
419 | - $this->longitude = $longitude; |
|
420 | - $this->apiParas["longitude"] = $longitude; |
|
421 | - } |
|
422 | - |
|
423 | - public function getLongitude() |
|
424 | - { |
|
425 | - return $this->longitude; |
|
426 | - } |
|
427 | - |
|
428 | - public function setMaterialId($materialId) |
|
429 | - { |
|
430 | - $this->materialId = $materialId; |
|
431 | - $this->apiParas["material_id"] = $materialId; |
|
432 | - } |
|
433 | - |
|
434 | - public function getMaterialId() |
|
435 | - { |
|
436 | - return $this->materialId; |
|
437 | - } |
|
438 | - |
|
439 | - public function setNeedFreeShipment($needFreeShipment) |
|
440 | - { |
|
441 | - $this->needFreeShipment = $needFreeShipment; |
|
442 | - $this->apiParas["need_free_shipment"] = $needFreeShipment; |
|
443 | - } |
|
444 | - |
|
445 | - public function getNeedFreeShipment() |
|
446 | - { |
|
447 | - return $this->needFreeShipment; |
|
448 | - } |
|
449 | - |
|
450 | - public function setNeedPrepay($needPrepay) |
|
451 | - { |
|
452 | - $this->needPrepay = $needPrepay; |
|
453 | - $this->apiParas["need_prepay"] = $needPrepay; |
|
454 | - } |
|
455 | - |
|
456 | - public function getNeedPrepay() |
|
457 | - { |
|
458 | - return $this->needPrepay; |
|
459 | - } |
|
460 | - |
|
461 | - public function setNpxLevel($npxLevel) |
|
462 | - { |
|
463 | - $this->npxLevel = $npxLevel; |
|
464 | - $this->apiParas["npx_level"] = $npxLevel; |
|
465 | - } |
|
466 | - |
|
467 | - public function getNpxLevel() |
|
468 | - { |
|
469 | - return $this->npxLevel; |
|
470 | - } |
|
471 | - |
|
472 | - public function setPageNo($pageNo) |
|
473 | - { |
|
474 | - $this->pageNo = $pageNo; |
|
475 | - $this->apiParas["page_no"] = $pageNo; |
|
476 | - } |
|
477 | - |
|
478 | - public function getPageNo() |
|
479 | - { |
|
480 | - return $this->pageNo; |
|
481 | - } |
|
482 | - |
|
483 | - public function setPageSize($pageSize) |
|
484 | - { |
|
485 | - $this->pageSize = $pageSize; |
|
486 | - $this->apiParas["page_size"] = $pageSize; |
|
487 | - } |
|
488 | - |
|
489 | - public function getPageSize() |
|
490 | - { |
|
491 | - return $this->pageSize; |
|
492 | - } |
|
493 | - |
|
494 | - public function setPlatform($platform) |
|
495 | - { |
|
496 | - $this->platform = $platform; |
|
497 | - $this->apiParas["platform"] = $platform; |
|
498 | - } |
|
499 | - |
|
500 | - public function getPlatform() |
|
501 | - { |
|
502 | - return $this->platform; |
|
503 | - } |
|
504 | - |
|
505 | - public function setQ($q) |
|
506 | - { |
|
507 | - $this->q = $q; |
|
508 | - $this->apiParas["q"] = $q; |
|
509 | - } |
|
510 | - |
|
511 | - public function getQ() |
|
512 | - { |
|
513 | - return $this->q; |
|
514 | - } |
|
515 | - |
|
516 | - public function setRelationId($relationId) |
|
517 | - { |
|
518 | - $this->relationId = $relationId; |
|
519 | - $this->apiParas["relation_id"] = $relationId; |
|
520 | - } |
|
521 | - |
|
522 | - public function getRelationId() |
|
523 | - { |
|
524 | - return $this->relationId; |
|
525 | - } |
|
526 | - |
|
527 | - public function setSellerIds($sellerIds) |
|
528 | - { |
|
529 | - $this->sellerIds = $sellerIds; |
|
530 | - $this->apiParas["seller_ids"] = $sellerIds; |
|
531 | - } |
|
532 | - |
|
533 | - public function getSellerIds() |
|
534 | - { |
|
535 | - return $this->sellerIds; |
|
536 | - } |
|
537 | - |
|
538 | - public function setSort($sort) |
|
539 | - { |
|
540 | - $this->sort = $sort; |
|
541 | - $this->apiParas["sort"] = $sort; |
|
542 | - } |
|
543 | - |
|
544 | - public function getSort() |
|
545 | - { |
|
546 | - return $this->sort; |
|
547 | - } |
|
548 | - |
|
549 | - public function setSpecialId($specialId) |
|
550 | - { |
|
551 | - $this->specialId = $specialId; |
|
552 | - $this->apiParas["special_id"] = $specialId; |
|
553 | - } |
|
554 | - |
|
555 | - public function getSpecialId() |
|
556 | - { |
|
557 | - return $this->specialId; |
|
558 | - } |
|
559 | - |
|
560 | - public function setStartDsr($startDsr) |
|
561 | - { |
|
562 | - $this->startDsr = $startDsr; |
|
563 | - $this->apiParas["start_dsr"] = $startDsr; |
|
564 | - } |
|
565 | - |
|
566 | - public function getStartDsr() |
|
567 | - { |
|
568 | - return $this->startDsr; |
|
569 | - } |
|
570 | - |
|
571 | - public function setStartKaTkRate($startKaTkRate) |
|
572 | - { |
|
573 | - $this->startKaTkRate = $startKaTkRate; |
|
574 | - $this->apiParas["start_ka_tk_rate"] = $startKaTkRate; |
|
575 | - } |
|
576 | - |
|
577 | - public function getStartKaTkRate() |
|
578 | - { |
|
579 | - return $this->startKaTkRate; |
|
580 | - } |
|
581 | - |
|
582 | - public function setStartPrice($startPrice) |
|
583 | - { |
|
584 | - $this->startPrice = $startPrice; |
|
585 | - $this->apiParas["start_price"] = $startPrice; |
|
586 | - } |
|
587 | - |
|
588 | - public function getStartPrice() |
|
589 | - { |
|
590 | - return $this->startPrice; |
|
591 | - } |
|
592 | - |
|
593 | - public function setStartTkRate($startTkRate) |
|
594 | - { |
|
595 | - $this->startTkRate = $startTkRate; |
|
596 | - $this->apiParas["start_tk_rate"] = $startTkRate; |
|
597 | - } |
|
598 | - |
|
599 | - public function getStartTkRate() |
|
600 | - { |
|
601 | - return $this->startTkRate; |
|
602 | - } |
|
603 | - |
|
604 | - public function getApiMethodName() |
|
605 | - { |
|
606 | - return "taobao.tbk.dg.material.optional"; |
|
607 | - } |
|
608 | - |
|
609 | - public function getApiParas() |
|
610 | - { |
|
611 | - return $this->apiParas; |
|
612 | - } |
|
613 | - |
|
614 | - public function check() |
|
615 | - { |
|
10 | + /** |
|
11 | + * mm_xxx_xxx_12345678三段式的最后一段数字 |
|
12 | + **/ |
|
13 | + private $adzoneId; |
|
14 | + |
|
15 | + /** |
|
16 | + * 商品筛选-后台类目ID。用,分割,最大10个,该ID可以通过taobao.itemcats.get接口获取到 |
|
17 | + **/ |
|
18 | + private $cat; |
|
19 | + |
|
20 | + /** |
|
21 | + * 本地化业务入参-LBS信息-国标城市码,仅支持单个请求,请求饿了么卡券物料时,该字段必填。 (详细城市ID见:https://mo.m.taobao.com/page_2020010315120200508) |
|
22 | + **/ |
|
23 | + private $cityCode; |
|
24 | + |
|
25 | + /** |
|
26 | + * 智能匹配-设备号加密类型:MD5 |
|
27 | + **/ |
|
28 | + private $deviceEncrypt; |
|
29 | + |
|
30 | + /** |
|
31 | + * 智能匹配-设备号类型:IMEI,或者IDFA,或者UTDID(UTDID不支持MD5加密),或者OAID |
|
32 | + **/ |
|
33 | + private $deviceType; |
|
34 | + |
|
35 | + /** |
|
36 | + * 智能匹配-设备号加密后的值(MD5加密需32位小写) |
|
37 | + **/ |
|
38 | + private $deviceValue; |
|
39 | + |
|
40 | + /** |
|
41 | + * 商品筛选-KA媒体淘客佣金比率上限。如:1234表示12.34% |
|
42 | + **/ |
|
43 | + private $endKaTkRate; |
|
44 | + |
|
45 | + /** |
|
46 | + * 商品筛选-折扣价范围上限。单位:元 |
|
47 | + **/ |
|
48 | + private $endPrice; |
|
49 | + |
|
50 | + /** |
|
51 | + * 商品筛选-淘客佣金比率上限。如:1234表示12.34% |
|
52 | + **/ |
|
53 | + private $endTkRate; |
|
54 | + |
|
55 | + /** |
|
56 | + * 优惠券筛选-是否有优惠券。true表示该商品有优惠券,false或不设置表示不限 |
|
57 | + **/ |
|
58 | + private $hasCoupon; |
|
59 | + |
|
60 | + /** |
|
61 | + * 商品筛选-好评率是否高于行业均值。True表示大于等于,false或不设置表示不限 |
|
62 | + **/ |
|
63 | + private $includeGoodRate; |
|
64 | + |
|
65 | + /** |
|
66 | + * 商品筛选(特定媒体支持)-成交转化是否高于行业均值。True表示大于等于,false或不设置表示不限 |
|
67 | + **/ |
|
68 | + private $includePayRate30; |
|
69 | + |
|
70 | + /** |
|
71 | + * 商品筛选(特定媒体支持)-退款率是否低于行业均值。True表示大于等于,false或不设置表示不限 |
|
72 | + **/ |
|
73 | + private $includeRfdRate; |
|
74 | + |
|
75 | + /** |
|
76 | + * ip参数影响邮费获取,如果不传或者传入不准确,邮费无法精准提供 |
|
77 | + **/ |
|
78 | + private $ip; |
|
79 | + |
|
80 | + /** |
|
81 | + * 商品筛选-是否海外商品。true表示属于海外商品,false或不设置表示不限 |
|
82 | + **/ |
|
83 | + private $isOverseas; |
|
84 | + |
|
85 | + /** |
|
86 | + * 商品筛选-是否天猫商品。true表示属于天猫商品,false或不设置表示不限 |
|
87 | + **/ |
|
88 | + private $isTmall; |
|
89 | + |
|
90 | + /** |
|
91 | + * 商品筛选-所在地 |
|
92 | + **/ |
|
93 | + private $itemloc; |
|
94 | + |
|
95 | + /** |
|
96 | + * 本地化业务入参-LBS信息-纬度 |
|
97 | + **/ |
|
98 | + private $latitude; |
|
99 | + |
|
100 | + /** |
|
101 | + * 锁佣结束时间 |
|
102 | + **/ |
|
103 | + private $lockRateEndTime; |
|
104 | + |
|
105 | + /** |
|
106 | + * 锁佣开始时间 |
|
107 | + **/ |
|
108 | + private $lockRateStartTime; |
|
109 | + |
|
110 | + /** |
|
111 | + * 本地化业务入参-LBS信息-经度 |
|
112 | + **/ |
|
113 | + private $longitude; |
|
114 | + |
|
115 | + /** |
|
116 | + * 不传时默认物料id=2836;如果直接对消费者投放,可使用官方个性化算法优化的搜索物料id=17004 |
|
117 | + **/ |
|
118 | + private $materialId; |
|
119 | + |
|
120 | + /** |
|
121 | + * 商品筛选-是否包邮。true表示包邮,false或不设置表示不限 |
|
122 | + **/ |
|
123 | + private $needFreeShipment; |
|
124 | + |
|
125 | + /** |
|
126 | + * 商品筛选-是否加入消费者保障。true表示加入,false或不设置表示不限 |
|
127 | + **/ |
|
128 | + private $needPrepay; |
|
129 | + |
|
130 | + /** |
|
131 | + * 商品筛选-牛皮癣程度。取值:1不限,2无,3轻微 |
|
132 | + **/ |
|
133 | + private $npxLevel; |
|
134 | + |
|
135 | + /** |
|
136 | + * 第几页,默认:1 |
|
137 | + **/ |
|
138 | + private $pageNo; |
|
139 | + |
|
140 | + /** |
|
141 | + * 页大小,默认20,1~100 |
|
142 | + **/ |
|
143 | + private $pageSize; |
|
144 | + |
|
145 | + /** |
|
146 | + * 链接形式:1:PC,2:无线,默认:1 |
|
147 | + **/ |
|
148 | + private $platform; |
|
149 | + |
|
150 | + /** |
|
151 | + * 商品筛选-查询词 |
|
152 | + **/ |
|
153 | + private $q; |
|
154 | + |
|
155 | + /** |
|
156 | + * 渠道关系ID,仅适用于渠道推广场景 |
|
157 | + **/ |
|
158 | + private $relationId; |
|
159 | + |
|
160 | + /** |
|
161 | + * 商家id,仅支持饿了么卡券商家ID,支持批量请求1-100以内,多个商家ID使用英文逗号分隔 |
|
162 | + **/ |
|
163 | + private $sellerIds; |
|
164 | + |
|
165 | + /** |
|
166 | + * 排序_des(降序),排序_asc(升序),销量(total_sales),淘客佣金比率(tk_rate), 累计推广量(tk_total_sales),总支出佣金(tk_total_commi),价格(price) |
|
167 | + **/ |
|
168 | + private $sort; |
|
169 | + |
|
170 | + /** |
|
171 | + * 会员运营ID |
|
172 | + **/ |
|
173 | + private $specialId; |
|
174 | + |
|
175 | + /** |
|
176 | + * 商品筛选(特定媒体支持)-店铺dsr评分。筛选大于等于当前设置的店铺dsr评分的商品0-50000之间 |
|
177 | + **/ |
|
178 | + private $startDsr; |
|
179 | + |
|
180 | + /** |
|
181 | + * 商品筛选-KA媒体淘客佣金比率下限。如:1234表示12.34% |
|
182 | + **/ |
|
183 | + private $startKaTkRate; |
|
184 | + |
|
185 | + /** |
|
186 | + * 商品筛选-折扣价范围下限。单位:元 |
|
187 | + **/ |
|
188 | + private $startPrice; |
|
189 | + |
|
190 | + /** |
|
191 | + * 商品筛选-淘客佣金比率下限。如:1234表示12.34% |
|
192 | + **/ |
|
193 | + private $startTkRate; |
|
194 | + |
|
195 | + private $apiParas = array(); |
|
196 | + |
|
197 | + public function setAdzoneId($adzoneId) |
|
198 | + { |
|
199 | + $this->adzoneId = $adzoneId; |
|
200 | + $this->apiParas["adzone_id"] = $adzoneId; |
|
201 | + } |
|
202 | + |
|
203 | + public function getAdzoneId() |
|
204 | + { |
|
205 | + return $this->adzoneId; |
|
206 | + } |
|
207 | + |
|
208 | + public function setCat($cat) |
|
209 | + { |
|
210 | + $this->cat = $cat; |
|
211 | + $this->apiParas["cat"] = $cat; |
|
212 | + } |
|
213 | + |
|
214 | + public function getCat() |
|
215 | + { |
|
216 | + return $this->cat; |
|
217 | + } |
|
218 | + |
|
219 | + public function setCityCode($cityCode) |
|
220 | + { |
|
221 | + $this->cityCode = $cityCode; |
|
222 | + $this->apiParas["city_code"] = $cityCode; |
|
223 | + } |
|
224 | + |
|
225 | + public function getCityCode() |
|
226 | + { |
|
227 | + return $this->cityCode; |
|
228 | + } |
|
229 | + |
|
230 | + public function setDeviceEncrypt($deviceEncrypt) |
|
231 | + { |
|
232 | + $this->deviceEncrypt = $deviceEncrypt; |
|
233 | + $this->apiParas["device_encrypt"] = $deviceEncrypt; |
|
234 | + } |
|
235 | + |
|
236 | + public function getDeviceEncrypt() |
|
237 | + { |
|
238 | + return $this->deviceEncrypt; |
|
239 | + } |
|
240 | + |
|
241 | + public function setDeviceType($deviceType) |
|
242 | + { |
|
243 | + $this->deviceType = $deviceType; |
|
244 | + $this->apiParas["device_type"] = $deviceType; |
|
245 | + } |
|
246 | + |
|
247 | + public function getDeviceType() |
|
248 | + { |
|
249 | + return $this->deviceType; |
|
250 | + } |
|
251 | + |
|
252 | + public function setDeviceValue($deviceValue) |
|
253 | + { |
|
254 | + $this->deviceValue = $deviceValue; |
|
255 | + $this->apiParas["device_value"] = $deviceValue; |
|
256 | + } |
|
257 | + |
|
258 | + public function getDeviceValue() |
|
259 | + { |
|
260 | + return $this->deviceValue; |
|
261 | + } |
|
262 | + |
|
263 | + public function setEndKaTkRate($endKaTkRate) |
|
264 | + { |
|
265 | + $this->endKaTkRate = $endKaTkRate; |
|
266 | + $this->apiParas["end_ka_tk_rate"] = $endKaTkRate; |
|
267 | + } |
|
268 | + |
|
269 | + public function getEndKaTkRate() |
|
270 | + { |
|
271 | + return $this->endKaTkRate; |
|
272 | + } |
|
273 | + |
|
274 | + public function setEndPrice($endPrice) |
|
275 | + { |
|
276 | + $this->endPrice = $endPrice; |
|
277 | + $this->apiParas["end_price"] = $endPrice; |
|
278 | + } |
|
279 | + |
|
280 | + public function getEndPrice() |
|
281 | + { |
|
282 | + return $this->endPrice; |
|
283 | + } |
|
284 | + |
|
285 | + public function setEndTkRate($endTkRate) |
|
286 | + { |
|
287 | + $this->endTkRate = $endTkRate; |
|
288 | + $this->apiParas["end_tk_rate"] = $endTkRate; |
|
289 | + } |
|
290 | + |
|
291 | + public function getEndTkRate() |
|
292 | + { |
|
293 | + return $this->endTkRate; |
|
294 | + } |
|
295 | + |
|
296 | + public function setHasCoupon($hasCoupon) |
|
297 | + { |
|
298 | + $this->hasCoupon = $hasCoupon; |
|
299 | + $this->apiParas["has_coupon"] = $hasCoupon; |
|
300 | + } |
|
301 | + |
|
302 | + public function getHasCoupon() |
|
303 | + { |
|
304 | + return $this->hasCoupon; |
|
305 | + } |
|
306 | + |
|
307 | + public function setIncludeGoodRate($includeGoodRate) |
|
308 | + { |
|
309 | + $this->includeGoodRate = $includeGoodRate; |
|
310 | + $this->apiParas["include_good_rate"] = $includeGoodRate; |
|
311 | + } |
|
312 | + |
|
313 | + public function getIncludeGoodRate() |
|
314 | + { |
|
315 | + return $this->includeGoodRate; |
|
316 | + } |
|
317 | + |
|
318 | + public function setIncludePayRate30($includePayRate30) |
|
319 | + { |
|
320 | + $this->includePayRate30 = $includePayRate30; |
|
321 | + $this->apiParas["include_pay_rate_30"] = $includePayRate30; |
|
322 | + } |
|
323 | + |
|
324 | + public function getIncludePayRate30() |
|
325 | + { |
|
326 | + return $this->includePayRate30; |
|
327 | + } |
|
328 | + |
|
329 | + public function setIncludeRfdRate($includeRfdRate) |
|
330 | + { |
|
331 | + $this->includeRfdRate = $includeRfdRate; |
|
332 | + $this->apiParas["include_rfd_rate"] = $includeRfdRate; |
|
333 | + } |
|
334 | + |
|
335 | + public function getIncludeRfdRate() |
|
336 | + { |
|
337 | + return $this->includeRfdRate; |
|
338 | + } |
|
339 | + |
|
340 | + public function setIp($ip) |
|
341 | + { |
|
342 | + $this->ip = $ip; |
|
343 | + $this->apiParas["ip"] = $ip; |
|
344 | + } |
|
345 | + |
|
346 | + public function getIp() |
|
347 | + { |
|
348 | + return $this->ip; |
|
349 | + } |
|
350 | + |
|
351 | + public function setIsOverseas($isOverseas) |
|
352 | + { |
|
353 | + $this->isOverseas = $isOverseas; |
|
354 | + $this->apiParas["is_overseas"] = $isOverseas; |
|
355 | + } |
|
356 | + |
|
357 | + public function getIsOverseas() |
|
358 | + { |
|
359 | + return $this->isOverseas; |
|
360 | + } |
|
361 | + |
|
362 | + public function setIsTmall($isTmall) |
|
363 | + { |
|
364 | + $this->isTmall = $isTmall; |
|
365 | + $this->apiParas["is_tmall"] = $isTmall; |
|
366 | + } |
|
367 | + |
|
368 | + public function getIsTmall() |
|
369 | + { |
|
370 | + return $this->isTmall; |
|
371 | + } |
|
372 | + |
|
373 | + public function setItemloc($itemloc) |
|
374 | + { |
|
375 | + $this->itemloc = $itemloc; |
|
376 | + $this->apiParas["itemloc"] = $itemloc; |
|
377 | + } |
|
378 | + |
|
379 | + public function getItemloc() |
|
380 | + { |
|
381 | + return $this->itemloc; |
|
382 | + } |
|
383 | + |
|
384 | + public function setLatitude($latitude) |
|
385 | + { |
|
386 | + $this->latitude = $latitude; |
|
387 | + $this->apiParas["latitude"] = $latitude; |
|
388 | + } |
|
389 | + |
|
390 | + public function getLatitude() |
|
391 | + { |
|
392 | + return $this->latitude; |
|
393 | + } |
|
394 | + |
|
395 | + public function setLockRateEndTime($lockRateEndTime) |
|
396 | + { |
|
397 | + $this->lockRateEndTime = $lockRateEndTime; |
|
398 | + $this->apiParas["lock_rate_end_time"] = $lockRateEndTime; |
|
399 | + } |
|
400 | + |
|
401 | + public function getLockRateEndTime() |
|
402 | + { |
|
403 | + return $this->lockRateEndTime; |
|
404 | + } |
|
405 | + |
|
406 | + public function setLockRateStartTime($lockRateStartTime) |
|
407 | + { |
|
408 | + $this->lockRateStartTime = $lockRateStartTime; |
|
409 | + $this->apiParas["lock_rate_start_time"] = $lockRateStartTime; |
|
410 | + } |
|
411 | + |
|
412 | + public function getLockRateStartTime() |
|
413 | + { |
|
414 | + return $this->lockRateStartTime; |
|
415 | + } |
|
416 | + |
|
417 | + public function setLongitude($longitude) |
|
418 | + { |
|
419 | + $this->longitude = $longitude; |
|
420 | + $this->apiParas["longitude"] = $longitude; |
|
421 | + } |
|
422 | + |
|
423 | + public function getLongitude() |
|
424 | + { |
|
425 | + return $this->longitude; |
|
426 | + } |
|
427 | + |
|
428 | + public function setMaterialId($materialId) |
|
429 | + { |
|
430 | + $this->materialId = $materialId; |
|
431 | + $this->apiParas["material_id"] = $materialId; |
|
432 | + } |
|
433 | + |
|
434 | + public function getMaterialId() |
|
435 | + { |
|
436 | + return $this->materialId; |
|
437 | + } |
|
438 | + |
|
439 | + public function setNeedFreeShipment($needFreeShipment) |
|
440 | + { |
|
441 | + $this->needFreeShipment = $needFreeShipment; |
|
442 | + $this->apiParas["need_free_shipment"] = $needFreeShipment; |
|
443 | + } |
|
444 | + |
|
445 | + public function getNeedFreeShipment() |
|
446 | + { |
|
447 | + return $this->needFreeShipment; |
|
448 | + } |
|
449 | + |
|
450 | + public function setNeedPrepay($needPrepay) |
|
451 | + { |
|
452 | + $this->needPrepay = $needPrepay; |
|
453 | + $this->apiParas["need_prepay"] = $needPrepay; |
|
454 | + } |
|
455 | + |
|
456 | + public function getNeedPrepay() |
|
457 | + { |
|
458 | + return $this->needPrepay; |
|
459 | + } |
|
460 | + |
|
461 | + public function setNpxLevel($npxLevel) |
|
462 | + { |
|
463 | + $this->npxLevel = $npxLevel; |
|
464 | + $this->apiParas["npx_level"] = $npxLevel; |
|
465 | + } |
|
466 | + |
|
467 | + public function getNpxLevel() |
|
468 | + { |
|
469 | + return $this->npxLevel; |
|
470 | + } |
|
471 | + |
|
472 | + public function setPageNo($pageNo) |
|
473 | + { |
|
474 | + $this->pageNo = $pageNo; |
|
475 | + $this->apiParas["page_no"] = $pageNo; |
|
476 | + } |
|
477 | + |
|
478 | + public function getPageNo() |
|
479 | + { |
|
480 | + return $this->pageNo; |
|
481 | + } |
|
482 | + |
|
483 | + public function setPageSize($pageSize) |
|
484 | + { |
|
485 | + $this->pageSize = $pageSize; |
|
486 | + $this->apiParas["page_size"] = $pageSize; |
|
487 | + } |
|
488 | + |
|
489 | + public function getPageSize() |
|
490 | + { |
|
491 | + return $this->pageSize; |
|
492 | + } |
|
493 | + |
|
494 | + public function setPlatform($platform) |
|
495 | + { |
|
496 | + $this->platform = $platform; |
|
497 | + $this->apiParas["platform"] = $platform; |
|
498 | + } |
|
499 | + |
|
500 | + public function getPlatform() |
|
501 | + { |
|
502 | + return $this->platform; |
|
503 | + } |
|
504 | + |
|
505 | + public function setQ($q) |
|
506 | + { |
|
507 | + $this->q = $q; |
|
508 | + $this->apiParas["q"] = $q; |
|
509 | + } |
|
510 | + |
|
511 | + public function getQ() |
|
512 | + { |
|
513 | + return $this->q; |
|
514 | + } |
|
515 | + |
|
516 | + public function setRelationId($relationId) |
|
517 | + { |
|
518 | + $this->relationId = $relationId; |
|
519 | + $this->apiParas["relation_id"] = $relationId; |
|
520 | + } |
|
521 | + |
|
522 | + public function getRelationId() |
|
523 | + { |
|
524 | + return $this->relationId; |
|
525 | + } |
|
526 | + |
|
527 | + public function setSellerIds($sellerIds) |
|
528 | + { |
|
529 | + $this->sellerIds = $sellerIds; |
|
530 | + $this->apiParas["seller_ids"] = $sellerIds; |
|
531 | + } |
|
532 | + |
|
533 | + public function getSellerIds() |
|
534 | + { |
|
535 | + return $this->sellerIds; |
|
536 | + } |
|
537 | + |
|
538 | + public function setSort($sort) |
|
539 | + { |
|
540 | + $this->sort = $sort; |
|
541 | + $this->apiParas["sort"] = $sort; |
|
542 | + } |
|
543 | + |
|
544 | + public function getSort() |
|
545 | + { |
|
546 | + return $this->sort; |
|
547 | + } |
|
548 | + |
|
549 | + public function setSpecialId($specialId) |
|
550 | + { |
|
551 | + $this->specialId = $specialId; |
|
552 | + $this->apiParas["special_id"] = $specialId; |
|
553 | + } |
|
554 | + |
|
555 | + public function getSpecialId() |
|
556 | + { |
|
557 | + return $this->specialId; |
|
558 | + } |
|
559 | + |
|
560 | + public function setStartDsr($startDsr) |
|
561 | + { |
|
562 | + $this->startDsr = $startDsr; |
|
563 | + $this->apiParas["start_dsr"] = $startDsr; |
|
564 | + } |
|
565 | + |
|
566 | + public function getStartDsr() |
|
567 | + { |
|
568 | + return $this->startDsr; |
|
569 | + } |
|
570 | + |
|
571 | + public function setStartKaTkRate($startKaTkRate) |
|
572 | + { |
|
573 | + $this->startKaTkRate = $startKaTkRate; |
|
574 | + $this->apiParas["start_ka_tk_rate"] = $startKaTkRate; |
|
575 | + } |
|
576 | + |
|
577 | + public function getStartKaTkRate() |
|
578 | + { |
|
579 | + return $this->startKaTkRate; |
|
580 | + } |
|
581 | + |
|
582 | + public function setStartPrice($startPrice) |
|
583 | + { |
|
584 | + $this->startPrice = $startPrice; |
|
585 | + $this->apiParas["start_price"] = $startPrice; |
|
586 | + } |
|
587 | + |
|
588 | + public function getStartPrice() |
|
589 | + { |
|
590 | + return $this->startPrice; |
|
591 | + } |
|
592 | + |
|
593 | + public function setStartTkRate($startTkRate) |
|
594 | + { |
|
595 | + $this->startTkRate = $startTkRate; |
|
596 | + $this->apiParas["start_tk_rate"] = $startTkRate; |
|
597 | + } |
|
598 | + |
|
599 | + public function getStartTkRate() |
|
600 | + { |
|
601 | + return $this->startTkRate; |
|
602 | + } |
|
603 | + |
|
604 | + public function getApiMethodName() |
|
605 | + { |
|
606 | + return "taobao.tbk.dg.material.optional"; |
|
607 | + } |
|
608 | + |
|
609 | + public function getApiParas() |
|
610 | + { |
|
611 | + return $this->apiParas; |
|
612 | + } |
|
613 | + |
|
614 | + public function check() |
|
615 | + { |
|
616 | 616 | |
617 | - RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId"); |
|
618 | - RequestCheckUtil::checkMaxValue($this->startDsr,50000,"startDsr"); |
|
619 | - } |
|
620 | - |
|
621 | - public function putOtherTextParam($key, $value) { |
|
622 | - $this->apiParas[$key] = $value; |
|
623 | - $this->$key = $value; |
|
624 | - } |
|
617 | + RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId"); |
|
618 | + RequestCheckUtil::checkMaxValue($this->startDsr,50000,"startDsr"); |
|
619 | + } |
|
620 | + |
|
621 | + public function putOtherTextParam($key, $value) { |
|
622 | + $this->apiParas[$key] = $value; |
|
623 | + $this->$key = $value; |
|
624 | + } |
|
625 | 625 | } |
@@ -614,8 +614,8 @@ |
||
614 | 614 | public function check() |
615 | 615 | { |
616 | 616 | |
617 | - RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId"); |
|
618 | - RequestCheckUtil::checkMaxValue($this->startDsr,50000,"startDsr"); |
|
617 | + RequestCheckUtil::checkNotNull($this->adzoneId, "adzoneId"); |
|
618 | + RequestCheckUtil::checkMaxValue($this->startDsr, 50000, "startDsr"); |
|
619 | 619 | } |
620 | 620 | |
621 | 621 | public function putOtherTextParam($key, $value) { |
@@ -8,25 +8,25 @@ |
||
8 | 8 | class HttpdnsGetRequest |
9 | 9 | { |
10 | 10 | |
11 | - private $apiParas = array(); |
|
11 | + private $apiParas = array(); |
|
12 | 12 | |
13 | - public function getApiMethodName() |
|
14 | - { |
|
15 | - return "taobao.httpdns.get"; |
|
16 | - } |
|
13 | + public function getApiMethodName() |
|
14 | + { |
|
15 | + return "taobao.httpdns.get"; |
|
16 | + } |
|
17 | 17 | |
18 | - public function getApiParas() |
|
19 | - { |
|
20 | - return $this->apiParas; |
|
21 | - } |
|
18 | + public function getApiParas() |
|
19 | + { |
|
20 | + return $this->apiParas; |
|
21 | + } |
|
22 | 22 | |
23 | - public function check() |
|
24 | - { |
|
23 | + public function check() |
|
24 | + { |
|
25 | 25 | |
26 | - } |
|
26 | + } |
|
27 | 27 | |
28 | - public function putOtherTextParam($key, $value) { |
|
29 | - $this->apiParas[$key] = $value; |
|
30 | - $this->$key = $value; |
|
31 | - } |
|
28 | + public function putOtherTextParam($key, $value) { |
|
29 | + $this->apiParas[$key] = $value; |
|
30 | + $this->$key = $value; |
|
31 | + } |
|
32 | 32 | } |
@@ -7,41 +7,41 @@ |
||
7 | 7 | */ |
8 | 8 | class JuItemsSearchRequest |
9 | 9 | { |
10 | - /** |
|
11 | - * query |
|
12 | - **/ |
|
13 | - private $paramTopItemQuery; |
|
10 | + /** |
|
11 | + * query |
|
12 | + **/ |
|
13 | + private $paramTopItemQuery; |
|
14 | 14 | |
15 | - private $apiParas = array(); |
|
15 | + private $apiParas = array(); |
|
16 | 16 | |
17 | - public function setParamTopItemQuery($paramTopItemQuery) |
|
18 | - { |
|
19 | - $this->paramTopItemQuery = $paramTopItemQuery; |
|
20 | - $this->apiParas["param_top_item_query"] = $paramTopItemQuery; |
|
21 | - } |
|
17 | + public function setParamTopItemQuery($paramTopItemQuery) |
|
18 | + { |
|
19 | + $this->paramTopItemQuery = $paramTopItemQuery; |
|
20 | + $this->apiParas["param_top_item_query"] = $paramTopItemQuery; |
|
21 | + } |
|
22 | 22 | |
23 | - public function getParamTopItemQuery() |
|
24 | - { |
|
25 | - return $this->paramTopItemQuery; |
|
26 | - } |
|
23 | + public function getParamTopItemQuery() |
|
24 | + { |
|
25 | + return $this->paramTopItemQuery; |
|
26 | + } |
|
27 | 27 | |
28 | - public function getApiMethodName() |
|
29 | - { |
|
30 | - return "taobao.ju.items.search"; |
|
31 | - } |
|
28 | + public function getApiMethodName() |
|
29 | + { |
|
30 | + return "taobao.ju.items.search"; |
|
31 | + } |
|
32 | 32 | |
33 | - public function getApiParas() |
|
34 | - { |
|
35 | - return $this->apiParas; |
|
36 | - } |
|
33 | + public function getApiParas() |
|
34 | + { |
|
35 | + return $this->apiParas; |
|
36 | + } |
|
37 | 37 | |
38 | - public function check() |
|
39 | - { |
|
38 | + public function check() |
|
39 | + { |
|
40 | 40 | |
41 | - } |
|
41 | + } |
|
42 | 42 | |
43 | - public function putOtherTextParam($key, $value) { |
|
44 | - $this->apiParas[$key] = $value; |
|
45 | - $this->$key = $value; |
|
46 | - } |
|
43 | + public function putOtherTextParam($key, $value) { |
|
44 | + $this->apiParas[$key] = $value; |
|
45 | + $this->$key = $value; |
|
46 | + } |
|
47 | 47 | } |
@@ -8,25 +8,25 @@ |
||
8 | 8 | class AppipGetRequest |
9 | 9 | { |
10 | 10 | |
11 | - private $apiParas = array(); |
|
11 | + private $apiParas = array(); |
|
12 | 12 | |
13 | - public function getApiMethodName() |
|
14 | - { |
|
15 | - return "taobao.appip.get"; |
|
16 | - } |
|
13 | + public function getApiMethodName() |
|
14 | + { |
|
15 | + return "taobao.appip.get"; |
|
16 | + } |
|
17 | 17 | |
18 | - public function getApiParas() |
|
19 | - { |
|
20 | - return $this->apiParas; |
|
21 | - } |
|
18 | + public function getApiParas() |
|
19 | + { |
|
20 | + return $this->apiParas; |
|
21 | + } |
|
22 | 22 | |
23 | - public function check() |
|
24 | - { |
|
23 | + public function check() |
|
24 | + { |
|
25 | 25 | |
26 | - } |
|
26 | + } |
|
27 | 27 | |
28 | - public function putOtherTextParam($key, $value) { |
|
29 | - $this->apiParas[$key] = $value; |
|
30 | - $this->$key = $value; |
|
31 | - } |
|
28 | + public function putOtherTextParam($key, $value) { |
|
29 | + $this->apiParas[$key] = $value; |
|
30 | + $this->$key = $value; |
|
31 | + } |
|
32 | 32 | } |
@@ -7,107 +7,107 @@ |
||
7 | 7 | */ |
8 | 8 | class TbkActivityInfoGetRequest |
9 | 9 | { |
10 | - /** |
|
11 | - * 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取 |
|
12 | - **/ |
|
13 | - private $activityMaterialId; |
|
10 | + /** |
|
11 | + * 官方活动会场ID,从淘宝客后台“我要推广-活动推广”中获取 |
|
12 | + **/ |
|
13 | + private $activityMaterialId; |
|
14 | 14 | |
15 | - /** |
|
16 | - * mm_xxx_xxx_xxx的第三位 |
|
17 | - **/ |
|
18 | - private $adzoneId; |
|
15 | + /** |
|
16 | + * mm_xxx_xxx_xxx的第三位 |
|
17 | + **/ |
|
18 | + private $adzoneId; |
|
19 | 19 | |
20 | - /** |
|
21 | - * 渠道关系id |
|
22 | - **/ |
|
23 | - private $relationId; |
|
20 | + /** |
|
21 | + * 渠道关系id |
|
22 | + **/ |
|
23 | + private $relationId; |
|
24 | 24 | |
25 | - /** |
|
26 | - * mm_xxx_xxx_xxx 仅三方分成场景使用 |
|
27 | - **/ |
|
28 | - private $subPid; |
|
25 | + /** |
|
26 | + * mm_xxx_xxx_xxx 仅三方分成场景使用 |
|
27 | + **/ |
|
28 | + private $subPid; |
|
29 | 29 | |
30 | - /** |
|
31 | - * 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道 |
|
32 | - **/ |
|
33 | - private $unionId; |
|
30 | + /** |
|
31 | + * 自定义输入串,英文和数字组成,长度不能大于12个字符,区分不同的推广渠道 |
|
32 | + **/ |
|
33 | + private $unionId; |
|
34 | 34 | |
35 | - private $apiParas = array(); |
|
35 | + private $apiParas = array(); |
|
36 | 36 | |
37 | - public function setActivityMaterialId($activityMaterialId) |
|
38 | - { |
|
39 | - $this->activityMaterialId = $activityMaterialId; |
|
40 | - $this->apiParas["activity_material_id"] = $activityMaterialId; |
|
41 | - } |
|
37 | + public function setActivityMaterialId($activityMaterialId) |
|
38 | + { |
|
39 | + $this->activityMaterialId = $activityMaterialId; |
|
40 | + $this->apiParas["activity_material_id"] = $activityMaterialId; |
|
41 | + } |
|
42 | 42 | |
43 | - public function getActivityMaterialId() |
|
44 | - { |
|
45 | - return $this->activityMaterialId; |
|
46 | - } |
|
43 | + public function getActivityMaterialId() |
|
44 | + { |
|
45 | + return $this->activityMaterialId; |
|
46 | + } |
|
47 | 47 | |
48 | - public function setAdzoneId($adzoneId) |
|
49 | - { |
|
50 | - $this->adzoneId = $adzoneId; |
|
51 | - $this->apiParas["adzone_id"] = $adzoneId; |
|
52 | - } |
|
48 | + public function setAdzoneId($adzoneId) |
|
49 | + { |
|
50 | + $this->adzoneId = $adzoneId; |
|
51 | + $this->apiParas["adzone_id"] = $adzoneId; |
|
52 | + } |
|
53 | 53 | |
54 | - public function getAdzoneId() |
|
55 | - { |
|
56 | - return $this->adzoneId; |
|
57 | - } |
|
54 | + public function getAdzoneId() |
|
55 | + { |
|
56 | + return $this->adzoneId; |
|
57 | + } |
|
58 | 58 | |
59 | - public function setRelationId($relationId) |
|
60 | - { |
|
61 | - $this->relationId = $relationId; |
|
62 | - $this->apiParas["relation_id"] = $relationId; |
|
63 | - } |
|
59 | + public function setRelationId($relationId) |
|
60 | + { |
|
61 | + $this->relationId = $relationId; |
|
62 | + $this->apiParas["relation_id"] = $relationId; |
|
63 | + } |
|
64 | 64 | |
65 | - public function getRelationId() |
|
66 | - { |
|
67 | - return $this->relationId; |
|
68 | - } |
|
65 | + public function getRelationId() |
|
66 | + { |
|
67 | + return $this->relationId; |
|
68 | + } |
|
69 | 69 | |
70 | - public function setSubPid($subPid) |
|
71 | - { |
|
72 | - $this->subPid = $subPid; |
|
73 | - $this->apiParas["sub_pid"] = $subPid; |
|
74 | - } |
|
70 | + public function setSubPid($subPid) |
|
71 | + { |
|
72 | + $this->subPid = $subPid; |
|
73 | + $this->apiParas["sub_pid"] = $subPid; |
|
74 | + } |
|
75 | 75 | |
76 | - public function getSubPid() |
|
77 | - { |
|
78 | - return $this->subPid; |
|
79 | - } |
|
76 | + public function getSubPid() |
|
77 | + { |
|
78 | + return $this->subPid; |
|
79 | + } |
|
80 | 80 | |
81 | - public function setUnionId($unionId) |
|
82 | - { |
|
83 | - $this->unionId = $unionId; |
|
84 | - $this->apiParas["union_id"] = $unionId; |
|
85 | - } |
|
81 | + public function setUnionId($unionId) |
|
82 | + { |
|
83 | + $this->unionId = $unionId; |
|
84 | + $this->apiParas["union_id"] = $unionId; |
|
85 | + } |
|
86 | 86 | |
87 | - public function getUnionId() |
|
88 | - { |
|
89 | - return $this->unionId; |
|
90 | - } |
|
87 | + public function getUnionId() |
|
88 | + { |
|
89 | + return $this->unionId; |
|
90 | + } |
|
91 | 91 | |
92 | - public function getApiMethodName() |
|
93 | - { |
|
94 | - return "taobao.tbk.activity.info.get"; |
|
95 | - } |
|
92 | + public function getApiMethodName() |
|
93 | + { |
|
94 | + return "taobao.tbk.activity.info.get"; |
|
95 | + } |
|
96 | 96 | |
97 | - public function getApiParas() |
|
98 | - { |
|
99 | - return $this->apiParas; |
|
100 | - } |
|
97 | + public function getApiParas() |
|
98 | + { |
|
99 | + return $this->apiParas; |
|
100 | + } |
|
101 | 101 | |
102 | - public function check() |
|
103 | - { |
|
102 | + public function check() |
|
103 | + { |
|
104 | 104 | |
105 | - RequestCheckUtil::checkNotNull($this->activityMaterialId,"activityMaterialId"); |
|
106 | - RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId"); |
|
107 | - } |
|
105 | + RequestCheckUtil::checkNotNull($this->activityMaterialId,"activityMaterialId"); |
|
106 | + RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId"); |
|
107 | + } |
|
108 | 108 | |
109 | - public function putOtherTextParam($key, $value) { |
|
110 | - $this->apiParas[$key] = $value; |
|
111 | - $this->$key = $value; |
|
112 | - } |
|
109 | + public function putOtherTextParam($key, $value) { |
|
110 | + $this->apiParas[$key] = $value; |
|
111 | + $this->$key = $value; |
|
112 | + } |
|
113 | 113 | } |
@@ -102,8 +102,8 @@ |
||
102 | 102 | public function check() |
103 | 103 | { |
104 | 104 | |
105 | - RequestCheckUtil::checkNotNull($this->activityMaterialId,"activityMaterialId"); |
|
106 | - RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId"); |
|
105 | + RequestCheckUtil::checkNotNull($this->activityMaterialId, "activityMaterialId"); |
|
106 | + RequestCheckUtil::checkNotNull($this->adzoneId, "adzoneId"); |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | public function putOtherTextParam($key, $value) { |
@@ -7,126 +7,126 @@ |
||
7 | 7 | */ |
8 | 8 | class TbkDgNewuserOrderSumRequest |
9 | 9 | { |
10 | - /** |
|
11 | - * 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277 |
|
12 | - **/ |
|
13 | - private $activityId; |
|
10 | + /** |
|
11 | + * 活动id, 活动名称与活动ID列表,请参见https://tbk.bbs.taobao.com/detail.html?appId=45301&postId=8599277 |
|
12 | + **/ |
|
13 | + private $activityId; |
|
14 | 14 | |
15 | - /** |
|
16 | - * mm_xxx_xxx_xxx的第三位 |
|
17 | - **/ |
|
18 | - private $adzoneId; |
|
15 | + /** |
|
16 | + * mm_xxx_xxx_xxx的第三位 |
|
17 | + **/ |
|
18 | + private $adzoneId; |
|
19 | 19 | |
20 | - /** |
|
21 | - * 页码,默认1 |
|
22 | - **/ |
|
23 | - private $pageNo; |
|
20 | + /** |
|
21 | + * 页码,默认1 |
|
22 | + **/ |
|
23 | + private $pageNo; |
|
24 | 24 | |
25 | - /** |
|
26 | - * 页大小,默认20,1~100 |
|
27 | - **/ |
|
28 | - private $pageSize; |
|
25 | + /** |
|
26 | + * 页大小,默认20,1~100 |
|
27 | + **/ |
|
28 | + private $pageSize; |
|
29 | 29 | |
30 | - /** |
|
31 | - * 结算月份 |
|
32 | - **/ |
|
33 | - private $settleMonth; |
|
30 | + /** |
|
31 | + * 结算月份 |
|
32 | + **/ |
|
33 | + private $settleMonth; |
|
34 | 34 | |
35 | - /** |
|
36 | - * mm_xxx_xxx_xxx的第二位 |
|
37 | - **/ |
|
38 | - private $siteId; |
|
35 | + /** |
|
36 | + * mm_xxx_xxx_xxx的第二位 |
|
37 | + **/ |
|
38 | + private $siteId; |
|
39 | 39 | |
40 | - private $apiParas = array(); |
|
40 | + private $apiParas = array(); |
|
41 | 41 | |
42 | - public function setActivityId($activityId) |
|
43 | - { |
|
44 | - $this->activityId = $activityId; |
|
45 | - $this->apiParas["activity_id"] = $activityId; |
|
46 | - } |
|
42 | + public function setActivityId($activityId) |
|
43 | + { |
|
44 | + $this->activityId = $activityId; |
|
45 | + $this->apiParas["activity_id"] = $activityId; |
|
46 | + } |
|
47 | 47 | |
48 | - public function getActivityId() |
|
49 | - { |
|
50 | - return $this->activityId; |
|
51 | - } |
|
48 | + public function getActivityId() |
|
49 | + { |
|
50 | + return $this->activityId; |
|
51 | + } |
|
52 | 52 | |
53 | - public function setAdzoneId($adzoneId) |
|
54 | - { |
|
55 | - $this->adzoneId = $adzoneId; |
|
56 | - $this->apiParas["adzone_id"] = $adzoneId; |
|
57 | - } |
|
53 | + public function setAdzoneId($adzoneId) |
|
54 | + { |
|
55 | + $this->adzoneId = $adzoneId; |
|
56 | + $this->apiParas["adzone_id"] = $adzoneId; |
|
57 | + } |
|
58 | 58 | |
59 | - public function getAdzoneId() |
|
60 | - { |
|
61 | - return $this->adzoneId; |
|
62 | - } |
|
59 | + public function getAdzoneId() |
|
60 | + { |
|
61 | + return $this->adzoneId; |
|
62 | + } |
|
63 | 63 | |
64 | - public function setPageNo($pageNo) |
|
65 | - { |
|
66 | - $this->pageNo = $pageNo; |
|
67 | - $this->apiParas["page_no"] = $pageNo; |
|
68 | - } |
|
64 | + public function setPageNo($pageNo) |
|
65 | + { |
|
66 | + $this->pageNo = $pageNo; |
|
67 | + $this->apiParas["page_no"] = $pageNo; |
|
68 | + } |
|
69 | 69 | |
70 | - public function getPageNo() |
|
71 | - { |
|
72 | - return $this->pageNo; |
|
73 | - } |
|
70 | + public function getPageNo() |
|
71 | + { |
|
72 | + return $this->pageNo; |
|
73 | + } |
|
74 | 74 | |
75 | - public function setPageSize($pageSize) |
|
76 | - { |
|
77 | - $this->pageSize = $pageSize; |
|
78 | - $this->apiParas["page_size"] = $pageSize; |
|
79 | - } |
|
75 | + public function setPageSize($pageSize) |
|
76 | + { |
|
77 | + $this->pageSize = $pageSize; |
|
78 | + $this->apiParas["page_size"] = $pageSize; |
|
79 | + } |
|
80 | 80 | |
81 | - public function getPageSize() |
|
82 | - { |
|
83 | - return $this->pageSize; |
|
84 | - } |
|
81 | + public function getPageSize() |
|
82 | + { |
|
83 | + return $this->pageSize; |
|
84 | + } |
|
85 | 85 | |
86 | - public function setSettleMonth($settleMonth) |
|
87 | - { |
|
88 | - $this->settleMonth = $settleMonth; |
|
89 | - $this->apiParas["settle_month"] = $settleMonth; |
|
90 | - } |
|
86 | + public function setSettleMonth($settleMonth) |
|
87 | + { |
|
88 | + $this->settleMonth = $settleMonth; |
|
89 | + $this->apiParas["settle_month"] = $settleMonth; |
|
90 | + } |
|
91 | 91 | |
92 | - public function getSettleMonth() |
|
93 | - { |
|
94 | - return $this->settleMonth; |
|
95 | - } |
|
92 | + public function getSettleMonth() |
|
93 | + { |
|
94 | + return $this->settleMonth; |
|
95 | + } |
|
96 | 96 | |
97 | - public function setSiteId($siteId) |
|
98 | - { |
|
99 | - $this->siteId = $siteId; |
|
100 | - $this->apiParas["site_id"] = $siteId; |
|
101 | - } |
|
97 | + public function setSiteId($siteId) |
|
98 | + { |
|
99 | + $this->siteId = $siteId; |
|
100 | + $this->apiParas["site_id"] = $siteId; |
|
101 | + } |
|
102 | 102 | |
103 | - public function getSiteId() |
|
104 | - { |
|
105 | - return $this->siteId; |
|
106 | - } |
|
103 | + public function getSiteId() |
|
104 | + { |
|
105 | + return $this->siteId; |
|
106 | + } |
|
107 | 107 | |
108 | - public function getApiMethodName() |
|
109 | - { |
|
110 | - return "taobao.tbk.dg.newuser.order.sum"; |
|
111 | - } |
|
108 | + public function getApiMethodName() |
|
109 | + { |
|
110 | + return "taobao.tbk.dg.newuser.order.sum"; |
|
111 | + } |
|
112 | 112 | |
113 | - public function getApiParas() |
|
114 | - { |
|
115 | - return $this->apiParas; |
|
116 | - } |
|
113 | + public function getApiParas() |
|
114 | + { |
|
115 | + return $this->apiParas; |
|
116 | + } |
|
117 | 117 | |
118 | - public function check() |
|
119 | - { |
|
118 | + public function check() |
|
119 | + { |
|
120 | 120 | |
121 | - RequestCheckUtil::checkNotNull($this->activityId,"activityId"); |
|
122 | - RequestCheckUtil::checkNotNull($this->pageNo,"pageNo"); |
|
123 | - RequestCheckUtil::checkNotNull($this->pageSize,"pageSize"); |
|
124 | - RequestCheckUtil::checkMaxValue($this->pageSize,100,"pageSize"); |
|
125 | - RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize"); |
|
126 | - } |
|
121 | + RequestCheckUtil::checkNotNull($this->activityId,"activityId"); |
|
122 | + RequestCheckUtil::checkNotNull($this->pageNo,"pageNo"); |
|
123 | + RequestCheckUtil::checkNotNull($this->pageSize,"pageSize"); |
|
124 | + RequestCheckUtil::checkMaxValue($this->pageSize,100,"pageSize"); |
|
125 | + RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize"); |
|
126 | + } |
|
127 | 127 | |
128 | - public function putOtherTextParam($key, $value) { |
|
129 | - $this->apiParas[$key] = $value; |
|
130 | - $this->$key = $value; |
|
131 | - } |
|
128 | + public function putOtherTextParam($key, $value) { |
|
129 | + $this->apiParas[$key] = $value; |
|
130 | + $this->$key = $value; |
|
131 | + } |
|
132 | 132 | } |
@@ -118,11 +118,11 @@ |
||
118 | 118 | public function check() |
119 | 119 | { |
120 | 120 | |
121 | - RequestCheckUtil::checkNotNull($this->activityId,"activityId"); |
|
122 | - RequestCheckUtil::checkNotNull($this->pageNo,"pageNo"); |
|
123 | - RequestCheckUtil::checkNotNull($this->pageSize,"pageSize"); |
|
124 | - RequestCheckUtil::checkMaxValue($this->pageSize,100,"pageSize"); |
|
125 | - RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize"); |
|
121 | + RequestCheckUtil::checkNotNull($this->activityId, "activityId"); |
|
122 | + RequestCheckUtil::checkNotNull($this->pageNo, "pageNo"); |
|
123 | + RequestCheckUtil::checkNotNull($this->pageSize, "pageSize"); |
|
124 | + RequestCheckUtil::checkMaxValue($this->pageSize, 100, "pageSize"); |
|
125 | + RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize"); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | public function putOtherTextParam($key, $value) { |
@@ -7,58 +7,58 @@ |
||
7 | 7 | */ |
8 | 8 | class TopAuthTokenCreateRequest |
9 | 9 | { |
10 | - /** |
|
11 | - * 授权code,grantType==authorization_code 时需要 |
|
12 | - **/ |
|
13 | - private $code; |
|
10 | + /** |
|
11 | + * 授权code,grantType==authorization_code 时需要 |
|
12 | + **/ |
|
13 | + private $code; |
|
14 | 14 | |
15 | - /** |
|
16 | - * 与生成code的uuid配对 |
|
17 | - **/ |
|
18 | - private $uuid; |
|
15 | + /** |
|
16 | + * 与生成code的uuid配对 |
|
17 | + **/ |
|
18 | + private $uuid; |
|
19 | 19 | |
20 | - private $apiParas = array(); |
|
20 | + private $apiParas = array(); |
|
21 | 21 | |
22 | - public function setCode($code) |
|
23 | - { |
|
24 | - $this->code = $code; |
|
25 | - $this->apiParas["code"] = $code; |
|
26 | - } |
|
22 | + public function setCode($code) |
|
23 | + { |
|
24 | + $this->code = $code; |
|
25 | + $this->apiParas["code"] = $code; |
|
26 | + } |
|
27 | 27 | |
28 | - public function getCode() |
|
29 | - { |
|
30 | - return $this->code; |
|
31 | - } |
|
28 | + public function getCode() |
|
29 | + { |
|
30 | + return $this->code; |
|
31 | + } |
|
32 | 32 | |
33 | - public function setUuid($uuid) |
|
34 | - { |
|
35 | - $this->uuid = $uuid; |
|
36 | - $this->apiParas["uuid"] = $uuid; |
|
37 | - } |
|
33 | + public function setUuid($uuid) |
|
34 | + { |
|
35 | + $this->uuid = $uuid; |
|
36 | + $this->apiParas["uuid"] = $uuid; |
|
37 | + } |
|
38 | 38 | |
39 | - public function getUuid() |
|
40 | - { |
|
41 | - return $this->uuid; |
|
42 | - } |
|
39 | + public function getUuid() |
|
40 | + { |
|
41 | + return $this->uuid; |
|
42 | + } |
|
43 | 43 | |
44 | - public function getApiMethodName() |
|
45 | - { |
|
46 | - return "taobao.top.auth.token.create"; |
|
47 | - } |
|
44 | + public function getApiMethodName() |
|
45 | + { |
|
46 | + return "taobao.top.auth.token.create"; |
|
47 | + } |
|
48 | 48 | |
49 | - public function getApiParas() |
|
50 | - { |
|
51 | - return $this->apiParas; |
|
52 | - } |
|
49 | + public function getApiParas() |
|
50 | + { |
|
51 | + return $this->apiParas; |
|
52 | + } |
|
53 | 53 | |
54 | - public function check() |
|
55 | - { |
|
54 | + public function check() |
|
55 | + { |
|
56 | 56 | |
57 | - RequestCheckUtil::checkNotNull($this->code,"code"); |
|
58 | - } |
|
57 | + RequestCheckUtil::checkNotNull($this->code,"code"); |
|
58 | + } |
|
59 | 59 | |
60 | - public function putOtherTextParam($key, $value) { |
|
61 | - $this->apiParas[$key] = $value; |
|
62 | - $this->$key = $value; |
|
63 | - } |
|
60 | + public function putOtherTextParam($key, $value) { |
|
61 | + $this->apiParas[$key] = $value; |
|
62 | + $this->$key = $value; |
|
63 | + } |
|
64 | 64 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | public function check() |
55 | 55 | { |
56 | 56 | |
57 | - RequestCheckUtil::checkNotNull($this->code,"code"); |
|
57 | + RequestCheckUtil::checkNotNull($this->code, "code"); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | public function putOtherTextParam($key, $value) { |
@@ -7,42 +7,42 @@ |
||
7 | 7 | */ |
8 | 8 | class OpenuidGetBymixnickRequest |
9 | 9 | { |
10 | - /** |
|
11 | - * 无线类应用获取到的混淆的nick |
|
12 | - **/ |
|
13 | - private $mixNick; |
|
10 | + /** |
|
11 | + * 无线类应用获取到的混淆的nick |
|
12 | + **/ |
|
13 | + private $mixNick; |
|
14 | 14 | |
15 | - private $apiParas = array(); |
|
15 | + private $apiParas = array(); |
|
16 | 16 | |
17 | - public function setMixNick($mixNick) |
|
18 | - { |
|
19 | - $this->mixNick = $mixNick; |
|
20 | - $this->apiParas["mix_nick"] = $mixNick; |
|
21 | - } |
|
17 | + public function setMixNick($mixNick) |
|
18 | + { |
|
19 | + $this->mixNick = $mixNick; |
|
20 | + $this->apiParas["mix_nick"] = $mixNick; |
|
21 | + } |
|
22 | 22 | |
23 | - public function getMixNick() |
|
24 | - { |
|
25 | - return $this->mixNick; |
|
26 | - } |
|
23 | + public function getMixNick() |
|
24 | + { |
|
25 | + return $this->mixNick; |
|
26 | + } |
|
27 | 27 | |
28 | - public function getApiMethodName() |
|
29 | - { |
|
30 | - return "taobao.openuid.get.bymixnick"; |
|
31 | - } |
|
28 | + public function getApiMethodName() |
|
29 | + { |
|
30 | + return "taobao.openuid.get.bymixnick"; |
|
31 | + } |
|
32 | 32 | |
33 | - public function getApiParas() |
|
34 | - { |
|
35 | - return $this->apiParas; |
|
36 | - } |
|
33 | + public function getApiParas() |
|
34 | + { |
|
35 | + return $this->apiParas; |
|
36 | + } |
|
37 | 37 | |
38 | - public function check() |
|
39 | - { |
|
38 | + public function check() |
|
39 | + { |
|
40 | 40 | |
41 | - RequestCheckUtil::checkNotNull($this->mixNick,"mixNick"); |
|
42 | - } |
|
41 | + RequestCheckUtil::checkNotNull($this->mixNick,"mixNick"); |
|
42 | + } |
|
43 | 43 | |
44 | - public function putOtherTextParam($key, $value) { |
|
45 | - $this->apiParas[$key] = $value; |
|
46 | - $this->$key = $value; |
|
47 | - } |
|
44 | + public function putOtherTextParam($key, $value) { |
|
45 | + $this->apiParas[$key] = $value; |
|
46 | + $this->$key = $value; |
|
47 | + } |
|
48 | 48 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | public function check() |
39 | 39 | { |
40 | 40 | |
41 | - RequestCheckUtil::checkNotNull($this->mixNick,"mixNick"); |
|
41 | + RequestCheckUtil::checkNotNull($this->mixNick, "mixNick"); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | public function putOtherTextParam($key, $value) { |