|
@@ -26,17 +26,25 @@ class OrderData |
|
@@ -26,17 +26,25 @@ class OrderData |
26
|
|
26
|
|
27
|
static function getOrderData($type, $page, $limit, $gender, $yh_channel, $uid) {
|
27
|
static function getOrderData($type, $page, $limit, $gender, $yh_channel, $uid) {
|
28
|
//构建必传参数
|
28
|
//构建必传参数
|
29
|
- $param = Yohobuy::param();
|
|
|
30
|
- $param['gender'] = $gender;
|
|
|
31
|
- $param['limit'] = $limit;
|
|
|
32
|
- $param['method'] = 'app.SpaceOrders.get';
|
|
|
33
|
- $param['page'] = $page;
|
|
|
34
|
- $param['type'] = $type;
|
|
|
35
|
- $param['uid'] = $uid;
|
|
|
36
|
- $param['yh_channel'] = $yh_channel;
|
|
|
37
|
- $param['client_secret'] = Sign::getSign($param);
|
|
|
38
|
- //调用接口获得数据
|
|
|
39
|
- return Yohobuy::get(Yohobuy::API_URL, $param);
|
29
|
+// $param = Yohobuy::param();
|
|
|
30
|
+// $param['gender'] = $gender;
|
|
|
31
|
+// $param['limit'] = $limit;
|
|
|
32
|
+// $param['method'] = 'app.SpaceOrders.get';
|
|
|
33
|
+// $param['page'] = $page;
|
|
|
34
|
+// $param['type'] = $type;
|
|
|
35
|
+// $param['uid'] = $uid;
|
|
|
36
|
+// $param['yh_channel'] = $yh_channel;
|
|
|
37
|
+// $param['client_secret'] = Sign::getSign($param);
|
|
|
38
|
+// //调用接口获得数据
|
|
|
39
|
+// return Yohobuy::get(Yohobuy::API_URL, $param);
|
|
|
40
|
+ $param['limit'] = '10';
|
|
|
41
|
+ $param['page'] = 1;
|
|
|
42
|
+ $param['type'] = 1;
|
|
|
43
|
+ $param['uid'] = '12';
|
|
|
44
|
+ $param['iscancel'] = false;
|
|
|
45
|
+ $param['paymentStatus'] = 'Y';
|
|
|
46
|
+ print_r($param);
|
|
|
47
|
+ var_dump(Yohobuy::jsonPost(Yohobuy::YOHOBUY_ORDER.'orderInfo/getOrderList',$param));
|
40
|
}
|
48
|
}
|
41
|
|
49
|
|
42
|
/*
|
50
|
/*
|