Authored by 梁志锋

错误代码

@@ -14,36 +14,6 @@ namespace Api; @@ -14,36 +14,6 @@ namespace Api;
14 use Plugin\Cache; 14 use Plugin\Cache;
15 class Yohobuy 15 class Yohobuy
16 { 16 {
17 - /* 正式环境 */  
18 - // php API  
19 -// const API_URL = 'http://api2.open.yohobuy.com/';  
20 -// const API_URL2 = 'http://api.open.yohobuy.com/';  
21 -// const SERVICE_URL = 'http://service.api.yohobuy.com/';  
22 -// const YOHOBUY_URL = 'http://www.yohobuy.com/';  
23 -  
24 - //java API  
25 - // const API_URL = 'http://api.yoho.yohoops.org/';//  
26 - // const API_URL2 = 'http://api.yoho.yohoops.org/';//  
27 - // const SERVICE_URL = 'http://service.yoho.yohoops.org/';  
28 - // const YOHOBUY_URL = 'http://www.yohobuy.com/';  
29 - // const API_OLD = 'http://api2.open.yohobuy.com/';  
30 - // 支付回调地址  
31 - // const SERVICE_NOTIFY = 'http://service.yoho.cn/';  
32 -  
33 - // 测试环境 */  
34 - const API_URL = 'http://testapi.yoho.cn:28078/'; // http://testapi.yoho.cn:28078/ http://devapi.yoho.cn:58078/  
35 - const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; // http://testservice.yoho.cn:28077/ http://devservice.yoho.cn:58077/  
36 - const YOHOBUY_URL = 'http://www.yohobuy.com/';  
37 - const API_OLD = 'http://test2.open.yohobuy.com/';  
38 -// 支付回调地址  
39 - const SERVICE_NOTIFY = 'http://testservice.yoho.cn:28077/';  
40 -  
41 - /* 预览环境 */  
42 -// const API_URL = 'http://preapi.yoho.cn/';  
43 -// const API_URL2 = 'http://preapi.yoho.cn/';  
44 -// const SERVICE_URL = 'http://preservice.yoho.cn/';  
45 -// const YOHOBUY_URL = 'http://www.yohobuy.com/';  
46 -// const API_OLD = 'http://api2.open.yohobuy.com/';  
47 17
48 /** 18 /**
49 * 登录老接口Api配置 19 * 登录老接口Api配置
@@ -70,7 +70,7 @@ class UserData @@ -70,7 +70,7 @@ class UserData
70 $param['uid'] = $uid; 70 $param['uid'] = $uid;
71 $param['client_secret'] = Sign::getSign($param); 71 $param['client_secret'] = Sign::getSign($param);
72 72
73 - return Yohobuy::post(Yohobuy::API_URL, $param); 73 + return Yohobuy::post(API_URL, $param);
74 } 74 }
75 75
76 /** 76 /**