Passed
Push — v6 ( 0ec70f...32f4f3 )
by 光春
03:48
created
src/service/taobao/bin/top/request/OpenuidChangeRequest.php 2 patches
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,59 +7,59 @@
 block discarded – undo
7 7
  */
8 8
 class OpenuidChangeRequest
9 9
 {
10
-	/** 
11
-	 * openUid
12
-	 **/
13
-	private $openUid;
10
+    /** 
11
+     * openUid
12
+     **/
13
+    private $openUid;
14 14
 	
15
-	/** 
16
-	 * 转换到的appkey
17
-	 **/
18
-	private $targetAppKey;
15
+    /** 
16
+     * 转换到的appkey
17
+     **/
18
+    private $targetAppKey;
19 19
 	
20
-	private $apiParas = array();
20
+    private $apiParas = array();
21 21
 	
22
-	public function setOpenUid($openUid)
23
-	{
24
-		$this->openUid = $openUid;
25
-		$this->apiParas["open_uid"] = $openUid;
26
-	}
22
+    public function setOpenUid($openUid)
23
+    {
24
+        $this->openUid = $openUid;
25
+        $this->apiParas["open_uid"] = $openUid;
26
+    }
27 27
 
28
-	public function getOpenUid()
29
-	{
30
-		return $this->openUid;
31
-	}
28
+    public function getOpenUid()
29
+    {
30
+        return $this->openUid;
31
+    }
32 32
 
33
-	public function setTargetAppKey($targetAppKey)
34
-	{
35
-		$this->targetAppKey = $targetAppKey;
36
-		$this->apiParas["target_app_key"] = $targetAppKey;
37
-	}
33
+    public function setTargetAppKey($targetAppKey)
34
+    {
35
+        $this->targetAppKey = $targetAppKey;
36
+        $this->apiParas["target_app_key"] = $targetAppKey;
37
+    }
38 38
 
39
-	public function getTargetAppKey()
40
-	{
41
-		return $this->targetAppKey;
42
-	}
39
+    public function getTargetAppKey()
40
+    {
41
+        return $this->targetAppKey;
42
+    }
43 43
 
44
-	public function getApiMethodName()
45
-	{
46
-		return "taobao.openuid.change";
47
-	}
44
+    public function getApiMethodName()
45
+    {
46
+        return "taobao.openuid.change";
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->openUid,"openUid");
58
-		RequestCheckUtil::checkNotNull($this->targetAppKey,"targetAppKey");
59
-	}
57
+        RequestCheckUtil::checkNotNull($this->openUid,"openUid");
58
+        RequestCheckUtil::checkNotNull($this->targetAppKey,"targetAppKey");
59
+    }
60 60
 	
61
-	public function putOtherTextParam($key, $value) {
62
-		$this->apiParas[$key] = $value;
63
-		$this->$key = $value;
64
-	}
61
+    public function putOtherTextParam($key, $value) {
62
+        $this->apiParas[$key] = $value;
63
+        $this->$key = $value;
64
+    }
65 65
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@
 block discarded – undo
54 54
 	public function check()
55 55
 	{
56 56
 		
57
-		RequestCheckUtil::checkNotNull($this->openUid,"openUid");
58
-		RequestCheckUtil::checkNotNull($this->targetAppKey,"targetAppKey");
57
+		RequestCheckUtil::checkNotNull($this->openUid, "openUid");
58
+		RequestCheckUtil::checkNotNull($this->targetAppKey, "targetAppKey");
59 59
 	}
60 60
 	
61 61
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkScPublisherInfoSaveRequest.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 TbkScPublisherInfoSaveRequest
9 9
 {
10
-	/** 
11
-	 * 类型,必选 默认为1:
12
-	 **/
13
-	private $infoType;
10
+    /** 
11
+     * 类型,必选 默认为1:
12
+     **/
13
+    private $infoType;
14 14
 	
15
-	/** 
16
-	 * 淘宝客邀请渠道或会员的邀请码
17
-	 **/
18
-	private $inviterCode;
15
+    /** 
16
+     * 淘宝客邀请渠道或会员的邀请码
17
+     **/
18
+    private $inviterCode;
19 19
 	
20
-	/** 
21
-	 * 媒体侧渠道备注
22
-	 **/
23
-	private $note;
20
+    /** 
21
+     * 媒体侧渠道备注
22
+     **/
23
+    private $note;
24 24
 	
25
-	/** 
26
-	 * 渠道备案 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他
27
-	 **/
28
-	private $offlineScene;
25
+    /** 
26
+     * 渠道备案 - 线下场景信息,1 - 门店,2- 学校,3 - 工厂,4 - 其他
27
+     **/
28
+    private $offlineScene;
29 29
 	
30
-	/** 
31
-	 * 渠道备案 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他
32
-	 **/
33
-	private $onlineScene;
30
+    /** 
31
+     * 渠道备案 - 线上场景信息,1 - 微信群,2- QQ群,3 - 其他
32
+     **/
33
+    private $onlineScene;
34 34
 	
35
-	/** 
36
-	 * 线下备案注册信息,字段包含: 电话号码(phoneNumber,必填),省(province,必填),市(city,必填),区县街道(location,必填),详细地址(detailAddress,必填),经营类型(career,线下个人必填),店铺类型(shopType,线下店铺必填),店铺名称(shopName,线下店铺必填),店铺证书类型(shopCertifyType,线下店铺选填),店铺证书编号(certifyNumber,线下店铺选填)
37
-	 **/
38
-	private $registerInfo;
35
+    /** 
36
+     * 线下备案注册信息,字段包含: 电话号码(phoneNumber,必填),省(province,必填),市(city,必填),区县街道(location,必填),详细地址(detailAddress,必填),经营类型(career,线下个人必填),店铺类型(shopType,线下店铺必填),店铺名称(shopName,线下店铺必填),店铺证书类型(shopCertifyType,线下店铺选填),店铺证书编号(certifyNumber,线下店铺选填)
37
+     **/
38
+    private $registerInfo;
39 39
 	
40
-	/** 
41
-	 * 渠道备案 - 来源,取链接的来源
42
-	 **/
43
-	private $relationFrom;
40
+    /** 
41
+     * 渠道备案 - 来源,取链接的来源
42
+     **/
43
+    private $relationFrom;
44 44
 	
45
-	private $apiParas = array();
45
+    private $apiParas = array();
46 46
 	
47
-	public function setInfoType($infoType)
48
-	{
49
-		$this->infoType = $infoType;
50
-		$this->apiParas["info_type"] = $infoType;
51
-	}
47
+    public function setInfoType($infoType)
48
+    {
49
+        $this->infoType = $infoType;
50
+        $this->apiParas["info_type"] = $infoType;
51
+    }
52 52
 
53
-	public function getInfoType()
54
-	{
55
-		return $this->infoType;
56
-	}
53
+    public function getInfoType()
54
+    {
55
+        return $this->infoType;
56
+    }
57 57
 
58
-	public function setInviterCode($inviterCode)
59
-	{
60
-		$this->inviterCode = $inviterCode;
61
-		$this->apiParas["inviter_code"] = $inviterCode;
62
-	}
58
+    public function setInviterCode($inviterCode)
59
+    {
60
+        $this->inviterCode = $inviterCode;
61
+        $this->apiParas["inviter_code"] = $inviterCode;
62
+    }
63 63
 
64
-	public function getInviterCode()
65
-	{
66
-		return $this->inviterCode;
67
-	}
64
+    public function getInviterCode()
65
+    {
66
+        return $this->inviterCode;
67
+    }
68 68
 
69
-	public function setNote($note)
70
-	{
71
-		$this->note = $note;
72
-		$this->apiParas["note"] = $note;
73
-	}
69
+    public function setNote($note)
70
+    {
71
+        $this->note = $note;
72
+        $this->apiParas["note"] = $note;
73
+    }
74 74
 
75
-	public function getNote()
76
-	{
77
-		return $this->note;
78
-	}
75
+    public function getNote()
76
+    {
77
+        return $this->note;
78
+    }
79 79
 
80
-	public function setOfflineScene($offlineScene)
81
-	{
82
-		$this->offlineScene = $offlineScene;
83
-		$this->apiParas["offline_scene"] = $offlineScene;
84
-	}
80
+    public function setOfflineScene($offlineScene)
81
+    {
82
+        $this->offlineScene = $offlineScene;
83
+        $this->apiParas["offline_scene"] = $offlineScene;
84
+    }
85 85
 
86
-	public function getOfflineScene()
87
-	{
88
-		return $this->offlineScene;
89
-	}
86
+    public function getOfflineScene()
87
+    {
88
+        return $this->offlineScene;
89
+    }
90 90
 
91
-	public function setOnlineScene($onlineScene)
92
-	{
93
-		$this->onlineScene = $onlineScene;
94
-		$this->apiParas["online_scene"] = $onlineScene;
95
-	}
91
+    public function setOnlineScene($onlineScene)
92
+    {
93
+        $this->onlineScene = $onlineScene;
94
+        $this->apiParas["online_scene"] = $onlineScene;
95
+    }
96 96
 
97
-	public function getOnlineScene()
98
-	{
99
-		return $this->onlineScene;
100
-	}
97
+    public function getOnlineScene()
98
+    {
99
+        return $this->onlineScene;
100
+    }
101 101
 
102
-	public function setRegisterInfo($registerInfo)
103
-	{
104
-		$this->registerInfo = $registerInfo;
105
-		$this->apiParas["register_info"] = $registerInfo;
106
-	}
102
+    public function setRegisterInfo($registerInfo)
103
+    {
104
+        $this->registerInfo = $registerInfo;
105
+        $this->apiParas["register_info"] = $registerInfo;
106
+    }
107 107
 
108
-	public function getRegisterInfo()
109
-	{
110
-		return $this->registerInfo;
111
-	}
108
+    public function getRegisterInfo()
109
+    {
110
+        return $this->registerInfo;
111
+    }
112 112
 
113
-	public function setRelationFrom($relationFrom)
114
-	{
115
-		$this->relationFrom = $relationFrom;
116
-		$this->apiParas["relation_from"] = $relationFrom;
117
-	}
113
+    public function setRelationFrom($relationFrom)
114
+    {
115
+        $this->relationFrom = $relationFrom;
116
+        $this->apiParas["relation_from"] = $relationFrom;
117
+    }
118 118
 
119
-	public function getRelationFrom()
120
-	{
121
-		return $this->relationFrom;
122
-	}
119
+    public function getRelationFrom()
120
+    {
121
+        return $this->relationFrom;
122
+    }
123 123
 
124
-	public function getApiMethodName()
125
-	{
126
-		return "taobao.tbk.sc.publisher.info.save";
127
-	}
124
+    public function getApiMethodName()
125
+    {
126
+        return "taobao.tbk.sc.publisher.info.save";
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->inviterCode,"inviterCode");
139
-	}
137
+        RequestCheckUtil::checkNotNull($this->infoType,"infoType");
138
+        RequestCheckUtil::checkNotNull($this->inviterCode,"inviterCode");
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->inviterCode,"inviterCode");
137
+		RequestCheckUtil::checkNotNull($this->infoType, "infoType");
138
+		RequestCheckUtil::checkNotNull($this->inviterCode, "inviterCode");
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/OpenuidGetBytradeRequest.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 OpenuidGetBytradeRequest
9 9
 {
10
-	/** 
11
-	 * 订单ID
12
-	 **/
13
-	private $tid;
10
+    /** 
11
+     * 订单ID
12
+     **/
13
+    private $tid;
14 14
 	
15
-	private $apiParas = array();
15
+    private $apiParas = array();
16 16
 	
17
-	public function setTid($tid)
18
-	{
19
-		$this->tid = $tid;
20
-		$this->apiParas["tid"] = $tid;
21
-	}
17
+    public function setTid($tid)
18
+    {
19
+        $this->tid = $tid;
20
+        $this->apiParas["tid"] = $tid;
21
+    }
22 22
 
23
-	public function getTid()
24
-	{
25
-		return $this->tid;
26
-	}
23
+    public function getTid()
24
+    {
25
+        return $this->tid;
26
+    }
27 27
 
28
-	public function getApiMethodName()
29
-	{
30
-		return "taobao.openuid.get.bytrade";
31
-	}
28
+    public function getApiMethodName()
29
+    {
30
+        return "taobao.openuid.get.bytrade";
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->tid,"tid");
42
-	}
41
+        RequestCheckUtil::checkNotNull($this->tid,"tid");
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->tid,"tid");
41
+		RequestCheckUtil::checkNotNull($this->tid, "tid");
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/TimeGetRequest.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 TimeGetRequest
9 9
 {
10 10
 	
11
-	private $apiParas = array();
11
+    private $apiParas = array();
12 12
 	
13
-	public function getApiMethodName()
14
-	{
15
-		return "taobao.time.get";
16
-	}
13
+    public function getApiMethodName()
14
+    {
15
+        return "taobao.time.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/TbkDgVegasSendReportRequest.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 TbkDgVegasSendReportRequest
9 9
 {
10
-	/** 
11
-	 * 2020双11大促活动id:1306
12
-	 **/
13
-	private $activityId;
10
+    /** 
11
+     * 2020双11大促活动id:1306
12
+     **/
13
+    private $activityId;
14 14
 	
15
-	/** 
16
-	 * 统计日期
17
-	 **/
18
-	private $bizDate;
15
+    /** 
16
+     * 统计日期
17
+     **/
18
+    private $bizDate;
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
-	 * 渠道关系id
32
-	 **/
33
-	private $relationId;
30
+    /** 
31
+     * 渠道关系id
32
+     **/
33
+    private $relationId;
34 34
 	
35
-	private $apiParas = array();
35
+    private $apiParas = array();
36 36
 	
37
-	public function setActivityId($activityId)
38
-	{
39
-		$this->activityId = $activityId;
40
-		$this->apiParas["activity_id"] = $activityId;
41
-	}
37
+    public function setActivityId($activityId)
38
+    {
39
+        $this->activityId = $activityId;
40
+        $this->apiParas["activity_id"] = $activityId;
41
+    }
42 42
 
43
-	public function getActivityId()
44
-	{
45
-		return $this->activityId;
46
-	}
43
+    public function getActivityId()
44
+    {
45
+        return $this->activityId;
46
+    }
47 47
 
48
-	public function setBizDate($bizDate)
49
-	{
50
-		$this->bizDate = $bizDate;
51
-		$this->apiParas["biz_date"] = $bizDate;
52
-	}
48
+    public function setBizDate($bizDate)
49
+    {
50
+        $this->bizDate = $bizDate;
51
+        $this->apiParas["biz_date"] = $bizDate;
52
+    }
53 53
 
54
-	public function getBizDate()
55
-	{
56
-		return $this->bizDate;
57
-	}
54
+    public function getBizDate()
55
+    {
56
+        return $this->bizDate;
57
+    }
58 58
 
59
-	public function setPageNo($pageNo)
60
-	{
61
-		$this->pageNo = $pageNo;
62
-		$this->apiParas["page_no"] = $pageNo;
63
-	}
59
+    public function setPageNo($pageNo)
60
+    {
61
+        $this->pageNo = $pageNo;
62
+        $this->apiParas["page_no"] = $pageNo;
63
+    }
64 64
 
65
-	public function getPageNo()
66
-	{
67
-		return $this->pageNo;
68
-	}
65
+    public function getPageNo()
66
+    {
67
+        return $this->pageNo;
68
+    }
69 69
 
70
-	public function setPageSize($pageSize)
71
-	{
72
-		$this->pageSize = $pageSize;
73
-		$this->apiParas["page_size"] = $pageSize;
74
-	}
70
+    public function setPageSize($pageSize)
71
+    {
72
+        $this->pageSize = $pageSize;
73
+        $this->apiParas["page_size"] = $pageSize;
74
+    }
75 75
 
76
-	public function getPageSize()
77
-	{
78
-		return $this->pageSize;
79
-	}
76
+    public function getPageSize()
77
+    {
78
+        return $this->pageSize;
79
+    }
80 80
 
81
-	public function setRelationId($relationId)
82
-	{
83
-		$this->relationId = $relationId;
84
-		$this->apiParas["relation_id"] = $relationId;
85
-	}
81
+    public function setRelationId($relationId)
82
+    {
83
+        $this->relationId = $relationId;
84
+        $this->apiParas["relation_id"] = $relationId;
85
+    }
86 86
 
87
-	public function getRelationId()
88
-	{
89
-		return $this->relationId;
90
-	}
87
+    public function getRelationId()
88
+    {
89
+        return $this->relationId;
90
+    }
91 91
 
92
-	public function getApiMethodName()
93
-	{
94
-		return "taobao.tbk.dg.vegas.send.report";
95
-	}
92
+    public function getApiMethodName()
93
+    {
94
+        return "taobao.tbk.dg.vegas.send.report";
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->activityId,"activityId");
106
-		RequestCheckUtil::checkNotNull($this->bizDate,"bizDate");
107
-	}
105
+        RequestCheckUtil::checkNotNull($this->activityId,"activityId");
106
+        RequestCheckUtil::checkNotNull($this->bizDate,"bizDate");
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->activityId,"activityId");
106
-		RequestCheckUtil::checkNotNull($this->bizDate,"bizDate");
105
+		RequestCheckUtil::checkNotNull($this->activityId, "activityId");
106
+		RequestCheckUtil::checkNotNull($this->bizDate, "bizDate");
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/TopSecretGetRequest.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 TopSecretGetRequest
9 9
 {
10
-	/** 
11
-	 * 自定义用户id
12
-	 **/
13
-	private $customerUserId;
10
+    /** 
11
+     * 自定义用户id
12
+     **/
13
+    private $customerUserId;
14 14
 	
15
-	/** 
16
-	 * 伪随机数
17
-	 **/
18
-	private $randomNum;
15
+    /** 
16
+     * 伪随机数
17
+     **/
18
+    private $randomNum;
19 19
 	
20
-	/** 
21
-	 * 秘钥版本号
22
-	 **/
23
-	private $secretVersion;
20
+    /** 
21
+     * 秘钥版本号
22
+     **/
23
+    private $secretVersion;
24 24
 	
25
-	private $apiParas = array();
25
+    private $apiParas = array();
26 26
 	
27
-	public function setCustomerUserId($customerUserId)
28
-	{
29
-		$this->customerUserId = $customerUserId;
30
-		$this->apiParas["customer_user_id"] = $customerUserId;
31
-	}
27
+    public function setCustomerUserId($customerUserId)
28
+    {
29
+        $this->customerUserId = $customerUserId;
30
+        $this->apiParas["customer_user_id"] = $customerUserId;
31
+    }
32 32
 
33
-	public function getCustomerUserId()
34
-	{
35
-		return $this->customerUserId;
36
-	}
33
+    public function getCustomerUserId()
34
+    {
35
+        return $this->customerUserId;
36
+    }
37 37
 
38
-	public function setRandomNum($randomNum)
39
-	{
40
-		$this->randomNum = $randomNum;
41
-		$this->apiParas["random_num"] = $randomNum;
42
-	}
38
+    public function setRandomNum($randomNum)
39
+    {
40
+        $this->randomNum = $randomNum;
41
+        $this->apiParas["random_num"] = $randomNum;
42
+    }
43 43
 
44
-	public function getRandomNum()
45
-	{
46
-		return $this->randomNum;
47
-	}
44
+    public function getRandomNum()
45
+    {
46
+        return $this->randomNum;
47
+    }
48 48
 
49
-	public function setSecretVersion($secretVersion)
50
-	{
51
-		$this->secretVersion = $secretVersion;
52
-		$this->apiParas["secret_version"] = $secretVersion;
53
-	}
49
+    public function setSecretVersion($secretVersion)
50
+    {
51
+        $this->secretVersion = $secretVersion;
52
+        $this->apiParas["secret_version"] = $secretVersion;
53
+    }
54 54
 
55
-	public function getSecretVersion()
56
-	{
57
-		return $this->secretVersion;
58
-	}
55
+    public function getSecretVersion()
56
+    {
57
+        return $this->secretVersion;
58
+    }
59 59
 
60
-	public function getApiMethodName()
61
-	{
62
-		return "taobao.top.secret.get";
63
-	}
60
+    public function getApiMethodName()
61
+    {
62
+        return "taobao.top.secret.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->randomNum,"randomNum");
74
-	}
73
+        RequestCheckUtil::checkNotNull($this->randomNum,"randomNum");
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->randomNum,"randomNum");
73
+		RequestCheckUtil::checkNotNull($this->randomNum, "randomNum");
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/TbkTpwdCreateRequest.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 TbkTpwdCreateRequest
9 9
 {
10
-	/** 
11
-	 * [已废弃]扩展字段JSON格式
12
-	 **/
13
-	private $ext;
10
+    /** 
11
+     * [已废弃]扩展字段JSON格式
12
+     **/
13
+    private $ext;
14 14
 	
15
-	/** 
16
-	 * 口令弹框logoURL
17
-	 **/
18
-	private $logo;
15
+    /** 
16
+     * 口令弹框logoURL
17
+     **/
18
+    private $logo;
19 19
 	
20
-	/** 
21
-	 * 口令弹框内容
22
-	 **/
23
-	private $text;
20
+    /** 
21
+     * 口令弹框内容
22
+     **/
23
+    private $text;
24 24
 	
25
-	/** 
26
-	 * 口令跳转目标页
27
-	 **/
28
-	private $url;
25
+    /** 
26
+     * 口令跳转目标页
27
+     **/
28
+    private $url;
29 29
 	
30
-	/** 
31
-	 * 生成口令的淘宝用户ID
32
-	 **/
33
-	private $userId;
30
+    /** 
31
+     * 生成口令的淘宝用户ID
32
+     **/
33
+    private $userId;
34 34
 	
35
-	private $apiParas = array();
35
+    private $apiParas = array();
36 36
 	
37
-	public function setExt($ext)
38
-	{
39
-		$this->ext = $ext;
40
-		$this->apiParas["ext"] = $ext;
41
-	}
37
+    public function setExt($ext)
38
+    {
39
+        $this->ext = $ext;
40
+        $this->apiParas["ext"] = $ext;
41
+    }
42 42
 
43
-	public function getExt()
44
-	{
45
-		return $this->ext;
46
-	}
43
+    public function getExt()
44
+    {
45
+        return $this->ext;
46
+    }
47 47
 
48
-	public function setLogo($logo)
49
-	{
50
-		$this->logo = $logo;
51
-		$this->apiParas["logo"] = $logo;
52
-	}
48
+    public function setLogo($logo)
49
+    {
50
+        $this->logo = $logo;
51
+        $this->apiParas["logo"] = $logo;
52
+    }
53 53
 
54
-	public function getLogo()
55
-	{
56
-		return $this->logo;
57
-	}
54
+    public function getLogo()
55
+    {
56
+        return $this->logo;
57
+    }
58 58
 
59
-	public function setText($text)
60
-	{
61
-		$this->text = $text;
62
-		$this->apiParas["text"] = $text;
63
-	}
59
+    public function setText($text)
60
+    {
61
+        $this->text = $text;
62
+        $this->apiParas["text"] = $text;
63
+    }
64 64
 
65
-	public function getText()
66
-	{
67
-		return $this->text;
68
-	}
65
+    public function getText()
66
+    {
67
+        return $this->text;
68
+    }
69 69
 
70
-	public function setUrl($url)
71
-	{
72
-		$this->url = $url;
73
-		$this->apiParas["url"] = $url;
74
-	}
70
+    public function setUrl($url)
71
+    {
72
+        $this->url = $url;
73
+        $this->apiParas["url"] = $url;
74
+    }
75 75
 
76
-	public function getUrl()
77
-	{
78
-		return $this->url;
79
-	}
76
+    public function getUrl()
77
+    {
78
+        return $this->url;
79
+    }
80 80
 
81
-	public function setUserId($userId)
82
-	{
83
-		$this->userId = $userId;
84
-		$this->apiParas["user_id"] = $userId;
85
-	}
81
+    public function setUserId($userId)
82
+    {
83
+        $this->userId = $userId;
84
+        $this->apiParas["user_id"] = $userId;
85
+    }
86 86
 
87
-	public function getUserId()
88
-	{
89
-		return $this->userId;
90
-	}
87
+    public function getUserId()
88
+    {
89
+        return $this->userId;
90
+    }
91 91
 
92
-	public function getApiMethodName()
93
-	{
94
-		return "taobao.tbk.tpwd.create";
95
-	}
92
+    public function getApiMethodName()
93
+    {
94
+        return "taobao.tbk.tpwd.create";
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->text,"text");
106
-		RequestCheckUtil::checkNotNull($this->url,"url");
107
-	}
105
+        RequestCheckUtil::checkNotNull($this->text,"text");
106
+        RequestCheckUtil::checkNotNull($this->url,"url");
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->text,"text");
106
-		RequestCheckUtil::checkNotNull($this->url,"url");
105
+		RequestCheckUtil::checkNotNull($this->text, "text");
106
+		RequestCheckUtil::checkNotNull($this->url, "url");
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/KfcKeywordSearchRequest.php 2 patches
Indentation   +56 added lines, -56 removed lines patch added patch discarded remove patch
@@ -7,79 +7,79 @@
 block discarded – undo
7 7
  */
8 8
 class KfcKeywordSearchRequest
9 9
 {
10
-	/** 
11
-	 * 应用点,分为一级应用点、二级应用点。其中一级应用点通常是指某一个系统或产品,比如淘宝的商品应用(taobao_auction);二级应用点,是指一级应用点下的具体的分类,比如商品标题(title)、商品描述(content)。不同的二级应用可以设置不同关键词。
10
+    /** 
11
+     * 应用点,分为一级应用点、二级应用点。其中一级应用点通常是指某一个系统或产品,比如淘宝的商品应用(taobao_auction);二级应用点,是指一级应用点下的具体的分类,比如商品标题(title)、商品描述(content)。不同的二级应用可以设置不同关键词。
12 12
 
13 13
 这里的apply参数是由一级应用点与二级应用点合起来的字符(一级应用点+"."+二级应用点),如taobao_auction.title。
14 14
 
15 15
 
16 16
 通常apply参数是不需要传递的。如有特殊需求(比如特殊的过滤需求,需要自己维护一套自己词库),需传递此参数。
17
-	 **/
18
-	private $apply;
17
+     **/
18
+    private $apply;
19 19
 	
20
-	/** 
21
-	 * 需要过滤的文本信息
22
-	 **/
23
-	private $content;
20
+    /** 
21
+     * 需要过滤的文本信息
22
+     **/
23
+    private $content;
24 24
 	
25
-	/** 
26
-	 * 发布信息的淘宝会员名,可以不传
27
-	 **/
28
-	private $nick;
25
+    /** 
26
+     * 发布信息的淘宝会员名,可以不传
27
+     **/
28
+    private $nick;
29 29
 	
30
-	private $apiParas = array();
30
+    private $apiParas = array();
31 31
 	
32
-	public function setApply($apply)
33
-	{
34
-		$this->apply = $apply;
35
-		$this->apiParas["apply"] = $apply;
36
-	}
32
+    public function setApply($apply)
33
+    {
34
+        $this->apply = $apply;
35
+        $this->apiParas["apply"] = $apply;
36
+    }
37 37
 
38
-	public function getApply()
39
-	{
40
-		return $this->apply;
41
-	}
38
+    public function getApply()
39
+    {
40
+        return $this->apply;
41
+    }
42 42
 
43
-	public function setContent($content)
44
-	{
45
-		$this->content = $content;
46
-		$this->apiParas["content"] = $content;
47
-	}
43
+    public function setContent($content)
44
+    {
45
+        $this->content = $content;
46
+        $this->apiParas["content"] = $content;
47
+    }
48 48
 
49
-	public function getContent()
50
-	{
51
-		return $this->content;
52
-	}
49
+    public function getContent()
50
+    {
51
+        return $this->content;
52
+    }
53 53
 
54
-	public function setNick($nick)
55
-	{
56
-		$this->nick = $nick;
57
-		$this->apiParas["nick"] = $nick;
58
-	}
54
+    public function setNick($nick)
55
+    {
56
+        $this->nick = $nick;
57
+        $this->apiParas["nick"] = $nick;
58
+    }
59 59
 
60
-	public function getNick()
61
-	{
62
-		return $this->nick;
63
-	}
60
+    public function getNick()
61
+    {
62
+        return $this->nick;
63
+    }
64 64
 
65
-	public function getApiMethodName()
66
-	{
67
-		return "taobao.kfc.keyword.search";
68
-	}
65
+    public function getApiMethodName()
66
+    {
67
+        return "taobao.kfc.keyword.search";
68
+    }
69 69
 	
70
-	public function getApiParas()
71
-	{
72
-		return $this->apiParas;
73
-	}
70
+    public function getApiParas()
71
+    {
72
+        return $this->apiParas;
73
+    }
74 74
 	
75
-	public function check()
76
-	{
75
+    public function check()
76
+    {
77 77
 		
78
-		RequestCheckUtil::checkNotNull($this->content,"content");
79
-	}
78
+        RequestCheckUtil::checkNotNull($this->content,"content");
79
+    }
80 80
 	
81
-	public function putOtherTextParam($key, $value) {
82
-		$this->apiParas[$key] = $value;
83
-		$this->$key = $value;
84
-	}
81
+    public function putOtherTextParam($key, $value) {
82
+        $this->apiParas[$key] = $value;
83
+        $this->$key = $value;
84
+    }
85 85
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 	public function check()
76 76
 	{
77 77
 		
78
-		RequestCheckUtil::checkNotNull($this->content,"content");
78
+		RequestCheckUtil::checkNotNull($this->content, "content");
79 79
 	}
80 80
 	
81 81
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkDgVegasTljInstanceReportRequest.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 TbkDgVegasTljInstanceReportRequest
9 9
 {
10
-	/** 
11
-	 * 实例ID
12
-	 **/
13
-	private $rightsId;
10
+    /** 
11
+     * 实例ID
12
+     **/
13
+    private $rightsId;
14 14
 	
15
-	private $apiParas = array();
15
+    private $apiParas = array();
16 16
 	
17
-	public function setRightsId($rightsId)
18
-	{
19
-		$this->rightsId = $rightsId;
20
-		$this->apiParas["rights_id"] = $rightsId;
21
-	}
17
+    public function setRightsId($rightsId)
18
+    {
19
+        $this->rightsId = $rightsId;
20
+        $this->apiParas["rights_id"] = $rightsId;
21
+    }
22 22
 
23
-	public function getRightsId()
24
-	{
25
-		return $this->rightsId;
26
-	}
23
+    public function getRightsId()
24
+    {
25
+        return $this->rightsId;
26
+    }
27 27
 
28
-	public function getApiMethodName()
29
-	{
30
-		return "taobao.tbk.dg.vegas.tlj.instance.report";
31
-	}
28
+    public function getApiMethodName()
29
+    {
30
+        return "taobao.tbk.dg.vegas.tlj.instance.report";
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->rightsId,"rightsId");
42
-	}
41
+        RequestCheckUtil::checkNotNull($this->rightsId,"rightsId");
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->rightsId,"rightsId");
41
+		RequestCheckUtil::checkNotNull($this->rightsId, "rightsId");
42 42
 	}
43 43
 	
44 44
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.