Showing
3 changed files
with
5 additions
and
5 deletions
@@ -22,7 +22,7 @@ class IndexData | @@ -22,7 +22,7 @@ class IndexData | ||
22 | $params = array('parent_id'=>'','platform'=>'web', | 22 | $params = array('parent_id'=>'','platform'=>'web', |
23 | 'status'=> $status,'fields'=> $fields | 23 | 'status'=> $status,'fields'=> $fields |
24 | ); | 24 | ); |
25 | - return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_OPERATIONS_CATEGORY,'getCategory', $params, true); | 25 | + return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_OPERATIONS_CATEGORY,'getCategory', $params, 3600); |
26 | } | 26 | } |
27 | 27 | ||
28 | /** | 28 | /** |
@@ -40,7 +40,7 @@ class IndexData | @@ -40,7 +40,7 @@ class IndexData | ||
40 | $params['client_type'] = $client_type; | 40 | $params['client_type'] = $client_type; |
41 | $params['private_key'] = Yohobuy::$privateKeyList[$client_type]; | 41 | $params['private_key'] = Yohobuy::$privateKeyList[$client_type]; |
42 | $params['client_secret'] = Sign::getSign($params); | 42 | $params['client_secret'] = Sign::getSign($params); |
43 | - return Yohobuy::get(Yohobuy::SERVICE_URL . self::URL_OPERATIONS_RESOURCE_GET, $params, true); | 43 | + return Yohobuy::get(Yohobuy::SERVICE_URL . self::URL_OPERATIONS_RESOURCE_GET, $params, 3600); |
44 | } | 44 | } |
45 | 45 | ||
46 | /** | 46 | /** |
@@ -20,7 +20,7 @@ class UserData extends \LibModels\Wap\Home\UserData | @@ -20,7 +20,7 @@ class UserData extends \LibModels\Wap\Home\UserData | ||
20 | $param['debug'] = 'Y'; | 20 | $param['debug'] = 'Y'; |
21 | $param['screen_size'] = '320x568'; | 21 | $param['screen_size'] = '320x568'; |
22 | $param['client_secret'] = Sign::getSign($param); | 22 | $param['client_secret'] = Sign::getSign($param); |
23 | - return Yohobuy::get(Yohobuy::API_URL, $param, true); | 23 | + return Yohobuy::get(Yohobuy::API_URL, $param, 3600); |
24 | } | 24 | } |
25 | 25 | ||
26 | /** | 26 | /** |
@@ -37,6 +37,6 @@ class UserData extends \LibModels\Wap\Home\UserData | @@ -37,6 +37,6 @@ class UserData extends \LibModels\Wap\Home\UserData | ||
37 | $param['debug'] = 'Y'; | 37 | $param['debug'] = 'Y'; |
38 | $param['screen_size'] = '320x568'; | 38 | $param['screen_size'] = '320x568'; |
39 | $param['client_secret'] = Sign::getSign($param); | 39 | $param['client_secret'] = Sign::getSign($param); |
40 | - return Yohobuy::get(Yohobuy::API_URL, $param, true); | 40 | + return Yohobuy::get(Yohobuy::API_URL, $param, 3600); |
41 | } | 41 | } |
42 | } | 42 | } |
@@ -16,7 +16,7 @@ class BackData extends \LibModels\Wap\Passport\BackData | @@ -16,7 +16,7 @@ class BackData extends \LibModels\Wap\Passport\BackData | ||
16 | $param['method'] = 'app.register.checkCodeValid'; | 16 | $param['method'] = 'app.register.checkCodeValid'; |
17 | $param['code'] = $code; | 17 | $param['code'] = $code; |
18 | $param['client_secret'] = Sign::getSign($param); | 18 | $param['client_secret'] = Sign::getSign($param); |
19 | - return Yohobuy::get(Yohobuy::API_URL, $param, true); // 缓存1小时 | 19 | + return Yohobuy::get(Yohobuy::API_URL, $param, 3600); // 缓存1小时 |
20 | } | 20 | } |
21 | 21 | ||
22 | /** | 22 | /** |
-
Please register or login to post a comment