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
whb
9 years ago
Commit
efc666930a365a8444b53a6cbe194eb10a5045a1
1 parent
dcb941d9
修改问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/models/Home/Favorite.php
yohobuy/www.yohobuy.com/application/models/Home/Favorite.php
View file @
efc6669
...
...
@@ -208,7 +208,7 @@ class FavoriteModel
foreach
(
$article
[
'data'
][
'data'
]
as
$artkey
=>
$artval
)
{
$articles
[
$artkey
][
'id'
]
=
$artval
[
'id'
];
//文章标题
$articles
[
$artkey
][
'name'
]
=
$artval
[
'title'
];
//文章标题
$articles
[
$artkey
][
'img'
]
=
Images
::
getImageUrl
(
$artval
[
'src'
],
600
,
200
);
//文章图片
$articles
[
$artkey
][
'img'
]
=
Images
::
getImageUrl
(
$artval
[
'src'
],
146
,
96
);
//文章图片
$articles
[
$artkey
][
'desc'
]
=
$artval
[
'intro'
];
//文章介绍
$articles
[
$artkey
][
'url'
]
=
Helpers
::
url
(
'/'
.
$artval
[
'id'
]
.
'.html'
,
''
,
'guang'
);
//文章链接
$result
[
'articles'
]
=
$articles
;
...
...
Please
register
or
login
to post a comment