Passed
Push — v6 ( 0ec70f...32f4f3 )
by 光春
03:48
created
src/service/taobao/bin/top/domain/Extend.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,9 +7,9 @@
 block discarded – undo
7 7
 class Extend
8 8
 {
9 9
 	
10
-	/** 
11
-	 * empty
12
-	 **/
13
-	public $empty;	
10
+    /** 
11
+     * empty
12
+     **/
13
+    public $empty;	
14 14
 }
15 15
 ?>
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
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.