...
|
...
|
@@ -31,7 +31,7 @@ class Yohobuy |
|
|
// const SERVICE_NOTIFY = 'http://service.yoho.cn/';
|
|
|
|
|
|
// 测试环境 */
|
|
|
const API_URL = 'http://devapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' devapi.yoho.cn:58078 testapi.yoho.cn:28078
|
|
|
const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' devapi.yoho.cn:58078 testapi.yoho.cn:28078
|
|
|
const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
|
|
|
const YOHOBUY_URL = 'http://www.yohobuy.com/';
|
|
|
const API_OLD = 'http://test2.open.yohobuy.com/';
|
...
|
...
|
@@ -174,7 +174,7 @@ class Yohobuy |
|
|
}
|
|
|
if (!empty($data)) {
|
|
|
$url = self::httpBuildQuery($url, $data);
|
|
|
} //echo $url;
|
|
|
} echo $url;
|
|
|
/* 开启缓存的情况 */
|
|
|
if ($cache && USE_CACHE) {
|
|
|
// 先尝试获取一级缓存(master), 有数据则直接返回.
|
...
|
...
|
|