Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
9 years ago
Commit
c6db8a14c1b2a681eea4f234b721b804c5fc95d8
1 parent
d0d754b9
修复首页潮人潮品链接地址错误,修复新品到着,折扣专区显示new标签
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
library/Plugin/DataProcess/FloorProcess.php
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
library/Plugin/DataProcess/FloorProcess.php
View file @
c6db8a1
...
...
@@ -228,7 +228,7 @@ class FloorProcess
foreach
(
$data
as
$key
=>&
$value
){
if
(
$key
==
'title'
){
$value
[
'more_url'
]
=
Helpers
::
url
(
''
,
array
(
'id'
=>
2
,
'gender'
=>
self
::
$channel
[
$type
]),
'guang'
);
$value
[
'more_url'
]
=
Helpers
::
url
(
''
,
array
(
'id'
=>
3
,
'gender'
=>
self
::
$channel
[
$type
]),
'guang'
);
}
if
(
$key
==
'article'
){
foreach
(
$value
as
&
$one
){
...
...
@@ -266,7 +266,7 @@ class FloorProcess
foreach
(
$data
as
$key
=>&
$value
){
if
(
$key
==
'title'
){
$value
[
'more_url'
]
=
Helpers
::
url
(
''
,
array
(
'id'
=>
1
,
'gender'
=>
self
::
$channel
[
$type
]),
'guang'
);
$value
[
'more_url'
]
=
Helpers
::
url
(
''
,
array
(
'id'
=>
4
,
'gender'
=>
self
::
$channel
[
$type
]),
'guang'
);
}
if
(
$key
==
'list'
){
foreach
(
$value
as
&
$one
)
{
...
...
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
View file @
c6db8a1
...
...
@@ -212,7 +212,7 @@ class NewsaleModel
if
(
isset
(
$data
[
'code'
])
&&
$data
[
'code'
]
===
200
)
{
foreach
(
$data
[
'data'
][
'product_list'
]
as
$val
)
{
$result
[
'goods'
][]
=
Helpers
::
formatProduct
(
$val
);
$result
[
'goods'
][]
=
Helpers
::
formatProduct
(
$val
,
true
,
false
,
false
);
}
}
...
...
Please
register
or
login
to post a comment