...
|
...
|
@@ -33,7 +33,6 @@ exports.index = (req, res) => { |
|
|
responseData.module = 'product';
|
|
|
responseData.page = 'sale';
|
|
|
responseData.footerTop = true;
|
|
|
responseData.devEnv = true;
|
|
|
|
|
|
// 假数据输出
|
|
|
// res.render('sale/index', Object.assign(responseData, simulation.saleIndex()));
|
...
|
...
|
@@ -74,7 +73,6 @@ exports.discount = (req, res) => { |
|
|
responseData.module = 'product';
|
|
|
responseData.page = 'sale';
|
|
|
responseData.footerTop = true;
|
|
|
responseData.devEnv = true;
|
|
|
|
|
|
// 假数据输出
|
|
|
// res.render('sale/discount', Object.assign(responseData, simulation.discount()));
|
...
|
...
|
@@ -117,7 +115,6 @@ exports.vip = (req, res) => { |
|
|
responseData.module = 'product';
|
|
|
responseData.page = 'sale';
|
|
|
responseData.footerTop = true;
|
|
|
responseData.devEnv = true;
|
|
|
|
|
|
// 假数据输出
|
|
|
// res.render('sale/other', Object.assign(responseData, simulation.other()));
|
...
|
...
|
@@ -155,7 +152,6 @@ exports.newSale = (req, res) => { |
|
|
responseData.module = 'product';
|
|
|
responseData.page = 'sale';
|
|
|
responseData.footerTop = true;
|
|
|
responseData.devEnv = true;
|
|
|
|
|
|
// 假数据输出
|
|
|
// res.render('sale/other', Object.assign(responseData, simulation.other()));
|
...
|
...
|
@@ -193,7 +189,6 @@ exports.breakingYards = (req, res) => { |
|
|
responseData.module = 'product';
|
|
|
responseData.page = 'sale';
|
|
|
responseData.footerTop = true;
|
|
|
responseData.devEnv = true;
|
|
|
|
|
|
// 假数据输出
|
|
|
// res.render('sale/other', Object.assign(responseData, simulation.other()));
|
...
|
...
|
@@ -224,7 +219,6 @@ exports.getGoodsList = (req, res) => { |
|
|
return sale.getSaleGoodsData(params).then(result => {
|
|
|
let responseData = {};
|
|
|
|
|
|
responseData.devEnv = true;
|
|
|
responseData.footerTop = false;
|
|
|
responseData.layout = false;
|
|
|
|
...
|
...
|
|