Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
陈峰
2018-07-25 14:58:14 +0800
Commit
02e3805c2540692bdc882ce0d6809c709b132d2a
2 parents
ee371cf5
608e96c9
Merge branch 'gray' into 'master'
Gray See merge request
!341
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
apps/common/controllers/suggestFeedBack.js
apps/common/controllers/suggestFeedBack.js
View file @
02e3805
...
...
@@ -10,8 +10,7 @@
const
suggestFeedBackModel
=
require
(
'../models/suggestFeedBack-service'
);
const
getFeedBack
=
(
req
,
res
,
next
)
=>
{
suggestFeedBackModel
.
suggestFeedBack
(
req
.
user
.
uid
).
then
((
result
)
=>
{
req
.
ctx
(
suggestFeedBackModel
).
suggestFeedBack
(
req
.
user
.
uid
).
then
((
result
)
=>
{
res
.
jsonp
(
result
);
}).
catch
(
next
);
};
...
...
Please
register
or
login
to post a comment