Authored by 郭成尧

添加列表controller

/*
* @Author: Targaryen
* @Date: 2016-05-21 10:59:20
* @Last Modified by: Targaryen
* @Last Modified time: 2016-05-21 11:05:21
*/
* @Author: Targaryen
* @Date: 2016-05-21 10:59:20
* @Last Modified by: Targaryen
* @Last Modified time: 2016-05-21 13:22:46
*/
'use strict';
exports.getProductPic = (req, res) => {
res.jsonp();
};
\ No newline at end of file
res.jsonp();
};
... ...
... ... @@ -70,8 +70,8 @@ exports.discount = (req, res) => {
// res.render('sale/discount', Object.assign(responseData, simulation.discount()));
return sale.getSaleGoodsListData({
saleType: req.params.saleType
})
saleType: req.params.saleType
})
.then(result => {
responseData.result = result;
responseData.resultShow = JSON.stringify(result, null, 4);
... ...