Authored by yyq

Merge branch 'hotfix/question2.2' into gray

@@ -5,10 +5,12 @@ const helpers = global.yoho.helpers; @@ -5,10 +5,12 @@ const helpers = global.yoho.helpers;
5 const getQuestionnaire = (req, res) => { 5 const getQuestionnaire = (req, res) => {
6 let id = req.params.id || ''; 6 let id = req.params.id || '';
7 7
  8 + res.set('Cache-Control', 'no-cache');
8 res.redirect(helpers.urlFormat(`/3party/questionnaire/${id}`, null, 'm')); 9 res.redirect(helpers.urlFormat(`/3party/questionnaire/${id}`, null, 'm'));
9 }; 10 };
10 11
11 const getQuestionList = (req, res) => { 12 const getQuestionList = (req, res) => {
  13 + res.set('Cache-Control', 'no-cache');
12 res.redirect(helpers.urlFormat('/3party/questionnaire', null, 'm')); 14 res.redirect(helpers.urlFormat('/3party/questionnaire', null, 'm'));
13 }; 15 };
14 16