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
07f7f059f946289c74d629c9715a81477b99c45a
1 parent
b9606906
添加意见反馈的id字段
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
framework
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/application/models/Index/User.php
framework
@
e9d066dd
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
Subproject commit
e9d066dd88a8e7e37103021c427a205a5cfcdcec
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
07f7f05
...
...
@@ -369,6 +369,7 @@ class HomeController extends AbstractAction
$limit
=
$this
->
get
(
'limit'
,
30
);
$suggest
=
\Index\UserModel
::
getSuggestData
(
$udid
,
$page
,
$limit
);
print_r
(
$suggest
);
$this
->
_view
->
display
(
'suggest'
,
array
(
'suggestPage'
=>
true
,
//加载js
...
...
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
07f7f05
...
...
@@ -423,13 +423,13 @@ class UserModel
// 调用接口获取地址数据
$suggest
=
UserData
::
suggestData
(
$udid
,
$page
,
$limit
);
//print_r($suggest);
// 处理意见反馈数据
if
(
isset
(
$suggest
[
'data'
])
&&
!
empty
(
$suggest
[
'data'
]))
{
$one
=
array
();
foreach
(
$suggest
[
'data'
][
'list'
]
as
$val
)
{
$one
=
array
();
$one
[
'suggest_id'
]
=
$val
[
'id'
];
$one
[
'imgUrl'
]
=
Helpers
::
getImageUrl
(
$val
[
'cover_image'
],
640
,
240
);
$one
[
'title'
]
=
$val
[
'filter_content'
];
$one
[
'content'
]
=
$val
[
'reply_content'
];
...
...
Please
register
or
login
to post a comment