Showing
1 changed file
with
11 additions
and
10 deletions
@@ -17,17 +17,18 @@ use Plugin\Cache; | @@ -17,17 +17,18 @@ use Plugin\Cache; | ||
17 | class Yohobuy | 17 | class Yohobuy |
18 | { | 18 | { |
19 | /* 正式环境 */ | 19 | /* 正式环境 */ |
20 | - | ||
21 | - const API_URL = 'http://api2.open.yohobuy.com/'; | ||
22 | - const API_URL2 = 'http://api.open.yohobuy.com/'; | ||
23 | - const SERVICE_URL = 'http://service.api.yohobuy.com/'; | ||
24 | - const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
25 | - | ||
26 | -// const API_URL = 'http://apih5.yoho.cn/'; | ||
27 | -// const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | -// const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | 20 | + // php API |
21 | +// const API_URL = 'http://api2.open.yohobuy.com/'; | ||
22 | +// const API_URL2 = 'http://api.open.yohobuy.com/'; | ||
23 | +// const SERVICE_URL = 'http://service.api.yohobuy.com/'; | ||
29 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 24 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
30 | -// const API_OLD = 'http://api2.open.yohobuy.com/'; | 25 | + |
26 | + //java API | ||
27 | + const API_URL = 'http://apih5.yoho.cn/'; | ||
28 | + const API_URL2 = 'http://apih5.yoho.cn/'; | ||
29 | + const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
30 | + const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
31 | + const API_OLD = 'http://api2.open.yohobuy.com/'; | ||
31 | 32 | ||
32 | /* 测试环境 */ | 33 | /* 测试环境 */ |
33 | // const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' | 34 | // const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' |
-
Please register or login to post a comment