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
Rock Zhang
2016-04-26 17:18:57 +0800
Commit
c9bbaac574d8e24fccbe9d20aa2c7504fc1698bf
1 parent
83e8e9a7
修复帮助中心详情页没有数据的bug(仍然调用API_OLD)
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
2 deletions
library/Api/Yohobuy.php
library/LibModels/Wap/Home/HelpData.php
static/img/sprite.guang.png
static/img/sprite.me.png
library/Api/Yohobuy.php
View file @
c9bbaac
...
...
@@ -33,7 +33,6 @@ class Yohobuy
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/';
...
...
library/LibModels/Wap/Home/HelpData.php
View file @
c9bbaac
...
...
@@ -38,7 +38,7 @@ class HelpData
$param
[
'code'
]
=
$code
;
$param
[
'return_type'
]
=
'html'
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
post
(
Yohobuy
::
API_
OLD
,
$param
,
true
);
return
Yohobuy
::
post
(
Yohobuy
::
API_
URL
,
$param
,
true
);
}
}
...
...
static/img/sprite.guang.png
View file @
c9bbaac
21.3 KB
|
W:
|
H:
21.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
static/img/sprite.me.png
View file @
c9bbaac
17.3 KB
|
W:
|
H:
17.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Please
register
or
login
to post a comment