Authored by OF1706

suggestFooter

... ... @@ -18,7 +18,8 @@ const getFeedBack = (req, res, next) => {
let solution = req.query.solution || 0;
if (!_.isEmpty(feedbackId) || !_.isEmpty(questionId) || !_.isEmpty(answer) || !_.isEmpty(solution)) {
suggestFeedBackModel.FeedBackApi(feedbackId, questionId, answer, solution).then((result) => {
suggestFeedBackModel.feedBackApi(feedbackId, questionId, answer, solution).then((result) => {
return res.jsonp({
code: result.code,
... ...
... ... @@ -14,7 +14,7 @@ const config = global.yoho.config;
* @param uid
* @return string
*/
const FeedBackApi = (feedbackId, questionId, answer, solution) => {
const feedBackApi = (feedbackId, questionId, answer, solution) => {
let params = {
method: 'open.feedback.submit',
feedback_id: feedbackId,
... ... @@ -27,5 +27,5 @@ const FeedBackApi = (feedbackId, questionId, answer, solution) => {
};
module.exports = {
FeedBackApi
feedBackApi
};
... ...