Passed
Push — v6 ( 95b370...25ce72 )
by 光春
03:13
created
src/service/taobao/bin/top/request/TbkDgOptimusPromotionRequest.php 1 patch
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.
src/service/taobao/bin/top/request/FilesGetRequest.php 1 patch
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.
src/service/taobao/bin/top/request/TbkScPublisherInfoGetRequest.php 1 patch
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.
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 1 patch
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.
src/service/taobao/bin/top/request/TbkShopRecommendGetRequest.php 1 patch
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.
src/service/taobao/bin/top/request/OpenuidChangeRequest.php 1 patch
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.
src/service/taobao/bin/top/request/TbkScPublisherInfoSaveRequest.php 1 patch
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.
src/service/taobao/bin/top/request/OpenuidGetBytradeRequest.php 1 patch
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.