suggestFeedBack.js
395 Bytes
/**
* 意见反馈 controller
* @return jsonp
* @author: gxh<xuhui.ge@yoho.cn>
* @date: 2017/04/06
*/
'use strict';
const suggestFeedBackModel = require('../models/suggestFeedBack-service');
const getFeedBack = (req, res, next) => {
suggestFeedBackModel.suggestFeedBack().then((result) => {
res.jsonp(result);
}).catch(next);
};
module.exports = {
getFeedBack
};