Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
66f1170841332f5443dad4fca4e36555b11a8d8f
1 parent
3ca283e0
测试环境
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
33 deletions
library/Api/Yohobuy.php
library/Api/Yohobuy.php
View file @
66f1170
...
...
@@ -16,48 +16,32 @@ use Plugin\Cache;
class
Yohobuy
{
/* 正式环境 */
// php API
// php API
// const API_URL = 'http://api2.open.yohobuy.com/';
// const API_URL2 = 'http://api.open.yohobuy.com/';
// const SERVICE_URL = 'http://service.api.yohobuy.com/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
//java API
/*const API_URL = 'http://apih5.yoho.cn/';
const API_URL2 = 'http://apih5.yoho.cn/';
const SERVICE_URL = 'http://serviceh5.yoho.cn/';
const YOHOBUY_URL = 'http://www.yohobuy.com/';
const API_OLD = 'http://api2.open.yohobuy.com/';*/
// const API_URL = 'http://api.yoho.cn/';
// const API_URL2 = 'http://api.yoho.cn/';
// const SERVICE_URL = 'http://service.yoho.cn/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
// const API_OLD = 'http://api2.open.yohobuy.com/';
/* 预览环境 java API */
//java API
/*const API_URL = 'http://api.yoho.cn/';
const API_URL2 = 'http://api.yoho.cn/';
const SERVICE_URL = 'http://service.yoho.cn/';
const YOHOBUY_URL = 'http://www.yohobuy.com/';
const API_OLD = 'http://api2.open.yohobuy.com/';*/
// 测试环境 */
const
API_URL
=
'http://testapi.yoho.cn:28078/'
;
// 'http://192.168.102.205:8080/gateway/'
const
SERVICE_URL
=
'http://testservice.yoho.cn:28077/'
;
const
YOHOBUY_URL
=
'http://www.yohobuy.com/'
;
const
API_OLD
=
'http://test2.open.yohobuy.com/'
;
/* 预览环境 */
// const API_URL = 'http://preapi.yoho.cn/';
// const API_URL2 = 'http://preapi.yoho.cn/';
// const SERVICE_URL = 'http://
serviceh5
.yoho.cn/';
// const SERVICE_URL = 'http://
preservice
.yoho.cn/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
// const API_OLD = 'http://api2.open.yohobuy.com/';
/* 测试环境 java API*/
const
API_URL
=
'http://testapi.yoho.cn:28078/'
;
// 'http://devapi.yoho.cn:58078/';
const
API_URL
=
'http://devapi.yoho.cn:58078/'
;
const
DEV_API_URL
=
'http://devapi.yoho.cn:58078/'
;
const
SERVICE_URL
=
'http://testservice.yoho.cn:28077/'
;
// 'http://devservice.yoho.cn:58077/';
const
DEV_SERVICE_URL
=
'http://devservice.yoho.cn:58077/'
;
const
PRD_SERVICE_URL
=
'http://serviceh5.yoho.cn/'
;
const
YOHOBUY_URL
=
'http://www.yohobuy.com/'
;
const
API_OLD
=
'http://test2.open.yohobuy.com/'
;
/* 测试环境 php API*/
// const API_URL = 'http://test2.open.yohobuy.com/';
// const SERVICE_URL = 'http://test.service.api.yohobuy.com/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
// const API_OLD = 'http://api2.open.yohobuy.com/';
/**
* 登录老接口Api配置
*/
...
...
Please
register
or
login
to post a comment