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
Rock Zhang
9 years ago
Commit
876ceb02c9055d3c1406cc20b30263cbf994ccbb
1 parent
71ad7cce
添加意见反馈中图片上传的一些逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
19 deletions
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
876ceb0
...
...
@@ -361,26 +361,31 @@ class HomeController extends AbstractAction
}
/**
* 意见反馈-提交表单
* 意见反馈-提交表单
页面
*/
public
function
suggest_subAction
()
{
$udid
=
$this
->
getUdid
();
$page
=
$this
->
get
(
'page'
,
1
);
$limit
=
$this
->
get
(
'limit'
,
30
);
$suggest
=
\Index\UserModel
::
getSuggestData
(
$udid
,
$page
,
$limit
);
//print_r($suggest);
$this
->
_view
->
display
(
'suggest_sub'
,
array
(
'suggestPage'
=>
true
,
//加载js
'pageHeader'
=>
array
(
'navBack'
=>
true
,
'navTitle'
=>
'反馈问题'
,
'navBtn'
=>
'提交'
),
'suggestSub'
=>
true
,
'pageFooter'
=>
true
));
public
function
suggestSubAction
()
{
// 设置网站标题
$this
->
setTitle
(
'反馈问题'
);
$param
=
\Api\Yohobuy
::
param
();
unset
(
$param
[
'private_key'
]);
$param
[
'project'
]
=
'suggest'
;
$param
[
'client_secret'
]
=
'e7807a9522ab99af8b8fd926e1ebbd9a'
;
$data
=
array
(
'suggestPage'
=>
true
,
//加载js
'pageHeader'
=>
array
(
'navBack'
=>
true
,
'navTitle'
=>
'反馈问题'
,
'navBtn'
=>
'提交'
),
'param'
=>
$param
,
'suggestSub'
=>
true
,
'pageFooter'
=>
true
);
print_r
(
$data
);
$this
->
_view
->
display
(
'suggest_sub'
,
$data
);
}
/**
...
...
Please
register
or
login
to post a comment