Showing
1 changed file
with
3 additions
and
3 deletions
@@ -44,11 +44,11 @@ exports.submit = (req, res, next) => { | @@ -44,11 +44,11 @@ exports.submit = (req, res, next) => { | ||
44 | } | 44 | } |
45 | 45 | ||
46 | if (req.yoho.isApp) { | 46 | if (req.yoho.isApp) { |
47 | - params.sourceType = 'app'; | 47 | + params.sourceType = 'APP'; |
48 | } else if (req.yoho.mobile) { | 48 | } else if (req.yoho.mobile) { |
49 | - params.sourceType = 'wap'; | 49 | + params.sourceType = 'H5'; |
50 | } else { | 50 | } else { |
51 | - params.sourceType = 'pc'; | 51 | + params.sourceType = 'PC'; |
52 | } | 52 | } |
53 | 53 | ||
54 | req.ctx(questionModel).submitQuestion(params).then(result => { | 54 | req.ctx(questionModel).submitQuestion(params).then(result => { |
-
Please register or login to post a comment