Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
src/service/taobao/bin/top/request/HttpdnsGetRequest.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -8,25 +8,25 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/JuItemsSearchRequest.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 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
 }
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/AppipGetRequest.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -8,25 +8,25 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkActivityInfoGetRequest.php 2 patches
Indentation   +83 added lines, -83 removed lines patch added patch discarded remove patch
@@ -7,107 +7,107 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,8 +102,8 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkDgNewuserOrderSumRequest.php 2 patches
Indentation   +99 added lines, -99 removed lines patch added patch discarded remove patch
@@ -7,126 +7,126 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -118,11 +118,11 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TopAuthTokenCreateRequest.php 2 patches
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -7,58 +7,58 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/OpenuidGetBymixnickRequest.php 2 patches
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -7,42 +7,42 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkCouponGetRequest.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -7,73 +7,73 @@
 block discarded – undo
7 7
  */
8 8
 class TbkCouponGetRequest
9 9
 {
10
-	/** 
11
-	 * 券ID
12
-	 **/
13
-	private $activityId;
10
+    /** 
11
+     * 券ID
12
+     **/
13
+    private $activityId;
14 14
 	
15
-	/** 
16
-	 * 商品ID
17
-	 **/
18
-	private $itemId;
15
+    /** 
16
+     * 商品ID
17
+     **/
18
+    private $itemId;
19 19
 	
20
-	/** 
21
-	 * 带券ID与商品ID的加密串
22
-	 **/
23
-	private $me;
20
+    /** 
21
+     * 带券ID与商品ID的加密串
22
+     **/
23
+    private $me;
24 24
 	
25
-	private $apiParas = array();
25
+    private $apiParas = array();
26 26
 	
27
-	public function setActivityId($activityId)
28
-	{
29
-		$this->activityId = $activityId;
30
-		$this->apiParas["activity_id"] = $activityId;
31
-	}
27
+    public function setActivityId($activityId)
28
+    {
29
+        $this->activityId = $activityId;
30
+        $this->apiParas["activity_id"] = $activityId;
31
+    }
32 32
 
33
-	public function getActivityId()
34
-	{
35
-		return $this->activityId;
36
-	}
33
+    public function getActivityId()
34
+    {
35
+        return $this->activityId;
36
+    }
37 37
 
38
-	public function setItemId($itemId)
39
-	{
40
-		$this->itemId = $itemId;
41
-		$this->apiParas["item_id"] = $itemId;
42
-	}
38
+    public function setItemId($itemId)
39
+    {
40
+        $this->itemId = $itemId;
41
+        $this->apiParas["item_id"] = $itemId;
42
+    }
43 43
 
44
-	public function getItemId()
45
-	{
46
-		return $this->itemId;
47
-	}
44
+    public function getItemId()
45
+    {
46
+        return $this->itemId;
47
+    }
48 48
 
49
-	public function setMe($me)
50
-	{
51
-		$this->me = $me;
52
-		$this->apiParas["me"] = $me;
53
-	}
49
+    public function setMe($me)
50
+    {
51
+        $this->me = $me;
52
+        $this->apiParas["me"] = $me;
53
+    }
54 54
 
55
-	public function getMe()
56
-	{
57
-		return $this->me;
58
-	}
55
+    public function getMe()
56
+    {
57
+        return $this->me;
58
+    }
59 59
 
60
-	public function getApiMethodName()
61
-	{
62
-		return "taobao.tbk.coupon.get";
63
-	}
60
+    public function getApiMethodName()
61
+    {
62
+        return "taobao.tbk.coupon.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
-	}
73
+    }
74 74
 	
75
-	public function putOtherTextParam($key, $value) {
76
-		$this->apiParas[$key] = $value;
77
-		$this->$key = $value;
78
-	}
75
+    public function putOtherTextParam($key, $value) {
76
+        $this->apiParas[$key] = $value;
77
+        $this->$key = $value;
78
+    }
79 79
 }
Please login to merge, or discard this patch.
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.