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
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
dc9c23d83c6c607baf4596407354197bd79994ea
2 parents
b0b3b752
58896e21
Merge remote-tracking branch 'origin/beta/wap' into beta/wap
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
library/Api/Yohobuy.php
yohobuy/m.yohobuy.com/application/models/Index/User.php
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
library/Api/Yohobuy.php
View file @
dc9c23d
...
...
@@ -24,17 +24,17 @@ class Yohobuy
// 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://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://testapi.yoho.cn:28078/'; // 'http://192.168.102.205:8080/gateway/'
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_OLD
=
'http://test2.open.yohobuy.com/'
;
/* 预览环境 */
// const API_URL = 'http://preapi.yoho.cn/';
...
...
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
dc9c23d
...
...
@@ -115,7 +115,7 @@ class UserModel
// 处理个人中心页面优选新品数据
if
(
!
empty
(
$preferenceData
[
'data'
]))
{
foreach
(
$preferenceData
[
'data'
]
as
$value
)
{
$value
=
Helpers
::
formatProduct
(
$value
,
false
,
true
,
true
,
299
,
388
,
false
,
false
);
$value
=
Helpers
::
formatProduct
(
$value
,
false
,
true
,
true
,
299
,
388
,
false
);
if
(
false
!==
$value
)
{
$result
[
'recommendList'
][]
=
$value
;
}
...
...
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
dc9c23d
...
...
@@ -220,7 +220,7 @@ class IndexController extends AbstractAction
$data
[
'goodList'
]
+=
$condition
;
$data
[
'pageFooter'
]
=
true
;
if
(
$title
===
''
)
{
if
(
empty
(
$title
)
)
{
$title
=
$domain
;
}
$this
->
setTitle
(
$title
);
...
...
Please
register
or
login
to post a comment