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
8 years ago
Commit
c192a98f54f1d986e0d006f93072b2e4c7010e9e
1 parent
930f75da
no-cache
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
apps/3party/controllers/questionnaire.js
apps/3party/controllers/questionnaire.js
View file @
c192a98
...
...
@@ -5,10 +5,12 @@ const helpers = global.yoho.helpers;
const
getQuestionnaire
=
(
req
,
res
)
=>
{
let
id
=
req
.
params
.
id
||
''
;
res
.
set
(
'Cache-Control'
,
'no-cache'
);
res
.
redirect
(
helpers
.
urlFormat
(
`
/
3
party
/
questionnaire
/
$
{
id
}
`
,
null
,
'm'
));
};
const
getQuestionList
=
(
req
,
res
)
=>
{
res
.
set
(
'Cache-Control'
,
'no-cache'
);
res
.
redirect
(
helpers
.
urlFormat
(
'/3party/questionnaire'
,
null
,
'm'
));
};
...
...
Please
register
or
login
to post a comment