module.exports = {
//Admin index
index: function(req, res, next) {
console.log('I am in indexChoicelist');
var Query = req.db.driver.query;
var perPages = 10;
var page = parseInt(req.params.page) || 1;
if( isNaN(page) || page < 1) {
page = 1;
}
log.debug('>>req.body:'+ JSON.stringify(req.body));
log.debug('>> page:'+ page);
// var name = req.body.name || "";
// var sku = req.body.sku;
var deleted = req.body.deleted
为什么我们使用这个req.body.deleted?
请解释一下这行[{1}}的含义是什么