Passed
Push — v6 ( fe399c...515a76 )
by 光春
06:18
created
src/service/taobao/bin/top/request/TbkShopGetRequest.php 2 patches
Indentation   +213 added lines, -213 removed lines patch added patch discarded remove patch
@@ -7,267 +7,267 @@
 block discarded – undo
7 7
  */
8 8
 class TbkShopGetRequest
9 9
 {
10
-	/** 
11
-	 * 累计推广商品上限
12
-	 **/
13
-	private $endAuctionCount;
10
+    /** 
11
+     * 累计推广商品上限
12
+     **/
13
+    private $endAuctionCount;
14 14
 	
15
-	/** 
16
-	 * 淘客佣金比率上限,1~10000
17
-	 **/
18
-	private $endCommissionRate;
15
+    /** 
16
+     * 淘客佣金比率上限,1~10000
17
+     **/
18
+    private $endCommissionRate;
19 19
 	
20
-	/** 
21
-	 * 信用等级上限,1~20
22
-	 **/
23
-	private $endCredit;
20
+    /** 
21
+     * 信用等级上限,1~20
22
+     **/
23
+    private $endCredit;
24 24
 	
25
-	/** 
26
-	 * 店铺商品总数上限
27
-	 **/
28
-	private $endTotalAction;
25
+    /** 
26
+     * 店铺商品总数上限
27
+     **/
28
+    private $endTotalAction;
29 29
 	
30
-	/** 
31
-	 * 需返回的字段列表
32
-	 **/
33
-	private $fields;
30
+    /** 
31
+     * 需返回的字段列表
32
+     **/
33
+    private $fields;
34 34
 	
35
-	/** 
36
-	 * 是否商城的店铺,设置为true表示该是属于淘宝商城的店铺,设置为false或不设置表示不判断这个属性
37
-	 **/
38
-	private $isTmall;
35
+    /** 
36
+     * 是否商城的店铺,设置为true表示该是属于淘宝商城的店铺,设置为false或不设置表示不判断这个属性
37
+     **/
38
+    private $isTmall;
39 39
 	
40
-	/** 
41
-	 * 第几页,默认1,1~100
42
-	 **/
43
-	private $pageNo;
40
+    /** 
41
+     * 第几页,默认1,1~100
42
+     **/
43
+    private $pageNo;
44 44
 	
45
-	/** 
46
-	 * 页大小,默认20,1~100
47
-	 **/
48
-	private $pageSize;
45
+    /** 
46
+     * 页大小,默认20,1~100
47
+     **/
48
+    private $pageSize;
49 49
 	
50
-	/** 
51
-	 * 链接形式:1:PC,2:无线,默认:1
52
-	 **/
53
-	private $platform;
50
+    /** 
51
+     * 链接形式:1:PC,2:无线,默认:1
52
+     **/
53
+    private $platform;
54 54
 	
55
-	/** 
56
-	 * 查询词
57
-	 **/
58
-	private $q;
55
+    /** 
56
+     * 查询词
57
+     **/
58
+    private $q;
59 59
 	
60
-	/** 
61
-	 * 排序_des(降序),排序_asc(升序),佣金比率(commission_rate), 商品数量(auction_count),销售总数量(total_auction)
62
-	 **/
63
-	private $sort;
60
+    /** 
61
+     * 排序_des(降序),排序_asc(升序),佣金比率(commission_rate), 商品数量(auction_count),销售总数量(total_auction)
62
+     **/
63
+    private $sort;
64 64
 	
65
-	/** 
66
-	 * 累计推广商品下限
67
-	 **/
68
-	private $startAuctionCount;
65
+    /** 
66
+     * 累计推广商品下限
67
+     **/
68
+    private $startAuctionCount;
69 69
 	
70
-	/** 
71
-	 * 淘客佣金比率下限,1~10000
72
-	 **/
73
-	private $startCommissionRate;
70
+    /** 
71
+     * 淘客佣金比率下限,1~10000
72
+     **/
73
+    private $startCommissionRate;
74 74
 	
75
-	/** 
76
-	 * 信用等级下限,1~20
77
-	 **/
78
-	private $startCredit;
75
+    /** 
76
+     * 信用等级下限,1~20
77
+     **/
78
+    private $startCredit;
79 79
 	
80
-	/** 
81
-	 * 店铺商品总数下限
82
-	 **/
83
-	private $startTotalAction;
80
+    /** 
81
+     * 店铺商品总数下限
82
+     **/
83
+    private $startTotalAction;
84 84
 	
85
-	private $apiParas = array();
85
+    private $apiParas = array();
86 86
 	
87
-	public function setEndAuctionCount($endAuctionCount)
88
-	{
89
-		$this->endAuctionCount = $endAuctionCount;
90
-		$this->apiParas["end_auction_count"] = $endAuctionCount;
91
-	}
87
+    public function setEndAuctionCount($endAuctionCount)
88
+    {
89
+        $this->endAuctionCount = $endAuctionCount;
90
+        $this->apiParas["end_auction_count"] = $endAuctionCount;
91
+    }
92 92
 
93
-	public function getEndAuctionCount()
94
-	{
95
-		return $this->endAuctionCount;
96
-	}
93
+    public function getEndAuctionCount()
94
+    {
95
+        return $this->endAuctionCount;
96
+    }
97 97
 
98
-	public function setEndCommissionRate($endCommissionRate)
99
-	{
100
-		$this->endCommissionRate = $endCommissionRate;
101
-		$this->apiParas["end_commission_rate"] = $endCommissionRate;
102
-	}
98
+    public function setEndCommissionRate($endCommissionRate)
99
+    {
100
+        $this->endCommissionRate = $endCommissionRate;
101
+        $this->apiParas["end_commission_rate"] = $endCommissionRate;
102
+    }
103 103
 
104
-	public function getEndCommissionRate()
105
-	{
106
-		return $this->endCommissionRate;
107
-	}
104
+    public function getEndCommissionRate()
105
+    {
106
+        return $this->endCommissionRate;
107
+    }
108 108
 
109
-	public function setEndCredit($endCredit)
110
-	{
111
-		$this->endCredit = $endCredit;
112
-		$this->apiParas["end_credit"] = $endCredit;
113
-	}
109
+    public function setEndCredit($endCredit)
110
+    {
111
+        $this->endCredit = $endCredit;
112
+        $this->apiParas["end_credit"] = $endCredit;
113
+    }
114 114
 
115
-	public function getEndCredit()
116
-	{
117
-		return $this->endCredit;
118
-	}
115
+    public function getEndCredit()
116
+    {
117
+        return $this->endCredit;
118
+    }
119 119
 
120
-	public function setEndTotalAction($endTotalAction)
121
-	{
122
-		$this->endTotalAction = $endTotalAction;
123
-		$this->apiParas["end_total_action"] = $endTotalAction;
124
-	}
120
+    public function setEndTotalAction($endTotalAction)
121
+    {
122
+        $this->endTotalAction = $endTotalAction;
123
+        $this->apiParas["end_total_action"] = $endTotalAction;
124
+    }
125 125
 
126
-	public function getEndTotalAction()
127
-	{
128
-		return $this->endTotalAction;
129
-	}
126
+    public function getEndTotalAction()
127
+    {
128
+        return $this->endTotalAction;
129
+    }
130 130
 
131
-	public function setFields($fields)
132
-	{
133
-		$this->fields = $fields;
134
-		$this->apiParas["fields"] = $fields;
135
-	}
131
+    public function setFields($fields)
132
+    {
133
+        $this->fields = $fields;
134
+        $this->apiParas["fields"] = $fields;
135
+    }
136 136
 
137
-	public function getFields()
138
-	{
139
-		return $this->fields;
140
-	}
137
+    public function getFields()
138
+    {
139
+        return $this->fields;
140
+    }
141 141
 
142
-	public function setIsTmall($isTmall)
143
-	{
144
-		$this->isTmall = $isTmall;
145
-		$this->apiParas["is_tmall"] = $isTmall;
146
-	}
142
+    public function setIsTmall($isTmall)
143
+    {
144
+        $this->isTmall = $isTmall;
145
+        $this->apiParas["is_tmall"] = $isTmall;
146
+    }
147 147
 
148
-	public function getIsTmall()
149
-	{
150
-		return $this->isTmall;
151
-	}
148
+    public function getIsTmall()
149
+    {
150
+        return $this->isTmall;
151
+    }
152 152
 
153
-	public function setPageNo($pageNo)
154
-	{
155
-		$this->pageNo = $pageNo;
156
-		$this->apiParas["page_no"] = $pageNo;
157
-	}
153
+    public function setPageNo($pageNo)
154
+    {
155
+        $this->pageNo = $pageNo;
156
+        $this->apiParas["page_no"] = $pageNo;
157
+    }
158 158
 
159
-	public function getPageNo()
160
-	{
161
-		return $this->pageNo;
162
-	}
159
+    public function getPageNo()
160
+    {
161
+        return $this->pageNo;
162
+    }
163 163
 
164
-	public function setPageSize($pageSize)
165
-	{
166
-		$this->pageSize = $pageSize;
167
-		$this->apiParas["page_size"] = $pageSize;
168
-	}
164
+    public function setPageSize($pageSize)
165
+    {
166
+        $this->pageSize = $pageSize;
167
+        $this->apiParas["page_size"] = $pageSize;
168
+    }
169 169
 
170
-	public function getPageSize()
171
-	{
172
-		return $this->pageSize;
173
-	}
170
+    public function getPageSize()
171
+    {
172
+        return $this->pageSize;
173
+    }
174 174
 
175
-	public function setPlatform($platform)
176
-	{
177
-		$this->platform = $platform;
178
-		$this->apiParas["platform"] = $platform;
179
-	}
175
+    public function setPlatform($platform)
176
+    {
177
+        $this->platform = $platform;
178
+        $this->apiParas["platform"] = $platform;
179
+    }
180 180
 
181
-	public function getPlatform()
182
-	{
183
-		return $this->platform;
184
-	}
181
+    public function getPlatform()
182
+    {
183
+        return $this->platform;
184
+    }
185 185
 
186
-	public function setQ($q)
187
-	{
188
-		$this->q = $q;
189
-		$this->apiParas["q"] = $q;
190
-	}
186
+    public function setQ($q)
187
+    {
188
+        $this->q = $q;
189
+        $this->apiParas["q"] = $q;
190
+    }
191 191
 
192
-	public function getQ()
193
-	{
194
-		return $this->q;
195
-	}
192
+    public function getQ()
193
+    {
194
+        return $this->q;
195
+    }
196 196
 
197
-	public function setSort($sort)
198
-	{
199
-		$this->sort = $sort;
200
-		$this->apiParas["sort"] = $sort;
201
-	}
197
+    public function setSort($sort)
198
+    {
199
+        $this->sort = $sort;
200
+        $this->apiParas["sort"] = $sort;
201
+    }
202 202
 
203
-	public function getSort()
204
-	{
205
-		return $this->sort;
206
-	}
203
+    public function getSort()
204
+    {
205
+        return $this->sort;
206
+    }
207 207
 
208
-	public function setStartAuctionCount($startAuctionCount)
209
-	{
210
-		$this->startAuctionCount = $startAuctionCount;
211
-		$this->apiParas["start_auction_count"] = $startAuctionCount;
212
-	}
208
+    public function setStartAuctionCount($startAuctionCount)
209
+    {
210
+        $this->startAuctionCount = $startAuctionCount;
211
+        $this->apiParas["start_auction_count"] = $startAuctionCount;
212
+    }
213 213
 
214
-	public function getStartAuctionCount()
215
-	{
216
-		return $this->startAuctionCount;
217
-	}
214
+    public function getStartAuctionCount()
215
+    {
216
+        return $this->startAuctionCount;
217
+    }
218 218
 
219
-	public function setStartCommissionRate($startCommissionRate)
220
-	{
221
-		$this->startCommissionRate = $startCommissionRate;
222
-		$this->apiParas["start_commission_rate"] = $startCommissionRate;
223
-	}
219
+    public function setStartCommissionRate($startCommissionRate)
220
+    {
221
+        $this->startCommissionRate = $startCommissionRate;
222
+        $this->apiParas["start_commission_rate"] = $startCommissionRate;
223
+    }
224 224
 
225
-	public function getStartCommissionRate()
226
-	{
227
-		return $this->startCommissionRate;
228
-	}
225
+    public function getStartCommissionRate()
226
+    {
227
+        return $this->startCommissionRate;
228
+    }
229 229
 
230
-	public function setStartCredit($startCredit)
231
-	{
232
-		$this->startCredit = $startCredit;
233
-		$this->apiParas["start_credit"] = $startCredit;
234
-	}
230
+    public function setStartCredit($startCredit)
231
+    {
232
+        $this->startCredit = $startCredit;
233
+        $this->apiParas["start_credit"] = $startCredit;
234
+    }
235 235
 
236
-	public function getStartCredit()
237
-	{
238
-		return $this->startCredit;
239
-	}
236
+    public function getStartCredit()
237
+    {
238
+        return $this->startCredit;
239
+    }
240 240
 
241
-	public function setStartTotalAction($startTotalAction)
242
-	{
243
-		$this->startTotalAction = $startTotalAction;
244
-		$this->apiParas["start_total_action"] = $startTotalAction;
245
-	}
241
+    public function setStartTotalAction($startTotalAction)
242
+    {
243
+        $this->startTotalAction = $startTotalAction;
244
+        $this->apiParas["start_total_action"] = $startTotalAction;
245
+    }
246 246
 
247
-	public function getStartTotalAction()
248
-	{
249
-		return $this->startTotalAction;
250
-	}
247
+    public function getStartTotalAction()
248
+    {
249
+        return $this->startTotalAction;
250
+    }
251 251
 
252
-	public function getApiMethodName()
253
-	{
254
-		return "taobao.tbk.shop.get";
255
-	}
252
+    public function getApiMethodName()
253
+    {
254
+        return "taobao.tbk.shop.get";
255
+    }
256 256
 	
257
-	public function getApiParas()
258
-	{
259
-		return $this->apiParas;
260
-	}
257
+    public function getApiParas()
258
+    {
259
+        return $this->apiParas;
260
+    }
261 261
 	
262
-	public function check()
263
-	{
262
+    public function check()
263
+    {
264 264
 		
265
-		RequestCheckUtil::checkNotNull($this->fields,"fields");
266
-		RequestCheckUtil::checkNotNull($this->q,"q");
267
-	}
265
+        RequestCheckUtil::checkNotNull($this->fields,"fields");
266
+        RequestCheckUtil::checkNotNull($this->q,"q");
267
+    }
268 268
 	
269
-	public function putOtherTextParam($key, $value) {
270
-		$this->apiParas[$key] = $value;
271
-		$this->$key = $value;
272
-	}
269
+    public function putOtherTextParam($key, $value) {
270
+        $this->apiParas[$key] = $value;
271
+        $this->$key = $value;
272
+    }
273 273
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -262,8 +262,8 @@
 block discarded – undo
262 262
 	public function check()
263 263
 	{
264 264
 		
265
-		RequestCheckUtil::checkNotNull($this->fields,"fields");
266
-		RequestCheckUtil::checkNotNull($this->q,"q");
265
+		RequestCheckUtil::checkNotNull($this->fields, "fields");
266
+		RequestCheckUtil::checkNotNull($this->q, "q");
267 267
 	}
268 268
 	
269 269
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkItemInfoGetRequest.php 2 patches
Indentation   +56 added lines, -56 removed lines patch added patch discarded remove patch
@@ -7,74 +7,74 @@
 block discarded – undo
7 7
  */
8 8
 class TbkItemInfoGetRequest
9 9
 {
10
-	/** 
11
-	 * ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
12
-	 **/
13
-	private $ip;
10
+    /** 
11
+     * ip地址,影响邮费获取,如果不传或者传入不准确,邮费无法精准提供
12
+     **/
13
+    private $ip;
14 14
 	
15
-	/** 
16
-	 * 商品ID串,用,分割,最大40个
17
-	 **/
18
-	private $numIids;
15
+    /** 
16
+     * 商品ID串,用,分割,最大40个
17
+     **/
18
+    private $numIids;
19 19
 	
20
-	/** 
21
-	 * 链接形式:1:PC,2:无线,默认:1
22
-	 **/
23
-	private $platform;
20
+    /** 
21
+     * 链接形式:1:PC,2:无线,默认:1
22
+     **/
23
+    private $platform;
24 24
 	
25
-	private $apiParas = array();
25
+    private $apiParas = array();
26 26
 	
27
-	public function setIp($ip)
28
-	{
29
-		$this->ip = $ip;
30
-		$this->apiParas["ip"] = $ip;
31
-	}
27
+    public function setIp($ip)
28
+    {
29
+        $this->ip = $ip;
30
+        $this->apiParas["ip"] = $ip;
31
+    }
32 32
 
33
-	public function getIp()
34
-	{
35
-		return $this->ip;
36
-	}
33
+    public function getIp()
34
+    {
35
+        return $this->ip;
36
+    }
37 37
 
38
-	public function setNumIids($numIids)
39
-	{
40
-		$this->numIids = $numIids;
41
-		$this->apiParas["num_iids"] = $numIids;
42
-	}
38
+    public function setNumIids($numIids)
39
+    {
40
+        $this->numIids = $numIids;
41
+        $this->apiParas["num_iids"] = $numIids;
42
+    }
43 43
 
44
-	public function getNumIids()
45
-	{
46
-		return $this->numIids;
47
-	}
44
+    public function getNumIids()
45
+    {
46
+        return $this->numIids;
47
+    }
48 48
 
49
-	public function setPlatform($platform)
50
-	{
51
-		$this->platform = $platform;
52
-		$this->apiParas["platform"] = $platform;
53
-	}
49
+    public function setPlatform($platform)
50
+    {
51
+        $this->platform = $platform;
52
+        $this->apiParas["platform"] = $platform;
53
+    }
54 54
 
55
-	public function getPlatform()
56
-	{
57
-		return $this->platform;
58
-	}
55
+    public function getPlatform()
56
+    {
57
+        return $this->platform;
58
+    }
59 59
 
60
-	public function getApiMethodName()
61
-	{
62
-		return "taobao.tbk.item.info.get";
63
-	}
60
+    public function getApiMethodName()
61
+    {
62
+        return "taobao.tbk.item.info.get";
63
+    }
64 64
 	
65
-	public function getApiParas()
66
-	{
67
-		return $this->apiParas;
68
-	}
65
+    public function getApiParas()
66
+    {
67
+        return $this->apiParas;
68
+    }
69 69
 	
70
-	public function check()
71
-	{
70
+    public function check()
71
+    {
72 72
 		
73
-		RequestCheckUtil::checkNotNull($this->numIids,"numIids");
74
-	}
73
+        RequestCheckUtil::checkNotNull($this->numIids,"numIids");
74
+    }
75 75
 	
76
-	public function putOtherTextParam($key, $value) {
77
-		$this->apiParas[$key] = $value;
78
-		$this->$key = $value;
79
-	}
76
+    public function putOtherTextParam($key, $value) {
77
+        $this->apiParas[$key] = $value;
78
+        $this->$key = $value;
79
+    }
80 80
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	public function check()
71 71
 	{
72 72
 		
73
-		RequestCheckUtil::checkNotNull($this->numIids,"numIids");
73
+		RequestCheckUtil::checkNotNull($this->numIids, "numIids");
74 74
 	}
75 75
 	
76 76
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkDgVegasTljCreateRequest.php 2 patches
Indentation   +206 added lines, -206 removed lines patch added patch discarded remove patch
@@ -7,257 +7,257 @@
 block discarded – undo
7 7
  */
8 8
 class TbkDgVegasTljCreateRequest
9 9
 {
10
-	/** 
11
-	 * 妈妈广告位Id
12
-	 **/
13
-	private $adzoneId;
10
+    /** 
11
+     * 妈妈广告位Id
12
+     **/
13
+    private $adzoneId;
14 14
 	
15
-	/** 
16
-	 * CPS佣金计划类型
17
-	 **/
18
-	private $campaignType;
15
+    /** 
16
+     * CPS佣金计划类型
17
+     **/
18
+    private $campaignType;
19 19
 	
20
-	/** 
21
-	 * 宝贝id
22
-	 **/
23
-	private $itemId;
20
+    /** 
21
+     * 宝贝id
22
+     **/
23
+    private $itemId;
24 24
 	
25
-	/** 
26
-	 * 淘礼金名称,最大10个字符
27
-	 **/
28
-	private $name;
25
+    /** 
26
+     * 淘礼金名称,最大10个字符
27
+     **/
28
+    private $name;
29 29
 	
30
-	/** 
31
-	 * 单个淘礼金面额,支持两位小数,单位元
32
-	 **/
33
-	private $perFace;
30
+    /** 
31
+     * 单个淘礼金面额,支持两位小数,单位元
32
+     **/
33
+    private $perFace;
34 34
 	
35
-	/** 
36
-	 * 安全等级,0:适用于常规淘礼金投放场景;1:更高安全级别,适用于淘礼金面额偏大等安全性较高的淘礼金投放场景,可能导致更多用户拦截。security_switch为true,此字段不填写时,使用0作为默认安全级别。如果security_switch为false,不进行安全判断。
37
-	 **/
38
-	private $securityLevel;
35
+    /** 
36
+     * 安全等级,0:适用于常规淘礼金投放场景;1:更高安全级别,适用于淘礼金面额偏大等安全性较高的淘礼金投放场景,可能导致更多用户拦截。security_switch为true,此字段不填写时,使用0作为默认安全级别。如果security_switch为false,不进行安全判断。
37
+     **/
38
+    private $securityLevel;
39 39
 	
40
-	/** 
41
-	 * 安全开关,若不进行安全校验,可能放大您的资损风险,请谨慎选择
42
-	 **/
43
-	private $securitySwitch;
40
+    /** 
41
+     * 安全开关,若不进行安全校验,可能放大您的资损风险,请谨慎选择
42
+     **/
43
+    private $securitySwitch;
44 44
 	
45
-	/** 
46
-	 * 发放截止时间
47
-	 **/
48
-	private $sendEndTime;
45
+    /** 
46
+     * 发放截止时间
47
+     **/
48
+    private $sendEndTime;
49 49
 	
50
-	/** 
51
-	 * 发放开始时间
52
-	 **/
53
-	private $sendStartTime;
50
+    /** 
51
+     * 发放开始时间
52
+     **/
53
+    private $sendStartTime;
54 54
 	
55
-	/** 
56
-	 * 淘礼金总个数
57
-	 **/
58
-	private $totalNum;
55
+    /** 
56
+     * 淘礼金总个数
57
+     **/
58
+    private $totalNum;
59 59
 	
60
-	/** 
61
-	 * 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束
62
-	 **/
63
-	private $useEndTime;
60
+    /** 
61
+     * 使用结束日期。如果是结束时间模式为相对时间,时间格式为1-7直接的整数, 例如,1(相对领取时间1天); 如果是绝对时间,格式为yyyy-MM-dd,例如,2019-01-29,表示到2019-01-29 23:59:59结束
62
+     **/
63
+    private $useEndTime;
64 64
 	
65
-	/** 
66
-	 * 结束日期的模式,1:相对时间,2:绝对时间
67
-	 **/
68
-	private $useEndTimeMode;
65
+    /** 
66
+     * 结束日期的模式,1:相对时间,2:绝对时间
67
+     **/
68
+    private $useEndTimeMode;
69 69
 	
70
-	/** 
71
-	 * 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始
72
-	 **/
73
-	private $useStartTime;
70
+    /** 
71
+     * 使用开始日期。相对时间,无需填写,以用户领取时间作为使用开始时间。绝对时间,格式 yyyy-MM-dd,例如,2019-01-29,表示从2019-01-29 00:00:00 开始
72
+     **/
73
+    private $useStartTime;
74 74
 	
75
-	/** 
76
-	 * 单用户累计中奖次数上限
77
-	 **/
78
-	private $userTotalWinNumLimit;
75
+    /** 
76
+     * 单用户累计中奖次数上限
77
+     **/
78
+    private $userTotalWinNumLimit;
79 79
 	
80
-	private $apiParas = array();
80
+    private $apiParas = array();
81 81
 	
82
-	public function setAdzoneId($adzoneId)
83
-	{
84
-		$this->adzoneId = $adzoneId;
85
-		$this->apiParas["adzone_id"] = $adzoneId;
86
-	}
82
+    public function setAdzoneId($adzoneId)
83
+    {
84
+        $this->adzoneId = $adzoneId;
85
+        $this->apiParas["adzone_id"] = $adzoneId;
86
+    }
87 87
 
88
-	public function getAdzoneId()
89
-	{
90
-		return $this->adzoneId;
91
-	}
88
+    public function getAdzoneId()
89
+    {
90
+        return $this->adzoneId;
91
+    }
92 92
 
93
-	public function setCampaignType($campaignType)
94
-	{
95
-		$this->campaignType = $campaignType;
96
-		$this->apiParas["campaign_type"] = $campaignType;
97
-	}
93
+    public function setCampaignType($campaignType)
94
+    {
95
+        $this->campaignType = $campaignType;
96
+        $this->apiParas["campaign_type"] = $campaignType;
97
+    }
98 98
 
99
-	public function getCampaignType()
100
-	{
101
-		return $this->campaignType;
102
-	}
99
+    public function getCampaignType()
100
+    {
101
+        return $this->campaignType;
102
+    }
103 103
 
104
-	public function setItemId($itemId)
105
-	{
106
-		$this->itemId = $itemId;
107
-		$this->apiParas["item_id"] = $itemId;
108
-	}
104
+    public function setItemId($itemId)
105
+    {
106
+        $this->itemId = $itemId;
107
+        $this->apiParas["item_id"] = $itemId;
108
+    }
109 109
 
110
-	public function getItemId()
111
-	{
112
-		return $this->itemId;
113
-	}
110
+    public function getItemId()
111
+    {
112
+        return $this->itemId;
113
+    }
114 114
 
115
-	public function setName($name)
116
-	{
117
-		$this->name = $name;
118
-		$this->apiParas["name"] = $name;
119
-	}
115
+    public function setName($name)
116
+    {
117
+        $this->name = $name;
118
+        $this->apiParas["name"] = $name;
119
+    }
120 120
 
121
-	public function getName()
122
-	{
123
-		return $this->name;
124
-	}
121
+    public function getName()
122
+    {
123
+        return $this->name;
124
+    }
125 125
 
126
-	public function setPerFace($perFace)
127
-	{
128
-		$this->perFace = $perFace;
129
-		$this->apiParas["per_face"] = $perFace;
130
-	}
126
+    public function setPerFace($perFace)
127
+    {
128
+        $this->perFace = $perFace;
129
+        $this->apiParas["per_face"] = $perFace;
130
+    }
131 131
 
132
-	public function getPerFace()
133
-	{
134
-		return $this->perFace;
135
-	}
132
+    public function getPerFace()
133
+    {
134
+        return $this->perFace;
135
+    }
136 136
 
137
-	public function setSecurityLevel($securityLevel)
138
-	{
139
-		$this->securityLevel = $securityLevel;
140
-		$this->apiParas["security_level"] = $securityLevel;
141
-	}
137
+    public function setSecurityLevel($securityLevel)
138
+    {
139
+        $this->securityLevel = $securityLevel;
140
+        $this->apiParas["security_level"] = $securityLevel;
141
+    }
142 142
 
143
-	public function getSecurityLevel()
144
-	{
145
-		return $this->securityLevel;
146
-	}
143
+    public function getSecurityLevel()
144
+    {
145
+        return $this->securityLevel;
146
+    }
147 147
 
148
-	public function setSecuritySwitch($securitySwitch)
149
-	{
150
-		$this->securitySwitch = $securitySwitch;
151
-		$this->apiParas["security_switch"] = $securitySwitch;
152
-	}
148
+    public function setSecuritySwitch($securitySwitch)
149
+    {
150
+        $this->securitySwitch = $securitySwitch;
151
+        $this->apiParas["security_switch"] = $securitySwitch;
152
+    }
153 153
 
154
-	public function getSecuritySwitch()
155
-	{
156
-		return $this->securitySwitch;
157
-	}
154
+    public function getSecuritySwitch()
155
+    {
156
+        return $this->securitySwitch;
157
+    }
158 158
 
159
-	public function setSendEndTime($sendEndTime)
160
-	{
161
-		$this->sendEndTime = $sendEndTime;
162
-		$this->apiParas["send_end_time"] = $sendEndTime;
163
-	}
159
+    public function setSendEndTime($sendEndTime)
160
+    {
161
+        $this->sendEndTime = $sendEndTime;
162
+        $this->apiParas["send_end_time"] = $sendEndTime;
163
+    }
164 164
 
165
-	public function getSendEndTime()
166
-	{
167
-		return $this->sendEndTime;
168
-	}
165
+    public function getSendEndTime()
166
+    {
167
+        return $this->sendEndTime;
168
+    }
169 169
 
170
-	public function setSendStartTime($sendStartTime)
171
-	{
172
-		$this->sendStartTime = $sendStartTime;
173
-		$this->apiParas["send_start_time"] = $sendStartTime;
174
-	}
170
+    public function setSendStartTime($sendStartTime)
171
+    {
172
+        $this->sendStartTime = $sendStartTime;
173
+        $this->apiParas["send_start_time"] = $sendStartTime;
174
+    }
175 175
 
176
-	public function getSendStartTime()
177
-	{
178
-		return $this->sendStartTime;
179
-	}
176
+    public function getSendStartTime()
177
+    {
178
+        return $this->sendStartTime;
179
+    }
180 180
 
181
-	public function setTotalNum($totalNum)
182
-	{
183
-		$this->totalNum = $totalNum;
184
-		$this->apiParas["total_num"] = $totalNum;
185
-	}
181
+    public function setTotalNum($totalNum)
182
+    {
183
+        $this->totalNum = $totalNum;
184
+        $this->apiParas["total_num"] = $totalNum;
185
+    }
186 186
 
187
-	public function getTotalNum()
188
-	{
189
-		return $this->totalNum;
190
-	}
187
+    public function getTotalNum()
188
+    {
189
+        return $this->totalNum;
190
+    }
191 191
 
192
-	public function setUseEndTime($useEndTime)
193
-	{
194
-		$this->useEndTime = $useEndTime;
195
-		$this->apiParas["use_end_time"] = $useEndTime;
196
-	}
192
+    public function setUseEndTime($useEndTime)
193
+    {
194
+        $this->useEndTime = $useEndTime;
195
+        $this->apiParas["use_end_time"] = $useEndTime;
196
+    }
197 197
 
198
-	public function getUseEndTime()
199
-	{
200
-		return $this->useEndTime;
201
-	}
198
+    public function getUseEndTime()
199
+    {
200
+        return $this->useEndTime;
201
+    }
202 202
 
203
-	public function setUseEndTimeMode($useEndTimeMode)
204
-	{
205
-		$this->useEndTimeMode = $useEndTimeMode;
206
-		$this->apiParas["use_end_time_mode"] = $useEndTimeMode;
207
-	}
203
+    public function setUseEndTimeMode($useEndTimeMode)
204
+    {
205
+        $this->useEndTimeMode = $useEndTimeMode;
206
+        $this->apiParas["use_end_time_mode"] = $useEndTimeMode;
207
+    }
208 208
 
209
-	public function getUseEndTimeMode()
210
-	{
211
-		return $this->useEndTimeMode;
212
-	}
209
+    public function getUseEndTimeMode()
210
+    {
211
+        return $this->useEndTimeMode;
212
+    }
213 213
 
214
-	public function setUseStartTime($useStartTime)
215
-	{
216
-		$this->useStartTime = $useStartTime;
217
-		$this->apiParas["use_start_time"] = $useStartTime;
218
-	}
214
+    public function setUseStartTime($useStartTime)
215
+    {
216
+        $this->useStartTime = $useStartTime;
217
+        $this->apiParas["use_start_time"] = $useStartTime;
218
+    }
219 219
 
220
-	public function getUseStartTime()
221
-	{
222
-		return $this->useStartTime;
223
-	}
220
+    public function getUseStartTime()
221
+    {
222
+        return $this->useStartTime;
223
+    }
224 224
 
225
-	public function setUserTotalWinNumLimit($userTotalWinNumLimit)
226
-	{
227
-		$this->userTotalWinNumLimit = $userTotalWinNumLimit;
228
-		$this->apiParas["user_total_win_num_limit"] = $userTotalWinNumLimit;
229
-	}
225
+    public function setUserTotalWinNumLimit($userTotalWinNumLimit)
226
+    {
227
+        $this->userTotalWinNumLimit = $userTotalWinNumLimit;
228
+        $this->apiParas["user_total_win_num_limit"] = $userTotalWinNumLimit;
229
+    }
230 230
 
231
-	public function getUserTotalWinNumLimit()
232
-	{
233
-		return $this->userTotalWinNumLimit;
234
-	}
231
+    public function getUserTotalWinNumLimit()
232
+    {
233
+        return $this->userTotalWinNumLimit;
234
+    }
235 235
 
236
-	public function getApiMethodName()
237
-	{
238
-		return "taobao.tbk.dg.vegas.tlj.create";
239
-	}
236
+    public function getApiMethodName()
237
+    {
238
+        return "taobao.tbk.dg.vegas.tlj.create";
239
+    }
240 240
 	
241
-	public function getApiParas()
242
-	{
243
-		return $this->apiParas;
244
-	}
241
+    public function getApiParas()
242
+    {
243
+        return $this->apiParas;
244
+    }
245 245
 	
246
-	public function check()
247
-	{
246
+    public function check()
247
+    {
248 248
 		
249
-		RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId");
250
-		RequestCheckUtil::checkNotNull($this->itemId,"itemId");
251
-		RequestCheckUtil::checkNotNull($this->name,"name");
252
-		RequestCheckUtil::checkNotNull($this->perFace,"perFace");
253
-		RequestCheckUtil::checkNotNull($this->securitySwitch,"securitySwitch");
254
-		RequestCheckUtil::checkNotNull($this->sendStartTime,"sendStartTime");
255
-		RequestCheckUtil::checkNotNull($this->totalNum,"totalNum");
256
-		RequestCheckUtil::checkNotNull($this->userTotalWinNumLimit,"userTotalWinNumLimit");
257
-	}
249
+        RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId");
250
+        RequestCheckUtil::checkNotNull($this->itemId,"itemId");
251
+        RequestCheckUtil::checkNotNull($this->name,"name");
252
+        RequestCheckUtil::checkNotNull($this->perFace,"perFace");
253
+        RequestCheckUtil::checkNotNull($this->securitySwitch,"securitySwitch");
254
+        RequestCheckUtil::checkNotNull($this->sendStartTime,"sendStartTime");
255
+        RequestCheckUtil::checkNotNull($this->totalNum,"totalNum");
256
+        RequestCheckUtil::checkNotNull($this->userTotalWinNumLimit,"userTotalWinNumLimit");
257
+    }
258 258
 	
259
-	public function putOtherTextParam($key, $value) {
260
-		$this->apiParas[$key] = $value;
261
-		$this->$key = $value;
262
-	}
259
+    public function putOtherTextParam($key, $value) {
260
+        $this->apiParas[$key] = $value;
261
+        $this->$key = $value;
262
+    }
263 263
 }
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -246,14 +246,14 @@
 block discarded – undo
246 246
 	public function check()
247 247
 	{
248 248
 		
249
-		RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId");
250
-		RequestCheckUtil::checkNotNull($this->itemId,"itemId");
251
-		RequestCheckUtil::checkNotNull($this->name,"name");
252
-		RequestCheckUtil::checkNotNull($this->perFace,"perFace");
253
-		RequestCheckUtil::checkNotNull($this->securitySwitch,"securitySwitch");
254
-		RequestCheckUtil::checkNotNull($this->sendStartTime,"sendStartTime");
255
-		RequestCheckUtil::checkNotNull($this->totalNum,"totalNum");
256
-		RequestCheckUtil::checkNotNull($this->userTotalWinNumLimit,"userTotalWinNumLimit");
249
+		RequestCheckUtil::checkNotNull($this->adzoneId, "adzoneId");
250
+		RequestCheckUtil::checkNotNull($this->itemId, "itemId");
251
+		RequestCheckUtil::checkNotNull($this->name, "name");
252
+		RequestCheckUtil::checkNotNull($this->perFace, "perFace");
253
+		RequestCheckUtil::checkNotNull($this->securitySwitch, "securitySwitch");
254
+		RequestCheckUtil::checkNotNull($this->sendStartTime, "sendStartTime");
255
+		RequestCheckUtil::checkNotNull($this->totalNum, "totalNum");
256
+		RequestCheckUtil::checkNotNull($this->userTotalWinNumLimit, "userTotalWinNumLimit");
257 257
 	}
258 258
 	
259 259
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkDgOptimusPromotionRequest.php 2 patches
Indentation   +71 added lines, -71 removed lines patch added patch discarded remove patch
@@ -7,92 +7,92 @@
 block discarded – undo
7 7
  */
8 8
 class TbkDgOptimusPromotionRequest
9 9
 {
10
-	/** 
11
-	 * mm_xxx_xxx_xxx的第3段数字
12
-	 **/
13
-	private $adzoneId;
10
+    /** 
11
+     * mm_xxx_xxx_xxx的第3段数字
12
+     **/
13
+    private $adzoneId;
14 14
 	
15
-	/** 
16
-	 * 第几页,默认:1
17
-	 **/
18
-	private $pageNum;
15
+    /** 
16
+     * 第几页,默认:1
17
+     **/
18
+    private $pageNum;
19 19
 	
20
-	/** 
21
-	 * 页大小,一次请求请限制在10以内
22
-	 **/
23
-	private $pageSize;
20
+    /** 
21
+     * 页大小,一次请求请限制在10以内
22
+     **/
23
+    private $pageSize;
24 24
 	
25
-	/** 
26
-	 * 官方提供的权益物料Id。有价券-37104、大额店铺券-37116,更多权益物料id敬请期待!
27
-	 **/
28
-	private $promotionId;
25
+    /** 
26
+     * 官方提供的权益物料Id。有价券-37104、大额店铺券-37116,更多权益物料id敬请期待!
27
+     **/
28
+    private $promotionId;
29 29
 	
30
-	private $apiParas = array();
30
+    private $apiParas = array();
31 31
 	
32
-	public function setAdzoneId($adzoneId)
33
-	{
34
-		$this->adzoneId = $adzoneId;
35
-		$this->apiParas["adzone_id"] = $adzoneId;
36
-	}
32
+    public function setAdzoneId($adzoneId)
33
+    {
34
+        $this->adzoneId = $adzoneId;
35
+        $this->apiParas["adzone_id"] = $adzoneId;
36
+    }
37 37
 
38
-	public function getAdzoneId()
39
-	{
40
-		return $this->adzoneId;
41
-	}
38
+    public function getAdzoneId()
39
+    {
40
+        return $this->adzoneId;
41
+    }
42 42
 
43
-	public function setPageNum($pageNum)
44
-	{
45
-		$this->pageNum = $pageNum;
46
-		$this->apiParas["page_num"] = $pageNum;
47
-	}
43
+    public function setPageNum($pageNum)
44
+    {
45
+        $this->pageNum = $pageNum;
46
+        $this->apiParas["page_num"] = $pageNum;
47
+    }
48 48
 
49
-	public function getPageNum()
50
-	{
51
-		return $this->pageNum;
52
-	}
49
+    public function getPageNum()
50
+    {
51
+        return $this->pageNum;
52
+    }
53 53
 
54
-	public function setPageSize($pageSize)
55
-	{
56
-		$this->pageSize = $pageSize;
57
-		$this->apiParas["page_size"] = $pageSize;
58
-	}
54
+    public function setPageSize($pageSize)
55
+    {
56
+        $this->pageSize = $pageSize;
57
+        $this->apiParas["page_size"] = $pageSize;
58
+    }
59 59
 
60
-	public function getPageSize()
61
-	{
62
-		return $this->pageSize;
63
-	}
60
+    public function getPageSize()
61
+    {
62
+        return $this->pageSize;
63
+    }
64 64
 
65
-	public function setPromotionId($promotionId)
66
-	{
67
-		$this->promotionId = $promotionId;
68
-		$this->apiParas["promotion_id"] = $promotionId;
69
-	}
65
+    public function setPromotionId($promotionId)
66
+    {
67
+        $this->promotionId = $promotionId;
68
+        $this->apiParas["promotion_id"] = $promotionId;
69
+    }
70 70
 
71
-	public function getPromotionId()
72
-	{
73
-		return $this->promotionId;
74
-	}
71
+    public function getPromotionId()
72
+    {
73
+        return $this->promotionId;
74
+    }
75 75
 
76
-	public function getApiMethodName()
77
-	{
78
-		return "taobao.tbk.dg.optimus.promotion";
79
-	}
76
+    public function getApiMethodName()
77
+    {
78
+        return "taobao.tbk.dg.optimus.promotion";
79
+    }
80 80
 	
81
-	public function getApiParas()
82
-	{
83
-		return $this->apiParas;
84
-	}
81
+    public function getApiParas()
82
+    {
83
+        return $this->apiParas;
84
+    }
85 85
 	
86
-	public function check()
87
-	{
86
+    public function check()
87
+    {
88 88
 		
89
-		RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId");
90
-		RequestCheckUtil::checkMaxValue($this->pageSize,10,"pageSize");
91
-		RequestCheckUtil::checkNotNull($this->promotionId,"promotionId");
92
-	}
89
+        RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId");
90
+        RequestCheckUtil::checkMaxValue($this->pageSize,10,"pageSize");
91
+        RequestCheckUtil::checkNotNull($this->promotionId,"promotionId");
92
+    }
93 93
 	
94
-	public function putOtherTextParam($key, $value) {
95
-		$this->apiParas[$key] = $value;
96
-		$this->$key = $value;
97
-	}
94
+    public function putOtherTextParam($key, $value) {
95
+        $this->apiParas[$key] = $value;
96
+        $this->$key = $value;
97
+    }
98 98
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,9 +86,9 @@
 block discarded – undo
86 86
 	public function check()
87 87
 	{
88 88
 		
89
-		RequestCheckUtil::checkNotNull($this->adzoneId,"adzoneId");
90
-		RequestCheckUtil::checkMaxValue($this->pageSize,10,"pageSize");
91
-		RequestCheckUtil::checkNotNull($this->promotionId,"promotionId");
89
+		RequestCheckUtil::checkNotNull($this->adzoneId, "adzoneId");
90
+		RequestCheckUtil::checkMaxValue($this->pageSize, 10, "pageSize");
91
+		RequestCheckUtil::checkNotNull($this->promotionId, "promotionId");
92 92
 	}
93 93
 	
94 94
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/FilesGetRequest.php 2 patches
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -7,75 +7,75 @@
 block discarded – undo
7 7
  */
8 8
 class FilesGetRequest
9 9
 {
10
-	/** 
11
-	 * 搜索结束时间
12
-	 **/
13
-	private $endDate;
10
+    /** 
11
+     * 搜索结束时间
12
+     **/
13
+    private $endDate;
14 14
 	
15
-	/** 
16
-	 * 搜索开始时间
17
-	 **/
18
-	private $startDate;
15
+    /** 
16
+     * 搜索开始时间
17
+     **/
18
+    private $startDate;
19 19
 	
20
-	/** 
21
-	 * 下载链接状态。1:未下载。2:已下载
22
-	 **/
23
-	private $status;
20
+    /** 
21
+     * 下载链接状态。1:未下载。2:已下载
22
+     **/
23
+    private $status;
24 24
 	
25
-	private $apiParas = array();
25
+    private $apiParas = array();
26 26
 	
27
-	public function setEndDate($endDate)
28
-	{
29
-		$this->endDate = $endDate;
30
-		$this->apiParas["end_date"] = $endDate;
31
-	}
27
+    public function setEndDate($endDate)
28
+    {
29
+        $this->endDate = $endDate;
30
+        $this->apiParas["end_date"] = $endDate;
31
+    }
32 32
 
33
-	public function getEndDate()
34
-	{
35
-		return $this->endDate;
36
-	}
33
+    public function getEndDate()
34
+    {
35
+        return $this->endDate;
36
+    }
37 37
 
38
-	public function setStartDate($startDate)
39
-	{
40
-		$this->startDate = $startDate;
41
-		$this->apiParas["start_date"] = $startDate;
42
-	}
38
+    public function setStartDate($startDate)
39
+    {
40
+        $this->startDate = $startDate;
41
+        $this->apiParas["start_date"] = $startDate;
42
+    }
43 43
 
44
-	public function getStartDate()
45
-	{
46
-		return $this->startDate;
47
-	}
44
+    public function getStartDate()
45
+    {
46
+        return $this->startDate;
47
+    }
48 48
 
49
-	public function setStatus($status)
50
-	{
51
-		$this->status = $status;
52
-		$this->apiParas["status"] = $status;
53
-	}
49
+    public function setStatus($status)
50
+    {
51
+        $this->status = $status;
52
+        $this->apiParas["status"] = $status;
53
+    }
54 54
 
55
-	public function getStatus()
56
-	{
57
-		return $this->status;
58
-	}
55
+    public function getStatus()
56
+    {
57
+        return $this->status;
58
+    }
59 59
 
60
-	public function getApiMethodName()
61
-	{
62
-		return "taobao.files.get";
63
-	}
60
+    public function getApiMethodName()
61
+    {
62
+        return "taobao.files.get";
63
+    }
64 64
 	
65
-	public function getApiParas()
66
-	{
67
-		return $this->apiParas;
68
-	}
65
+    public function getApiParas()
66
+    {
67
+        return $this->apiParas;
68
+    }
69 69
 	
70
-	public function check()
71
-	{
70
+    public function check()
71
+    {
72 72
 		
73
-		RequestCheckUtil::checkNotNull($this->endDate,"endDate");
74
-		RequestCheckUtil::checkNotNull($this->startDate,"startDate");
75
-	}
73
+        RequestCheckUtil::checkNotNull($this->endDate,"endDate");
74
+        RequestCheckUtil::checkNotNull($this->startDate,"startDate");
75
+    }
76 76
 	
77
-	public function putOtherTextParam($key, $value) {
78
-		$this->apiParas[$key] = $value;
79
-		$this->$key = $value;
80
-	}
77
+    public function putOtherTextParam($key, $value) {
78
+        $this->apiParas[$key] = $value;
79
+        $this->$key = $value;
80
+    }
81 81
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,8 @@
 block discarded – undo
70 70
 	public function check()
71 71
 	{
72 72
 		
73
-		RequestCheckUtil::checkNotNull($this->endDate,"endDate");
74
-		RequestCheckUtil::checkNotNull($this->startDate,"startDate");
73
+		RequestCheckUtil::checkNotNull($this->endDate, "endDate");
74
+		RequestCheckUtil::checkNotNull($this->startDate, "startDate");
75 75
 	}
76 76
 	
77 77
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkScPublisherInfoGetRequest.php 2 patches
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -7,139 +7,139 @@
 block discarded – undo
7 7
  */
8 8
 class TbkScPublisherInfoGetRequest
9 9
 {
10
-	/** 
11
-	 * 淘宝客外部用户标记,如自身系统账户ID;微信ID等
12
-	 **/
13
-	private $externalId;
10
+    /** 
11
+     * 淘宝客外部用户标记,如自身系统账户ID;微信ID等
12
+     **/
13
+    private $externalId;
14 14
 	
15
-	/** 
16
-	 * 类型,必选 1:渠道信息;2:会员信息
17
-	 **/
18
-	private $infoType;
15
+    /** 
16
+     * 类型,必选 1:渠道信息;2:会员信息
17
+     **/
18
+    private $infoType;
19 19
 	
20
-	/** 
21
-	 * 第几页
22
-	 **/
23
-	private $pageNo;
20
+    /** 
21
+     * 第几页
22
+     **/
23
+    private $pageNo;
24 24
 	
25
-	/** 
26
-	 * 每页大小
27
-	 **/
28
-	private $pageSize;
25
+    /** 
26
+     * 每页大小
27
+     **/
28
+    private $pageSize;
29 29
 	
30
-	/** 
31
-	 * 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可
32
-	 **/
33
-	private $relationApp;
30
+    /** 
31
+     * 备案的场景:common(通用备案),etao(一淘备案),minietao(一淘小程序备案),offlineShop(线下门店备案),offlinePerson(线下个人备案)。如不填默认common。查询会员信息只需填写common即可
32
+     **/
33
+    private $relationApp;
34 34
 	
35
-	/** 
36
-	 * 渠道独占 - 渠道关系ID
37
-	 **/
38
-	private $relationId;
35
+    /** 
36
+     * 渠道独占 - 渠道关系ID
37
+     **/
38
+    private $relationId;
39 39
 	
40
-	/** 
41
-	 * 会员独占 - 会员运营ID
42
-	 **/
43
-	private $specialId;
40
+    /** 
41
+     * 会员独占 - 会员运营ID
42
+     **/
43
+    private $specialId;
44 44
 	
45
-	private $apiParas = array();
45
+    private $apiParas = array();
46 46
 	
47
-	public function setExternalId($externalId)
48
-	{
49
-		$this->externalId = $externalId;
50
-		$this->apiParas["external_id"] = $externalId;
51
-	}
47
+    public function setExternalId($externalId)
48
+    {
49
+        $this->externalId = $externalId;
50
+        $this->apiParas["external_id"] = $externalId;
51
+    }
52 52
 
53
-	public function getExternalId()
54
-	{
55
-		return $this->externalId;
56
-	}
53
+    public function getExternalId()
54
+    {
55
+        return $this->externalId;
56
+    }
57 57
 
58
-	public function setInfoType($infoType)
59
-	{
60
-		$this->infoType = $infoType;
61
-		$this->apiParas["info_type"] = $infoType;
62
-	}
58
+    public function setInfoType($infoType)
59
+    {
60
+        $this->infoType = $infoType;
61
+        $this->apiParas["info_type"] = $infoType;
62
+    }
63 63
 
64
-	public function getInfoType()
65
-	{
66
-		return $this->infoType;
67
-	}
64
+    public function getInfoType()
65
+    {
66
+        return $this->infoType;
67
+    }
68 68
 
69
-	public function setPageNo($pageNo)
70
-	{
71
-		$this->pageNo = $pageNo;
72
-		$this->apiParas["page_no"] = $pageNo;
73
-	}
69
+    public function setPageNo($pageNo)
70
+    {
71
+        $this->pageNo = $pageNo;
72
+        $this->apiParas["page_no"] = $pageNo;
73
+    }
74 74
 
75
-	public function getPageNo()
76
-	{
77
-		return $this->pageNo;
78
-	}
75
+    public function getPageNo()
76
+    {
77
+        return $this->pageNo;
78
+    }
79 79
 
80
-	public function setPageSize($pageSize)
81
-	{
82
-		$this->pageSize = $pageSize;
83
-		$this->apiParas["page_size"] = $pageSize;
84
-	}
80
+    public function setPageSize($pageSize)
81
+    {
82
+        $this->pageSize = $pageSize;
83
+        $this->apiParas["page_size"] = $pageSize;
84
+    }
85 85
 
86
-	public function getPageSize()
87
-	{
88
-		return $this->pageSize;
89
-	}
86
+    public function getPageSize()
87
+    {
88
+        return $this->pageSize;
89
+    }
90 90
 
91
-	public function setRelationApp($relationApp)
92
-	{
93
-		$this->relationApp = $relationApp;
94
-		$this->apiParas["relation_app"] = $relationApp;
95
-	}
91
+    public function setRelationApp($relationApp)
92
+    {
93
+        $this->relationApp = $relationApp;
94
+        $this->apiParas["relation_app"] = $relationApp;
95
+    }
96 96
 
97
-	public function getRelationApp()
98
-	{
99
-		return $this->relationApp;
100
-	}
97
+    public function getRelationApp()
98
+    {
99
+        return $this->relationApp;
100
+    }
101 101
 
102
-	public function setRelationId($relationId)
103
-	{
104
-		$this->relationId = $relationId;
105
-		$this->apiParas["relation_id"] = $relationId;
106
-	}
102
+    public function setRelationId($relationId)
103
+    {
104
+        $this->relationId = $relationId;
105
+        $this->apiParas["relation_id"] = $relationId;
106
+    }
107 107
 
108
-	public function getRelationId()
109
-	{
110
-		return $this->relationId;
111
-	}
108
+    public function getRelationId()
109
+    {
110
+        return $this->relationId;
111
+    }
112 112
 
113
-	public function setSpecialId($specialId)
114
-	{
115
-		$this->specialId = $specialId;
116
-		$this->apiParas["special_id"] = $specialId;
117
-	}
113
+    public function setSpecialId($specialId)
114
+    {
115
+        $this->specialId = $specialId;
116
+        $this->apiParas["special_id"] = $specialId;
117
+    }
118 118
 
119
-	public function getSpecialId()
120
-	{
121
-		return $this->specialId;
122
-	}
119
+    public function getSpecialId()
120
+    {
121
+        return $this->specialId;
122
+    }
123 123
 
124
-	public function getApiMethodName()
125
-	{
126
-		return "taobao.tbk.sc.publisher.info.get";
127
-	}
124
+    public function getApiMethodName()
125
+    {
126
+        return "taobao.tbk.sc.publisher.info.get";
127
+    }
128 128
 	
129
-	public function getApiParas()
130
-	{
131
-		return $this->apiParas;
132
-	}
129
+    public function getApiParas()
130
+    {
131
+        return $this->apiParas;
132
+    }
133 133
 	
134
-	public function check()
135
-	{
134
+    public function check()
135
+    {
136 136
 		
137
-		RequestCheckUtil::checkNotNull($this->infoType,"infoType");
138
-		RequestCheckUtil::checkNotNull($this->relationApp,"relationApp");
139
-	}
137
+        RequestCheckUtil::checkNotNull($this->infoType,"infoType");
138
+        RequestCheckUtil::checkNotNull($this->relationApp,"relationApp");
139
+    }
140 140
 	
141
-	public function putOtherTextParam($key, $value) {
142
-		$this->apiParas[$key] = $value;
143
-		$this->$key = $value;
144
-	}
141
+    public function putOtherTextParam($key, $value) {
142
+        $this->apiParas[$key] = $value;
143
+        $this->$key = $value;
144
+    }
145 145
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -134,8 +134,8 @@
 block discarded – undo
134 134
 	public function check()
135 135
 	{
136 136
 		
137
-		RequestCheckUtil::checkNotNull($this->infoType,"infoType");
138
-		RequestCheckUtil::checkNotNull($this->relationApp,"relationApp");
137
+		RequestCheckUtil::checkNotNull($this->infoType, "infoType");
138
+		RequestCheckUtil::checkNotNull($this->relationApp, "relationApp");
139 139
 	}
140 140
 	
141 141
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkRelationRefundRequest.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -7,41 +7,41 @@
 block discarded – undo
7 7
  */
8 8
 class TbkRelationRefundRequest
9 9
 {
10
-	/** 
11
-	 * 参数option
12
-	 **/
13
-	private $searchOption;
10
+    /** 
11
+     * 参数option
12
+     **/
13
+    private $searchOption;
14 14
 	
15
-	private $apiParas = array();
15
+    private $apiParas = array();
16 16
 	
17
-	public function setSearchOption($searchOption)
18
-	{
19
-		$this->searchOption = $searchOption;
20
-		$this->apiParas["search_option"] = $searchOption;
21
-	}
17
+    public function setSearchOption($searchOption)
18
+    {
19
+        $this->searchOption = $searchOption;
20
+        $this->apiParas["search_option"] = $searchOption;
21
+    }
22 22
 
23
-	public function getSearchOption()
24
-	{
25
-		return $this->searchOption;
26
-	}
23
+    public function getSearchOption()
24
+    {
25
+        return $this->searchOption;
26
+    }
27 27
 
28
-	public function getApiMethodName()
29
-	{
30
-		return "taobao.tbk.relation.refund";
31
-	}
28
+    public function getApiMethodName()
29
+    {
30
+        return "taobao.tbk.relation.refund";
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
 }
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkScInvitecodeGetRequest.php 2 patches
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -7,75 +7,75 @@
 block discarded – undo
7 7
  */
8 8
 class TbkScInvitecodeGetRequest
9 9
 {
10
-	/** 
11
-	 * 邀请码类型,1 - 渠道邀请,2 - 渠道裂变,3 -会员邀请
12
-	 **/
13
-	private $codeType;
10
+    /** 
11
+     * 邀请码类型,1 - 渠道邀请,2 - 渠道裂变,3 -会员邀请
12
+     **/
13
+    private $codeType;
14 14
 	
15
-	/** 
16
-	 * 渠道推广的物料类型
17
-	 **/
18
-	private $relationApp;
15
+    /** 
16
+     * 渠道推广的物料类型
17
+     **/
18
+    private $relationApp;
19 19
 	
20
-	/** 
21
-	 * 渠道关系ID
22
-	 **/
23
-	private $relationId;
20
+    /** 
21
+     * 渠道关系ID
22
+     **/
23
+    private $relationId;
24 24
 	
25
-	private $apiParas = array();
25
+    private $apiParas = array();
26 26
 	
27
-	public function setCodeType($codeType)
28
-	{
29
-		$this->codeType = $codeType;
30
-		$this->apiParas["code_type"] = $codeType;
31
-	}
27
+    public function setCodeType($codeType)
28
+    {
29
+        $this->codeType = $codeType;
30
+        $this->apiParas["code_type"] = $codeType;
31
+    }
32 32
 
33
-	public function getCodeType()
34
-	{
35
-		return $this->codeType;
36
-	}
33
+    public function getCodeType()
34
+    {
35
+        return $this->codeType;
36
+    }
37 37
 
38
-	public function setRelationApp($relationApp)
39
-	{
40
-		$this->relationApp = $relationApp;
41
-		$this->apiParas["relation_app"] = $relationApp;
42
-	}
38
+    public function setRelationApp($relationApp)
39
+    {
40
+        $this->relationApp = $relationApp;
41
+        $this->apiParas["relation_app"] = $relationApp;
42
+    }
43 43
 
44
-	public function getRelationApp()
45
-	{
46
-		return $this->relationApp;
47
-	}
44
+    public function getRelationApp()
45
+    {
46
+        return $this->relationApp;
47
+    }
48 48
 
49
-	public function setRelationId($relationId)
50
-	{
51
-		$this->relationId = $relationId;
52
-		$this->apiParas["relation_id"] = $relationId;
53
-	}
49
+    public function setRelationId($relationId)
50
+    {
51
+        $this->relationId = $relationId;
52
+        $this->apiParas["relation_id"] = $relationId;
53
+    }
54 54
 
55
-	public function getRelationId()
56
-	{
57
-		return $this->relationId;
58
-	}
55
+    public function getRelationId()
56
+    {
57
+        return $this->relationId;
58
+    }
59 59
 
60
-	public function getApiMethodName()
61
-	{
62
-		return "taobao.tbk.sc.invitecode.get";
63
-	}
60
+    public function getApiMethodName()
61
+    {
62
+        return "taobao.tbk.sc.invitecode.get";
63
+    }
64 64
 	
65
-	public function getApiParas()
66
-	{
67
-		return $this->apiParas;
68
-	}
65
+    public function getApiParas()
66
+    {
67
+        return $this->apiParas;
68
+    }
69 69
 	
70
-	public function check()
71
-	{
70
+    public function check()
71
+    {
72 72
 		
73
-		RequestCheckUtil::checkNotNull($this->codeType,"codeType");
74
-		RequestCheckUtil::checkNotNull($this->relationApp,"relationApp");
75
-	}
73
+        RequestCheckUtil::checkNotNull($this->codeType,"codeType");
74
+        RequestCheckUtil::checkNotNull($this->relationApp,"relationApp");
75
+    }
76 76
 	
77
-	public function putOtherTextParam($key, $value) {
78
-		$this->apiParas[$key] = $value;
79
-		$this->$key = $value;
80
-	}
77
+    public function putOtherTextParam($key, $value) {
78
+        $this->apiParas[$key] = $value;
79
+        $this->$key = $value;
80
+    }
81 81
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,8 @@
 block discarded – undo
70 70
 	public function check()
71 71
 	{
72 72
 		
73
-		RequestCheckUtil::checkNotNull($this->codeType,"codeType");
74
-		RequestCheckUtil::checkNotNull($this->relationApp,"relationApp");
73
+		RequestCheckUtil::checkNotNull($this->codeType, "codeType");
74
+		RequestCheckUtil::checkNotNull($this->relationApp, "relationApp");
75 75
 	}
76 76
 	
77 77
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkShopRecommendGetRequest.php 2 patches
Indentation   +70 added lines, -70 removed lines patch added patch discarded remove patch
@@ -7,91 +7,91 @@
 block discarded – undo
7 7
  */
8 8
 class TbkShopRecommendGetRequest
9 9
 {
10
-	/** 
11
-	 * 返回数量,默认20,最大值40
12
-	 **/
13
-	private $count;
10
+    /** 
11
+     * 返回数量,默认20,最大值40
12
+     **/
13
+    private $count;
14 14
 	
15
-	/** 
16
-	 * 需返回的字段列表
17
-	 **/
18
-	private $fields;
15
+    /** 
16
+     * 需返回的字段列表
17
+     **/
18
+    private $fields;
19 19
 	
20
-	/** 
21
-	 * 链接形式:1:PC,2:无线,默认:1
22
-	 **/
23
-	private $platform;
20
+    /** 
21
+     * 链接形式:1:PC,2:无线,默认:1
22
+     **/
23
+    private $platform;
24 24
 	
25
-	/** 
26
-	 * 卖家Id
27
-	 **/
28
-	private $userId;
25
+    /** 
26
+     * 卖家Id
27
+     **/
28
+    private $userId;
29 29
 	
30
-	private $apiParas = array();
30
+    private $apiParas = array();
31 31
 	
32
-	public function setCount($count)
33
-	{
34
-		$this->count = $count;
35
-		$this->apiParas["count"] = $count;
36
-	}
32
+    public function setCount($count)
33
+    {
34
+        $this->count = $count;
35
+        $this->apiParas["count"] = $count;
36
+    }
37 37
 
38
-	public function getCount()
39
-	{
40
-		return $this->count;
41
-	}
38
+    public function getCount()
39
+    {
40
+        return $this->count;
41
+    }
42 42
 
43
-	public function setFields($fields)
44
-	{
45
-		$this->fields = $fields;
46
-		$this->apiParas["fields"] = $fields;
47
-	}
43
+    public function setFields($fields)
44
+    {
45
+        $this->fields = $fields;
46
+        $this->apiParas["fields"] = $fields;
47
+    }
48 48
 
49
-	public function getFields()
50
-	{
51
-		return $this->fields;
52
-	}
49
+    public function getFields()
50
+    {
51
+        return $this->fields;
52
+    }
53 53
 
54
-	public function setPlatform($platform)
55
-	{
56
-		$this->platform = $platform;
57
-		$this->apiParas["platform"] = $platform;
58
-	}
54
+    public function setPlatform($platform)
55
+    {
56
+        $this->platform = $platform;
57
+        $this->apiParas["platform"] = $platform;
58
+    }
59 59
 
60
-	public function getPlatform()
61
-	{
62
-		return $this->platform;
63
-	}
60
+    public function getPlatform()
61
+    {
62
+        return $this->platform;
63
+    }
64 64
 
65
-	public function setUserId($userId)
66
-	{
67
-		$this->userId = $userId;
68
-		$this->apiParas["user_id"] = $userId;
69
-	}
65
+    public function setUserId($userId)
66
+    {
67
+        $this->userId = $userId;
68
+        $this->apiParas["user_id"] = $userId;
69
+    }
70 70
 
71
-	public function getUserId()
72
-	{
73
-		return $this->userId;
74
-	}
71
+    public function getUserId()
72
+    {
73
+        return $this->userId;
74
+    }
75 75
 
76
-	public function getApiMethodName()
77
-	{
78
-		return "taobao.tbk.shop.recommend.get";
79
-	}
76
+    public function getApiMethodName()
77
+    {
78
+        return "taobao.tbk.shop.recommend.get";
79
+    }
80 80
 	
81
-	public function getApiParas()
82
-	{
83
-		return $this->apiParas;
84
-	}
81
+    public function getApiParas()
82
+    {
83
+        return $this->apiParas;
84
+    }
85 85
 	
86
-	public function check()
87
-	{
86
+    public function check()
87
+    {
88 88
 		
89
-		RequestCheckUtil::checkNotNull($this->fields,"fields");
90
-		RequestCheckUtil::checkNotNull($this->userId,"userId");
91
-	}
89
+        RequestCheckUtil::checkNotNull($this->fields,"fields");
90
+        RequestCheckUtil::checkNotNull($this->userId,"userId");
91
+    }
92 92
 	
93
-	public function putOtherTextParam($key, $value) {
94
-		$this->apiParas[$key] = $value;
95
-		$this->$key = $value;
96
-	}
93
+    public function putOtherTextParam($key, $value) {
94
+        $this->apiParas[$key] = $value;
95
+        $this->$key = $value;
96
+    }
97 97
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@
 block discarded – undo
86 86
 	public function check()
87 87
 	{
88 88
 		
89
-		RequestCheckUtil::checkNotNull($this->fields,"fields");
90
-		RequestCheckUtil::checkNotNull($this->userId,"userId");
89
+		RequestCheckUtil::checkNotNull($this->fields, "fields");
90
+		RequestCheckUtil::checkNotNull($this->userId, "userId");
91 91
 	}
92 92
 	
93 93
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.