Passed
Push — v6 ( fe399c...515a76 )
by 光春
06:18
created
src/service/taobao/bin/top/domain/RightsInstanceCreateResult.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -7,24 +7,24 @@
 block discarded – undo
7 7
 class RightsInstanceCreateResult
8 8
 {
9 9
 	
10
-	/** 
11
-	 * 创建完成后资金账户可用资金,单位元,保留2位小数
12
-	 **/
13
-	public $available_fee;
10
+    /** 
11
+     * 创建完成后资金账户可用资金,单位元,保留2位小数
12
+     **/
13
+    public $available_fee;
14 14
 	
15
-	/** 
16
-	 * 淘礼金Id
17
-	 **/
18
-	public $rights_id;
15
+    /** 
16
+     * 淘礼金Id
17
+     **/
18
+    public $rights_id;
19 19
 	
20
-	/** 
21
-	 * 淘礼金领取Url
22
-	 **/
23
-	public $send_url;
20
+    /** 
21
+     * 淘礼金领取Url
22
+     **/
23
+    public $send_url;
24 24
 	
25
-	/** 
26
-	 * 投放code【百川商品详情页业务专用】
27
-	 **/
28
-	public $vegas_code;	
25
+    /** 
26
+     * 投放code【百川商品详情页业务专用】
27
+     **/
28
+    public $vegas_code;	
29 29
 }
30 30
 ?>
31 31
\ No newline at end of file
Please login to merge, or discard this patch.
src/service/taobao/bin/top/domain/TbkSpread.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
 class TbkSpread
8 8
 {
9 9
 	
10
-	/** 
11
-	 * 传播形式, 目前只支持短链接
12
-	 **/
13
-	public $content;
10
+    /** 
11
+     * 传播形式, 目前只支持短链接
12
+     **/
13
+    public $content;
14 14
 	
15
-	/** 
16
-	 * 调用错误信息;由于是批量接口,请重点关注每条请求返回的结果,如果非OK,则说明该结果对应的content不正常,请酌情处理;
17
-	 **/
18
-	public $err_msg;	
15
+    /** 
16
+     * 调用错误信息;由于是批量接口,请重点关注每条请求返回的结果,如果非OK,则说明该结果对应的content不正常,请酌情处理;
17
+     **/
18
+    public $err_msg;	
19 19
 }
20 20
 ?>
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/service/taobao/bin/top/domain/TopItemQuery.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -7,39 +7,39 @@
 block discarded – undo
7 7
 class TopItemQuery
8 8
 {
9 9
 	
10
-	/** 
11
-	 * 页码,必传
12
-	 **/
13
-	public $current_page;
10
+    /** 
11
+     * 页码,必传
12
+     **/
13
+    public $current_page;
14 14
 	
15
-	/** 
16
-	 * 一页大小,必传
17
-	 **/
18
-	public $page_size;
15
+    /** 
16
+     * 一页大小,必传
17
+     **/
18
+    public $page_size;
19 19
 	
20
-	/** 
21
-	 * 媒体pid,必传
22
-	 **/
23
-	public $pid;
20
+    /** 
21
+     * 媒体pid,必传
22
+     **/
23
+    public $pid;
24 24
 	
25
-	/** 
26
-	 * 是否包邮,可不传
27
-	 **/
28
-	public $postage;
25
+    /** 
26
+     * 是否包邮,可不传
27
+     **/
28
+    public $postage;
29 29
 	
30
-	/** 
31
-	 * 状态,预热:1,正在进行中:2,可不传
32
-	 **/
33
-	public $status;
30
+    /** 
31
+     * 状态,预热:1,正在进行中:2,可不传
32
+     **/
33
+    public $status;
34 34
 	
35
-	/** 
36
-	 * 淘宝类目id,可不传
37
-	 **/
38
-	public $taobao_category_id;
35
+    /** 
36
+     * 淘宝类目id,可不传
37
+     **/
38
+    public $taobao_category_id;
39 39
 	
40
-	/** 
41
-	 * 搜索关键词,可不传
42
-	 **/
43
-	public $word;	
40
+    /** 
41
+     * 搜索关键词,可不传
42
+     **/
43
+    public $word;	
44 44
 }
45 45
 ?>
46 46
\ No newline at end of file
Please login to merge, or discard this patch.
src/service/taobao/bin/top/domain/RegisterInfoDto.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -7,44 +7,44 @@
 block discarded – undo
7 7
 class RegisterInfoDto
8 8
 {
9 9
 	
10
-	/** 
11
-	 * 渠道独有 -经营类型
12
-	 **/
13
-	public $career;
14
-	
15
-	/** 
16
-	 * 渠道独有 -对应的证件证件类型编号
17
-	 **/
18
-	public $certify_number;
19
-	
20
-	/** 
21
-	 * 渠道独有 -详细地址
22
-	 **/
23
-	public $detail_address;
24
-	
25
-	/** 
26
-	 * 渠道独有 -地区
27
-	 **/
28
-	public $location;
29
-	
30
-	/** 
31
-	 * 渠道独有 -手机号码
32
-	 **/
33
-	public $phone_number;
34
-	
35
-	/** 
36
-	 * 渠道独有 -证件类型
37
-	 **/
38
-	public $shop_certify_type;
39
-	
40
-	/** 
41
-	 * 渠道独有 -店铺名称
42
-	 **/
43
-	public $shop_name;
44
-	
45
-	/** 
46
-	 * 渠道独有 -店铺类型
47
-	 **/
48
-	public $shop_type;	
10
+    /** 
11
+     * 渠道独有 -经营类型
12
+     **/
13
+    public $career;
14
+	
15
+    /** 
16
+     * 渠道独有 -对应的证件证件类型编号
17
+     **/
18
+    public $certify_number;
19
+	
20
+    /** 
21
+     * 渠道独有 -详细地址
22
+     **/
23
+    public $detail_address;
24
+	
25
+    /** 
26
+     * 渠道独有 -地区
27
+     **/
28
+    public $location;
29
+	
30
+    /** 
31
+     * 渠道独有 -手机号码
32
+     **/
33
+    public $phone_number;
34
+	
35
+    /** 
36
+     * 渠道独有 -证件类型
37
+     **/
38
+    public $shop_certify_type;
39
+	
40
+    /** 
41
+     * 渠道独有 -店铺名称
42
+     **/
43
+    public $shop_name;
44
+	
45
+    /** 
46
+     * 渠道独有 -店铺类型
47
+     **/
48
+    public $shop_type;	
49 49
 }
50 50
 ?>
51 51
\ No newline at end of file
Please login to merge, or discard this patch.
src/service/taobao/bin/top/ApplicationVar.php 3 patches
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -2,46 +2,46 @@
 block discarded – undo
2 2
 
3 3
 class ApplicationVar
4 4
 {
5
-	var $save_file;
6
-	var $application  = null;
7
- 	var $app_data    = '';
8
- 	var $__writed    = false;
5
+    var $save_file;
6
+    var $application  = null;
7
+        var $app_data    = '';
8
+        var $__writed    = false;
9 9
 
10
-	function __construct()
11
- 	{
10
+    function __construct()
11
+        {
12 12
     $this->save_file = __DIR__.'/httpdns.conf' ;
13
- 		$this->application = array();
14
- 	}
13
+            $this->application = array();
14
+        }
15 15
 
16
- 	public function setValue($var_name,$var_value)
17
-  {
18
-   		if (!is_string($var_name) || empty($var_name))
19
-    		return false;
16
+        public function setValue($var_name,$var_value)
17
+    {
18
+            if (!is_string($var_name) || empty($var_name))
19
+            return false;
20 20
    
21
-   		$this->application[$var_name] = $var_value;
22
-  }
21
+            $this->application[$var_name] = $var_value;
22
+    }
23 23
 
24
-  public function write(){
25
-      $this->app_data = @serialize($this->application);    
26
-      $this->__writeToFile();
27
-  }
24
+    public function write(){
25
+        $this->app_data = @serialize($this->application);    
26
+        $this->__writeToFile();
27
+    }
28 28
 
29
- 	public function getValue()
30
- 	{
31
-     	if (!is_file($this->save_file))
32
-        	 $this->__writeToFile();
33
-     	return @unserialize(@file_get_contents($this->save_file));
34
- 	}
29
+        public function getValue()
30
+        {
31
+            if (!is_file($this->save_file))
32
+                $this->__writeToFile();
33
+            return @unserialize(@file_get_contents($this->save_file));
34
+        }
35 35
 
36
- 	function __writeToFile()
37
- 	{
38
-  		$fp = @fopen($this->save_file,"w");
39
-      if(flock($fp , LOCK_EX | LOCK_NB)){
40
-          @fwrite($fp,$this->app_data);
41
-          flock($fp , LOCK_UN);
42
-      }
43
-      @fclose($fp);
44
- 	}
36
+        function __writeToFile()
37
+        {
38
+            $fp = @fopen($this->save_file,"w");
39
+        if(flock($fp , LOCK_EX | LOCK_NB)){
40
+            @fwrite($fp,$this->app_data);
41
+            flock($fp , LOCK_UN);
42
+        }
43
+        @fclose($fp);
44
+        }
45 45
 }
46 46
 
47 47
 ?>
48 48
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@  discard block
 block discarded – undo
9 9
 
10 10
 	function __construct()
11 11
  	{
12
-    $this->save_file = __DIR__.'/httpdns.conf' ;
12
+    $this->save_file = __DIR__.'/httpdns.conf';
13 13
  		$this->application = array();
14 14
  	}
15 15
 
16
- 	public function setValue($var_name,$var_value)
16
+ 	public function setValue($var_name, $var_value)
17 17
   {
18 18
    		if (!is_string($var_name) || empty($var_name))
19 19
     		return false;
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
    		$this->application[$var_name] = $var_value;
22 22
   }
23 23
 
24
-  public function write(){
24
+  public function write() {
25 25
       $this->app_data = @serialize($this->application);    
26 26
       $this->__writeToFile();
27 27
   }
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
 
36 36
  	function __writeToFile()
37 37
  	{
38
-  		$fp = @fopen($this->save_file,"w");
39
-      if(flock($fp , LOCK_EX | LOCK_NB)){
40
-          @fwrite($fp,$this->app_data);
41
-          flock($fp , LOCK_UN);
38
+  		$fp = @fopen($this->save_file, "w");
39
+      if (flock($fp, LOCK_EX | LOCK_NB)) {
40
+          @fwrite($fp, $this->app_data);
41
+          flock($fp, LOCK_UN);
42 42
       }
43 43
       @fclose($fp);
44 44
  	}
Please login to merge, or discard this patch.
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,8 +15,9 @@  discard block
 block discarded – undo
15 15
 
16 16
  	public function setValue($var_name,$var_value)
17 17
   {
18
-   		if (!is_string($var_name) || empty($var_name))
19
-    		return false;
18
+   		if (!is_string($var_name) || empty($var_name)) {
19
+   		    		return false;
20
+   		}
20 21
    
21 22
    		$this->application[$var_name] = $var_value;
22 23
   }
@@ -28,8 +29,9 @@  discard block
 block discarded – undo
28 29
 
29 30
  	public function getValue()
30 31
  	{
31
-     	if (!is_file($this->save_file))
32
-        	 $this->__writeToFile();
32
+     	if (!is_file($this->save_file)) {
33
+     	        	 $this->__writeToFile();
34
+     	}
33 35
      	return @unserialize(@file_get_contents($this->save_file));
34 36
  	}
35 37
 
Please login to merge, or discard this patch.
src/service/taobao/bin/top/TopLogger.php 2 patches
Indentation   +35 added lines, -35 removed lines patch added patch discarded remove patch
@@ -1,43 +1,43 @@
 block discarded – undo
1 1
 <?php
2 2
 class TopLogger
3 3
 {
4
-	public $conf = array(
5
-		"separator" => "\t",
6
-		"log_file" => ""
7
-	);
4
+    public $conf = array(
5
+        "separator" => "\t",
6
+        "log_file" => ""
7
+    );
8 8
 
9
-	private $fileHandle;
9
+    private $fileHandle;
10 10
 
11
-	protected function getFileHandle()
12
-	{
13
-		if (null === $this->fileHandle)
14
-		{
15
-			if (empty($this->conf["log_file"]))
16
-			{
17
-				trigger_error("no log file spcified.");
18
-			}
19
-			$logDir = dirname($this->conf["log_file"]);
20
-			if (!is_dir($logDir))
21
-			{
22
-				mkdir($logDir, 0777, true);
23
-			}
24
-			$this->fileHandle = fopen($this->conf["log_file"], "a");
25
-		}
26
-		return $this->fileHandle;
27
-	}
11
+    protected function getFileHandle()
12
+    {
13
+        if (null === $this->fileHandle)
14
+        {
15
+            if (empty($this->conf["log_file"]))
16
+            {
17
+                trigger_error("no log file spcified.");
18
+            }
19
+            $logDir = dirname($this->conf["log_file"]);
20
+            if (!is_dir($logDir))
21
+            {
22
+                mkdir($logDir, 0777, true);
23
+            }
24
+            $this->fileHandle = fopen($this->conf["log_file"], "a");
25
+        }
26
+        return $this->fileHandle;
27
+    }
28 28
 
29
-	public function log($logData)
30
-	{
31
-		if ("" == $logData || array() == $logData)
32
-		{
33
-			return false;
34
-		}
35
-		if (is_array($logData))
36
-		{
37
-			$logData = implode($this->conf["separator"], $logData);
38
-		}
39
-		$logData = $logData. "\n";
40
-		fwrite($this->getFileHandle(), $logData);
41
-	}
29
+    public function log($logData)
30
+    {
31
+        if ("" == $logData || array() == $logData)
32
+        {
33
+            return false;
34
+        }
35
+        if (is_array($logData))
36
+        {
37
+            $logData = implode($this->conf["separator"], $logData);
38
+        }
39
+        $logData = $logData. "\n";
40
+        fwrite($this->getFileHandle(), $logData);
41
+    }
42 42
 }
43 43
 ?>
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 		{
37 37
 			$logData = implode($this->conf["separator"], $logData);
38 38
 		}
39
-		$logData = $logData. "\n";
39
+		$logData = $logData."\n";
40 40
 		fwrite($this->getFileHandle(), $logData);
41 41
 	}
42 42
 }
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TopSdkFeedbackUploadRequest.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 TopSdkFeedbackUploadRequest
9 9
 {
10
-	/** 
11
-	 * 具体内容,json形式
12
-	 **/
13
-	private $content;
10
+    /** 
11
+     * 具体内容,json形式
12
+     **/
13
+    private $content;
14 14
 	
15
-	/** 
16
-	 * 1、回传加密信息
17
-	 **/
18
-	private $type;
15
+    /** 
16
+     * 1、回传加密信息
17
+     **/
18
+    private $type;
19 19
 	
20
-	private $apiParas = array();
20
+    private $apiParas = array();
21 21
 	
22
-	public function setContent($content)
23
-	{
24
-		$this->content = $content;
25
-		$this->apiParas["content"] = $content;
26
-	}
22
+    public function setContent($content)
23
+    {
24
+        $this->content = $content;
25
+        $this->apiParas["content"] = $content;
26
+    }
27 27
 
28
-	public function getContent()
29
-	{
30
-		return $this->content;
31
-	}
28
+    public function getContent()
29
+    {
30
+        return $this->content;
31
+    }
32 32
 
33
-	public function setType($type)
34
-	{
35
-		$this->type = $type;
36
-		$this->apiParas["type"] = $type;
37
-	}
33
+    public function setType($type)
34
+    {
35
+        $this->type = $type;
36
+        $this->apiParas["type"] = $type;
37
+    }
38 38
 
39
-	public function getType()
40
-	{
41
-		return $this->type;
42
-	}
39
+    public function getType()
40
+    {
41
+        return $this->type;
42
+    }
43 43
 
44
-	public function getApiMethodName()
45
-	{
46
-		return "taobao.top.sdk.feedback.upload";
47
-	}
44
+    public function getApiMethodName()
45
+    {
46
+        return "taobao.top.sdk.feedback.upload";
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->type,"type");
58
-	}
57
+        RequestCheckUtil::checkNotNull($this->type,"type");
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->type,"type");
57
+		RequestCheckUtil::checkNotNull($this->type, "type");
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/TbkDgNewuserOrderGetRequest.php 2 patches
Indentation   +97 added lines, -97 removed lines patch added patch discarded remove patch
@@ -7,124 +7,124 @@
 block discarded – undo
7 7
  */
8 8
 class TbkDgNewuserOrderGetRequest
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
-	 * 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间
22
-	 **/
23
-	private $endTime;
20
+    /** 
21
+     * 结束时间,当活动为淘宝活动,表示最晚结束时间;当活动为支付宝活动,表示最晚绑定时间;当活动为天猫活动,表示最晚领取红包的时间
22
+     **/
23
+    private $endTime;
24 24
 	
25
-	/** 
26
-	 * 页码,默认1
27
-	 **/
28
-	private $pageNo;
25
+    /** 
26
+     * 页码,默认1
27
+     **/
28
+    private $pageNo;
29 29
 	
30
-	/** 
31
-	 * 页大小,默认20,1~100
32
-	 **/
33
-	private $pageSize;
30
+    /** 
31
+     * 页大小,默认20,1~100
32
+     **/
33
+    private $pageSize;
34 34
 	
35
-	/** 
36
-	 * 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间
37
-	 **/
38
-	private $startTime;
35
+    /** 
36
+     * 开始时间,当活动为淘宝活动,表示最早注册时间;当活动为支付宝活动,表示最早绑定时间;当活动为天猫活动,表示最早领取红包时间
37
+     **/
38
+    private $startTime;
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 setEndTime($endTime)
65
-	{
66
-		$this->endTime = $endTime;
67
-		$this->apiParas["end_time"] = $endTime;
68
-	}
64
+    public function setEndTime($endTime)
65
+    {
66
+        $this->endTime = $endTime;
67
+        $this->apiParas["end_time"] = $endTime;
68
+    }
69 69
 
70
-	public function getEndTime()
71
-	{
72
-		return $this->endTime;
73
-	}
70
+    public function getEndTime()
71
+    {
72
+        return $this->endTime;
73
+    }
74 74
 
75
-	public function setPageNo($pageNo)
76
-	{
77
-		$this->pageNo = $pageNo;
78
-		$this->apiParas["page_no"] = $pageNo;
79
-	}
75
+    public function setPageNo($pageNo)
76
+    {
77
+        $this->pageNo = $pageNo;
78
+        $this->apiParas["page_no"] = $pageNo;
79
+    }
80 80
 
81
-	public function getPageNo()
82
-	{
83
-		return $this->pageNo;
84
-	}
81
+    public function getPageNo()
82
+    {
83
+        return $this->pageNo;
84
+    }
85 85
 
86
-	public function setPageSize($pageSize)
87
-	{
88
-		$this->pageSize = $pageSize;
89
-		$this->apiParas["page_size"] = $pageSize;
90
-	}
86
+    public function setPageSize($pageSize)
87
+    {
88
+        $this->pageSize = $pageSize;
89
+        $this->apiParas["page_size"] = $pageSize;
90
+    }
91 91
 
92
-	public function getPageSize()
93
-	{
94
-		return $this->pageSize;
95
-	}
92
+    public function getPageSize()
93
+    {
94
+        return $this->pageSize;
95
+    }
96 96
 
97
-	public function setStartTime($startTime)
98
-	{
99
-		$this->startTime = $startTime;
100
-		$this->apiParas["start_time"] = $startTime;
101
-	}
97
+    public function setStartTime($startTime)
98
+    {
99
+        $this->startTime = $startTime;
100
+        $this->apiParas["start_time"] = $startTime;
101
+    }
102 102
 
103
-	public function getStartTime()
104
-	{
105
-		return $this->startTime;
106
-	}
103
+    public function getStartTime()
104
+    {
105
+        return $this->startTime;
106
+    }
107 107
 
108
-	public function getApiMethodName()
109
-	{
110
-		return "taobao.tbk.dg.newuser.order.get";
111
-	}
108
+    public function getApiMethodName()
109
+    {
110
+        return "taobao.tbk.dg.newuser.order.get";
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::checkMaxValue($this->pageSize,100,"pageSize");
123
-		RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize");
124
-	}
121
+        RequestCheckUtil::checkNotNull($this->activityId,"activityId");
122
+        RequestCheckUtil::checkMaxValue($this->pageSize,100,"pageSize");
123
+        RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize");
124
+    }
125 125
 	
126
-	public function putOtherTextParam($key, $value) {
127
-		$this->apiParas[$key] = $value;
128
-		$this->$key = $value;
129
-	}
126
+    public function putOtherTextParam($key, $value) {
127
+        $this->apiParas[$key] = $value;
128
+        $this->$key = $value;
129
+    }
130 130
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,9 +118,9 @@
 block discarded – undo
118 118
 	public function check()
119 119
 	{
120 120
 		
121
-		RequestCheckUtil::checkNotNull($this->activityId,"activityId");
122
-		RequestCheckUtil::checkMaxValue($this->pageSize,100,"pageSize");
123
-		RequestCheckUtil::checkMinValue($this->pageSize,1,"pageSize");
121
+		RequestCheckUtil::checkNotNull($this->activityId, "activityId");
122
+		RequestCheckUtil::checkMaxValue($this->pageSize, 100, "pageSize");
123
+		RequestCheckUtil::checkMinValue($this->pageSize, 1, "pageSize");
124 124
 	}
125 125
 	
126 126
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.
src/service/taobao/bin/top/request/TbkOrderDetailsGetRequest.php 2 patches
Indentation   +168 added lines, -168 removed lines patch added patch discarded remove patch
@@ -7,187 +7,187 @@
 block discarded – undo
7 7
  */
8 8
 class TbkOrderDetailsGetRequest
9 9
 {
10
-	/** 
11
-	 * 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!
12
-	 **/
13
-	private $endTime;
10
+    /** 
11
+     * 订单查询结束时间,订单开始时间至订单结束时间,中间时间段日常要求不超过3个小时,但如618、双11、年货节等大促期间预估时间段不可超过20分钟,超过会提示错误,调用时请务必注意时间段的选择,以保证亲能正常调用!
12
+     **/
13
+    private $endTime;
14 14
 	
15
-	/** 
16
-	 * 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
17
-	 **/
18
-	private $jumpType;
15
+    /** 
16
+     * 跳转类型,当向前或者向后翻页必须提供,-1: 向前翻页,1:向后翻页
17
+     **/
18
+    private $jumpType;
19 19
 	
20
-	/** 
21
-	 * 推广者角色类型,2:二方,3:三方,不传,表示所有角色
22
-	 **/
23
-	private $memberType;
20
+    /** 
21
+     * 推广者角色类型,2:二方,3:三方,不传,表示所有角色
22
+     **/
23
+    private $memberType;
24 24
 	
25
-	/** 
26
-	 * 场景订单场景类型,1:常规订单,2:渠道订单,3:会员运营订单,默认为1
27
-	 **/
28
-	private $orderScene;
25
+    /** 
26
+     * 场景订单场景类型,1:常规订单,2:渠道订单,3:会员运营订单,默认为1
27
+     **/
28
+    private $orderScene;
29 29
 	
30
-	/** 
31
-	 * 第几页,默认1,1~100
32
-	 **/
33
-	private $pageNo;
30
+    /** 
31
+     * 第几页,默认1,1~100
32
+     **/
33
+    private $pageNo;
34 34
 	
35
-	/** 
36
-	 * 页大小,默认20,1~100
37
-	 **/
38
-	private $pageSize;
35
+    /** 
36
+     * 页大小,默认20,1~100
37
+     **/
38
+    private $pageSize;
39 39
 	
40
-	/** 
41
-	 * 位点,除第一页之外,都需要传递;前端原样返回。
42
-	 **/
43
-	private $positionIndex;
40
+    /** 
41
+     * 位点,除第一页之外,都需要传递;前端原样返回。
42
+     **/
43
+    private $positionIndex;
44 44
 	
45
-	/** 
46
-	 * 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询
47
-	 **/
48
-	private $queryType;
45
+    /** 
46
+     * 查询时间类型,1:按照订单淘客创建时间查询,2:按照订单淘客付款时间查询,3:按照订单淘客结算时间查询
47
+     **/
48
+    private $queryType;
49 49
 	
50
-	/** 
51
-	 * 订单查询开始时间
52
-	 **/
53
-	private $startTime;
50
+    /** 
51
+     * 订单查询开始时间
52
+     **/
53
+    private $startTime;
54 54
 	
55
-	/** 
56
-	 * 淘客订单状态,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态
57
-	 **/
58
-	private $tkStatus;
55
+    /** 
56
+     * 淘客订单状态,12-付款,13-关闭,14-确认收货,3-结算成功;不传,表示所有状态
57
+     **/
58
+    private $tkStatus;
59 59
 	
60
-	private $apiParas = array();
60
+    private $apiParas = array();
61 61
 	
62
-	public function setEndTime($endTime)
63
-	{
64
-		$this->endTime = $endTime;
65
-		$this->apiParas["end_time"] = $endTime;
66
-	}
67
-
68
-	public function getEndTime()
69
-	{
70
-		return $this->endTime;
71
-	}
72
-
73
-	public function setJumpType($jumpType)
74
-	{
75
-		$this->jumpType = $jumpType;
76
-		$this->apiParas["jump_type"] = $jumpType;
77
-	}
78
-
79
-	public function getJumpType()
80
-	{
81
-		return $this->jumpType;
82
-	}
83
-
84
-	public function setMemberType($memberType)
85
-	{
86
-		$this->memberType = $memberType;
87
-		$this->apiParas["member_type"] = $memberType;
88
-	}
89
-
90
-	public function getMemberType()
91
-	{
92
-		return $this->memberType;
93
-	}
94
-
95
-	public function setOrderScene($orderScene)
96
-	{
97
-		$this->orderScene = $orderScene;
98
-		$this->apiParas["order_scene"] = $orderScene;
99
-	}
100
-
101
-	public function getOrderScene()
102
-	{
103
-		return $this->orderScene;
104
-	}
105
-
106
-	public function setPageNo($pageNo)
107
-	{
108
-		$this->pageNo = $pageNo;
109
-		$this->apiParas["page_no"] = $pageNo;
110
-	}
111
-
112
-	public function getPageNo()
113
-	{
114
-		return $this->pageNo;
115
-	}
116
-
117
-	public function setPageSize($pageSize)
118
-	{
119
-		$this->pageSize = $pageSize;
120
-		$this->apiParas["page_size"] = $pageSize;
121
-	}
122
-
123
-	public function getPageSize()
124
-	{
125
-		return $this->pageSize;
126
-	}
127
-
128
-	public function setPositionIndex($positionIndex)
129
-	{
130
-		$this->positionIndex = $positionIndex;
131
-		$this->apiParas["position_index"] = $positionIndex;
132
-	}
133
-
134
-	public function getPositionIndex()
135
-	{
136
-		return $this->positionIndex;
137
-	}
138
-
139
-	public function setQueryType($queryType)
140
-	{
141
-		$this->queryType = $queryType;
142
-		$this->apiParas["query_type"] = $queryType;
143
-	}
144
-
145
-	public function getQueryType()
146
-	{
147
-		return $this->queryType;
148
-	}
149
-
150
-	public function setStartTime($startTime)
151
-	{
152
-		$this->startTime = $startTime;
153
-		$this->apiParas["start_time"] = $startTime;
154
-	}
155
-
156
-	public function getStartTime()
157
-	{
158
-		return $this->startTime;
159
-	}
160
-
161
-	public function setTkStatus($tkStatus)
162
-	{
163
-		$this->tkStatus = $tkStatus;
164
-		$this->apiParas["tk_status"] = $tkStatus;
165
-	}
166
-
167
-	public function getTkStatus()
168
-	{
169
-		return $this->tkStatus;
170
-	}
171
-
172
-	public function getApiMethodName()
173
-	{
174
-		return "taobao.tbk.order.details.get";
175
-	}
62
+    public function setEndTime($endTime)
63
+    {
64
+        $this->endTime = $endTime;
65
+        $this->apiParas["end_time"] = $endTime;
66
+    }
67
+
68
+    public function getEndTime()
69
+    {
70
+        return $this->endTime;
71
+    }
72
+
73
+    public function setJumpType($jumpType)
74
+    {
75
+        $this->jumpType = $jumpType;
76
+        $this->apiParas["jump_type"] = $jumpType;
77
+    }
78
+
79
+    public function getJumpType()
80
+    {
81
+        return $this->jumpType;
82
+    }
83
+
84
+    public function setMemberType($memberType)
85
+    {
86
+        $this->memberType = $memberType;
87
+        $this->apiParas["member_type"] = $memberType;
88
+    }
89
+
90
+    public function getMemberType()
91
+    {
92
+        return $this->memberType;
93
+    }
94
+
95
+    public function setOrderScene($orderScene)
96
+    {
97
+        $this->orderScene = $orderScene;
98
+        $this->apiParas["order_scene"] = $orderScene;
99
+    }
100
+
101
+    public function getOrderScene()
102
+    {
103
+        return $this->orderScene;
104
+    }
105
+
106
+    public function setPageNo($pageNo)
107
+    {
108
+        $this->pageNo = $pageNo;
109
+        $this->apiParas["page_no"] = $pageNo;
110
+    }
111
+
112
+    public function getPageNo()
113
+    {
114
+        return $this->pageNo;
115
+    }
116
+
117
+    public function setPageSize($pageSize)
118
+    {
119
+        $this->pageSize = $pageSize;
120
+        $this->apiParas["page_size"] = $pageSize;
121
+    }
122
+
123
+    public function getPageSize()
124
+    {
125
+        return $this->pageSize;
126
+    }
127
+
128
+    public function setPositionIndex($positionIndex)
129
+    {
130
+        $this->positionIndex = $positionIndex;
131
+        $this->apiParas["position_index"] = $positionIndex;
132
+    }
133
+
134
+    public function getPositionIndex()
135
+    {
136
+        return $this->positionIndex;
137
+    }
138
+
139
+    public function setQueryType($queryType)
140
+    {
141
+        $this->queryType = $queryType;
142
+        $this->apiParas["query_type"] = $queryType;
143
+    }
144
+
145
+    public function getQueryType()
146
+    {
147
+        return $this->queryType;
148
+    }
149
+
150
+    public function setStartTime($startTime)
151
+    {
152
+        $this->startTime = $startTime;
153
+        $this->apiParas["start_time"] = $startTime;
154
+    }
155
+
156
+    public function getStartTime()
157
+    {
158
+        return $this->startTime;
159
+    }
160
+
161
+    public function setTkStatus($tkStatus)
162
+    {
163
+        $this->tkStatus = $tkStatus;
164
+        $this->apiParas["tk_status"] = $tkStatus;
165
+    }
166
+
167
+    public function getTkStatus()
168
+    {
169
+        return $this->tkStatus;
170
+    }
171
+
172
+    public function getApiMethodName()
173
+    {
174
+        return "taobao.tbk.order.details.get";
175
+    }
176 176
 	
177
-	public function getApiParas()
178
-	{
179
-		return $this->apiParas;
180
-	}
177
+    public function getApiParas()
178
+    {
179
+        return $this->apiParas;
180
+    }
181 181
 	
182
-	public function check()
183
-	{
182
+    public function check()
183
+    {
184 184
 		
185
-		RequestCheckUtil::checkNotNull($this->endTime,"endTime");
186
-		RequestCheckUtil::checkNotNull($this->startTime,"startTime");
187
-	}
185
+        RequestCheckUtil::checkNotNull($this->endTime,"endTime");
186
+        RequestCheckUtil::checkNotNull($this->startTime,"startTime");
187
+    }
188 188
 	
189
-	public function putOtherTextParam($key, $value) {
190
-		$this->apiParas[$key] = $value;
191
-		$this->$key = $value;
192
-	}
189
+    public function putOtherTextParam($key, $value) {
190
+        $this->apiParas[$key] = $value;
191
+        $this->$key = $value;
192
+    }
193 193
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,8 +182,8 @@
 block discarded – undo
182 182
 	public function check()
183 183
 	{
184 184
 		
185
-		RequestCheckUtil::checkNotNull($this->endTime,"endTime");
186
-		RequestCheckUtil::checkNotNull($this->startTime,"startTime");
185
+		RequestCheckUtil::checkNotNull($this->endTime, "endTime");
186
+		RequestCheckUtil::checkNotNull($this->startTime, "startTime");
187 187
 	}
188 188
 	
189 189
 	public function putOtherTextParam($key, $value) {
Please login to merge, or discard this patch.