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
Email Patches
Plain Diff
Browse Files
Authored by
yyq
7 years ago
Commit
3f25763847679097c51b0234241cb2f0b06b010b
1 parent
469ef570
fix
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 @
3f25763
...
...
@@ -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