Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
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
3e5aa6e2f5e0e80a60df99295496c8daf037a5b2
1 parent
0cf032c2
修复商品详情页评价中的颜色和尺码的显示方式
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
3e5aa6e
...
...
@@ -127,7 +127,7 @@ class DetailModel
$build
=
array
();
foreach
(
$baseInfo
[
'commentBoWrapper'
][
'commentBoList'
]
as
$value
)
{
$build
[
'userName'
]
=
$value
[
'nickName'
];
$build
[
'desc'
]
=
$value
[
'colorName'
]
.
$value
[
'sizeName'
];
$build
[
'desc'
]
=
$value
[
'colorName'
]
.
'/'
.
$value
[
'sizeName'
];
$build
[
'content'
]
=
$value
[
'content'
];
$build
[
'time'
]
=
$value
[
'createTime'
];
$result
[
'feedbacks'
][
'comments'
][]
=
$build
;
...
...
Please
register
or
login
to post a comment