Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
src/service/pinduoduo/bin/src/Api/Request/PddDdkOrderDetailGetRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
7 7
 class PddDdkOrderDetailGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "order_sn")
15
-	*/
16
-	private $orderSn;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "query_order_type")
20
-	*/
21
-	private $queryOrderType;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "order_sn", $this->orderSn);
26
-		$this->setUserParam($params, "query_order_type", $this->queryOrderType);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.ddk.order.detail.get";
43
-	}
44
-
45
-	public function setOrderSn($orderSn)
46
-	{
47
-		$this->orderSn = $orderSn;
48
-	}
49
-
50
-	public function setQueryOrderType($queryOrderType)
51
-	{
52
-		$this->queryOrderType = $queryOrderType;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "order_sn")
15
+     */
16
+    private $orderSn;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "query_order_type")
20
+     */
21
+    private $queryOrderType;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "order_sn", $this->orderSn);
26
+        $this->setUserParam($params, "query_order_type", $this->queryOrderType);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.ddk.order.detail.get";
43
+    }
44
+
45
+    public function setOrderSn($orderSn)
46
+    {
47
+        $this->orderSn = $orderSn;
48
+    }
49
+
50
+    public function setQueryOrderType($queryOrderType)
51
+    {
52
+        $this->queryOrderType = $queryOrderType;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddGoodsLatestCommitStatusGetRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddGoodsLatestCommitStatusGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "goods_id_list")
15
-	*/
16
-	private $goodsIdList;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "goods_id_list", $this->goodsIdList);
21
-
22
-	}
23
-
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
28
-
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
33
-
34
-	public function getType()
35
-	{
36
-		return "pdd.goods.latest.commit.status.get";
37
-	}
38
-
39
-	public function setGoodsIdList($goodsIdList)
40
-	{
41
-		$this->goodsIdList = $goodsIdList;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "goods_id_list")
15
+     */
16
+    private $goodsIdList;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
21
+
22
+    }
23
+
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28
+
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33
+
34
+    public function getType()
35
+    {
36
+        return "pdd.goods.latest.commit.status.get";
37
+    }
38
+
39
+    public function setGoodsIdList($goodsIdList)
40
+    {
41
+        $this->goodsIdList = $goodsIdList;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsCatsGetRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddGoodsCatsGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "parent_cat_id")
15
-	*/
16
-	private $parentCatId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "parent_cat_id", $this->parentCatId);
21
-
22
-	}
23
-
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
28
-
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
33
-
34
-	public function getType()
35
-	{
36
-		return "pdd.goods.cats.get";
37
-	}
38
-
39
-	public function setParentCatId($parentCatId)
40
-	{
41
-		$this->parentCatId = $parentCatId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "parent_cat_id")
15
+     */
16
+    private $parentCatId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "parent_cat_id", $this->parentCatId);
21
+
22
+    }
23
+
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28
+
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33
+
34
+    public function getType()
35
+    {
36
+        return "pdd.goods.cats.get";
37
+    }
38
+
39
+    public function setParentCatId($parentCatId)
40
+    {
41
+        $this->parentCatId = $parentCatId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddFdsWaybillReturnRequest.php 1 patch
Indentation   +70 added lines, -70 removed lines patch added patch discarded remove patch
@@ -7,88 +7,88 @@
 block discarded – undo
7 7
 class PddFdsWaybillReturnRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillReturnRequest_ParamFdsWaybillReturnRequest, "param_fds_waybill_return_request")
15
-	*/
16
-	private $paramFdsWaybillReturnRequest;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillReturnRequest_ParamFdsWaybillReturnRequest, "param_fds_waybill_return_request")
15
+     */
16
+    private $paramFdsWaybillReturnRequest;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "param_fds_waybill_return_request", $this->paramFdsWaybillReturnRequest);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "param_fds_waybill_return_request", $this->paramFdsWaybillReturnRequest);
21 21
 
22
-	}
22
+    }
23 23
 
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28 28
 
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33 33
 
34
-	public function getType()
35
-	{
36
-		return "pdd.fds.waybill.return";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.fds.waybill.return";
37
+    }
38 38
 
39
-	public function setParamFdsWaybillReturnRequest($paramFdsWaybillReturnRequest)
40
-	{
41
-		$this->paramFdsWaybillReturnRequest = $paramFdsWaybillReturnRequest;
42
-	}
39
+    public function setParamFdsWaybillReturnRequest($paramFdsWaybillReturnRequest)
40
+    {
41
+        $this->paramFdsWaybillReturnRequest = $paramFdsWaybillReturnRequest;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddFdsWaybillReturnRequest_ParamFdsWaybillReturnRequest extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "mall_mask_id")
56
-	*/
57
-	private $mallMaskId;
58
-
59
-	/**
60
-	* @JsonProperty(String, "order_mask_sn")
61
-	*/
62
-	private $orderMaskSn;
63
-
64
-	/**
65
-	* @JsonProperty(String, "waybill_code")
66
-	*/
67
-	private $waybillCode;
68
-
69
-	/**
70
-	* @JsonProperty(String, "wp_code")
71
-	*/
72
-	private $wpCode;
73
-
74
-	public function setMallMaskId($mallMaskId)
75
-	{
76
-		$this->mallMaskId = $mallMaskId;
77
-	}
78
-
79
-	public function setOrderMaskSn($orderMaskSn)
80
-	{
81
-		$this->orderMaskSn = $orderMaskSn;
82
-	}
83
-
84
-	public function setWaybillCode($waybillCode)
85
-	{
86
-		$this->waybillCode = $waybillCode;
87
-	}
88
-
89
-	public function setWpCode($wpCode)
90
-	{
91
-		$this->wpCode = $wpCode;
92
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "mall_mask_id")
56
+     */
57
+    private $mallMaskId;
58
+
59
+    /**
60
+     * @JsonProperty(String, "order_mask_sn")
61
+     */
62
+    private $orderMaskSn;
63
+
64
+    /**
65
+     * @JsonProperty(String, "waybill_code")
66
+     */
67
+    private $waybillCode;
68
+
69
+    /**
70
+     * @JsonProperty(String, "wp_code")
71
+     */
72
+    private $wpCode;
73
+
74
+    public function setMallMaskId($mallMaskId)
75
+    {
76
+        $this->mallMaskId = $mallMaskId;
77
+    }
78
+
79
+    public function setOrderMaskSn($orderMaskSn)
80
+    {
81
+        $this->orderMaskSn = $orderMaskSn;
82
+    }
83
+
84
+    public function setWaybillCode($waybillCode)
85
+    {
86
+        $this->waybillCode = $waybillCode;
87
+    }
88
+
89
+    public function setWpCode($wpCode)
90
+    {
91
+        $this->wpCode = $wpCode;
92
+    }
93 93
 
94 94
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddFdsRoleGetRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddFdsRoleGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.fds.role.get";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.fds.role.get";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddDdkOauthTopGoodsListQueryRequest.php 1 patch
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -7,93 +7,93 @@
 block discarded – undo
7 7
 class PddDdkOauthTopGoodsListQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "limit")
15
-	*/
16
-	private $limit;
17
-
18
-	/**
19
-	* @JsonProperty(String, "list_id")
20
-	*/
21
-	private $listId;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "offset")
25
-	*/
26
-	private $offset;
27
-
28
-	/**
29
-	* @JsonProperty(String, "p_id")
30
-	*/
31
-	private $pId;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "sort_type")
35
-	*/
36
-	private $sortType;
37
-
38
-	/**
39
-	* @JsonProperty(String, "custom_parameters")
40
-	*/
41
-	private $customParameters;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "limit", $this->limit);
46
-		$this->setUserParam($params, "list_id", $this->listId);
47
-		$this->setUserParam($params, "offset", $this->offset);
48
-		$this->setUserParam($params, "p_id", $this->pId);
49
-		$this->setUserParam($params, "sort_type", $this->sortType);
50
-		$this->setUserParam($params, "custom_parameters", $this->customParameters);
51
-
52
-	}
53
-
54
-	public function getVersion()
55
-	{
56
-		return "V1";
57
-	}
58
-
59
-	public function getDataType()
60
-	{
61
-		return "JSON";
62
-	}
63
-
64
-	public function getType()
65
-	{
66
-		return "pdd.ddk.oauth.top.goods.list.query";
67
-	}
68
-
69
-	public function setLimit($limit)
70
-	{
71
-		$this->limit = $limit;
72
-	}
73
-
74
-	public function setListId($listId)
75
-	{
76
-		$this->listId = $listId;
77
-	}
78
-
79
-	public function setOffset($offset)
80
-	{
81
-		$this->offset = $offset;
82
-	}
83
-
84
-	public function setPId($pId)
85
-	{
86
-		$this->pId = $pId;
87
-	}
88
-
89
-	public function setSortType($sortType)
90
-	{
91
-		$this->sortType = $sortType;
92
-	}
93
-
94
-	public function setCustomParameters($customParameters)
95
-	{
96
-		$this->customParameters = $customParameters;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "limit")
15
+     */
16
+    private $limit;
17
+
18
+    /**
19
+     * @JsonProperty(String, "list_id")
20
+     */
21
+    private $listId;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "offset")
25
+     */
26
+    private $offset;
27
+
28
+    /**
29
+     * @JsonProperty(String, "p_id")
30
+     */
31
+    private $pId;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "sort_type")
35
+     */
36
+    private $sortType;
37
+
38
+    /**
39
+     * @JsonProperty(String, "custom_parameters")
40
+     */
41
+    private $customParameters;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "limit", $this->limit);
46
+        $this->setUserParam($params, "list_id", $this->listId);
47
+        $this->setUserParam($params, "offset", $this->offset);
48
+        $this->setUserParam($params, "p_id", $this->pId);
49
+        $this->setUserParam($params, "sort_type", $this->sortType);
50
+        $this->setUserParam($params, "custom_parameters", $this->customParameters);
51
+
52
+    }
53
+
54
+    public function getVersion()
55
+    {
56
+        return "V1";
57
+    }
58
+
59
+    public function getDataType()
60
+    {
61
+        return "JSON";
62
+    }
63
+
64
+    public function getType()
65
+    {
66
+        return "pdd.ddk.oauth.top.goods.list.query";
67
+    }
68
+
69
+    public function setLimit($limit)
70
+    {
71
+        $this->limit = $limit;
72
+    }
73
+
74
+    public function setListId($listId)
75
+    {
76
+        $this->listId = $listId;
77
+    }
78
+
79
+    public function setOffset($offset)
80
+    {
81
+        $this->offset = $offset;
82
+    }
83
+
84
+    public function setPId($pId)
85
+    {
86
+        $this->pId = $pId;
87
+    }
88
+
89
+    public function setSortType($sortType)
90
+    {
91
+        $this->sortType = $sortType;
92
+    }
93
+
94
+    public function setCustomParameters($customParameters)
95
+    {
96
+        $this->customParameters = $customParameters;
97
+    }
98 98
 
99 99
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddDdyPdpUserDeleteRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddDdyPdpUserDeleteRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "owner_id")
15
-	*/
16
-	private $ownerId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "owner_id", $this->ownerId);
21
-
22
-	}
23
-
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
28
-
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
33
-
34
-	public function getType()
35
-	{
36
-		return "pdd.ddy.pdp.user.delete";
37
-	}
38
-
39
-	public function setOwnerId($ownerId)
40
-	{
41
-		$this->ownerId = $ownerId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "owner_id")
15
+     */
16
+    private $ownerId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "owner_id", $this->ownerId);
21
+
22
+    }
23
+
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28
+
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33
+
34
+    public function getType()
35
+    {
36
+        return "pdd.ddy.pdp.user.delete";
37
+    }
38
+
39
+    public function setOwnerId($ownerId)
40
+    {
41
+        $this->ownerId = $ownerId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddPmcAccrueQueryRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddPmcAccrueQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.pmc.accrue.query";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.pmc.accrue.query";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddPromotionLimitedActivityCancelRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
7 7
 class PddPromotionLimitedActivityCancelRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "detail_id")
15
-	*/
16
-	private $detailId;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "goods_id")
20
-	*/
21
-	private $goodsId;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "detail_id", $this->detailId);
26
-		$this->setUserParam($params, "goods_id", $this->goodsId);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.promotion.limited.activity.cancel";
43
-	}
44
-
45
-	public function setDetailId($detailId)
46
-	{
47
-		$this->detailId = $detailId;
48
-	}
49
-
50
-	public function setGoodsId($goodsId)
51
-	{
52
-		$this->goodsId = $goodsId;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "detail_id")
15
+     */
16
+    private $detailId;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "goods_id")
20
+     */
21
+    private $goodsId;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "detail_id", $this->detailId);
26
+        $this->setUserParam($params, "goods_id", $this->goodsId);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.promotion.limited.activity.cancel";
43
+    }
44
+
45
+    public function setDetailId($detailId)
46
+    {
47
+        $this->detailId = $detailId;
48
+    }
49
+
50
+    public function setGoodsId($goodsId)
51
+    {
52
+        $this->goodsId = $goodsId;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.