Showing
1 changed file
with
17 additions
and
33 deletions
@@ -16,48 +16,32 @@ use Plugin\Cache; | @@ -16,48 +16,32 @@ use Plugin\Cache; | ||
16 | class Yohobuy | 16 | class Yohobuy |
17 | { | 17 | { |
18 | /* 正式环境 */ | 18 | /* 正式环境 */ |
19 | - // php API | 19 | + // php API |
20 | // const API_URL = 'http://api2.open.yohobuy.com/'; | 20 | // const API_URL = 'http://api2.open.yohobuy.com/'; |
21 | // const API_URL2 = 'http://api.open.yohobuy.com/'; | 21 | // const API_URL2 = 'http://api.open.yohobuy.com/'; |
22 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; | 22 | // const SERVICE_URL = 'http://service.api.yohobuy.com/'; |
23 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 23 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
24 | - | ||
25 | - //java API | ||
26 | - /*const API_URL = 'http://apih5.yoho.cn/'; | ||
27 | - const API_URL2 = 'http://apih5.yoho.cn/'; | ||
28 | - const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
29 | - const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
30 | - const API_OLD = 'http://api2.open.yohobuy.com/';*/ | ||
31 | - | ||
32 | -// const API_URL = 'http://api.yoho.cn/'; | ||
33 | -// const API_URL2 = 'http://api.yoho.cn/'; | ||
34 | -// const SERVICE_URL = 'http://service.yoho.cn/'; | ||
35 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
36 | -// const API_OLD = 'http://api2.open.yohobuy.com/'; | ||
37 | - | ||
38 | - /* 预览环境 java API */ | 24 | + |
25 | + //java API | ||
26 | + /*const API_URL = 'http://api.yoho.cn/'; | ||
27 | + const API_URL2 = 'http://api.yoho.cn/'; | ||
28 | + const SERVICE_URL = 'http://service.yoho.cn/'; | ||
29 | + const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
30 | + const API_OLD = 'http://api2.open.yohobuy.com/';*/ | ||
31 | + | ||
32 | + // 测试环境 */ | ||
33 | + const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/' | ||
34 | + const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; | ||
35 | + const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
36 | + const API_OLD = 'http://test2.open.yohobuy.com/'; | ||
37 | + | ||
38 | + /* 预览环境 */ | ||
39 | // const API_URL = 'http://preapi.yoho.cn/'; | 39 | // const API_URL = 'http://preapi.yoho.cn/'; |
40 | // const API_URL2 = 'http://preapi.yoho.cn/'; | 40 | // const API_URL2 = 'http://preapi.yoho.cn/'; |
41 | -// const SERVICE_URL = 'http://serviceh5.yoho.cn/'; | 41 | +// const SERVICE_URL = 'http://preservice.yoho.cn/'; |
42 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; | 42 | // const YOHOBUY_URL = 'http://www.yohobuy.com/'; |
43 | // const API_OLD = 'http://api2.open.yohobuy.com/'; | 43 | // const API_OLD = 'http://api2.open.yohobuy.com/'; |
44 | 44 | ||
45 | - /* 测试环境 java API*/ | ||
46 | - const API_URL = 'http://testapi.yoho.cn:28078/'; // 'http://devapi.yoho.cn:58078/'; | ||
47 | - const API_URL = 'http://devapi.yoho.cn:58078/'; | ||
48 | - const DEV_API_URL = 'http://devapi.yoho.cn:58078/'; | ||
49 | - const SERVICE_URL = 'http://testservice.yoho.cn:28077/'; // 'http://devservice.yoho.cn:58077/'; | ||
50 | - const DEV_SERVICE_URL = 'http://devservice.yoho.cn:58077/'; | ||
51 | - const PRD_SERVICE_URL = 'http://serviceh5.yoho.cn/'; | ||
52 | - const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
53 | - const API_OLD = 'http://test2.open.yohobuy.com/'; | ||
54 | - | ||
55 | - /* 测试环境 php API*/ | ||
56 | -// const API_URL = 'http://test2.open.yohobuy.com/'; | ||
57 | -// const SERVICE_URL = 'http://test.service.api.yohobuy.com/'; | ||
58 | -// const YOHOBUY_URL = 'http://www.yohobuy.com/'; | ||
59 | -// const API_OLD = 'http://api2.open.yohobuy.com/'; | ||
60 | - | ||
61 | /** | 45 | /** |
62 | * 登录老接口Api配置 | 46 | * 登录老接口Api配置 |
63 | */ | 47 | */ |
-
Please register or login to post a comment