Authored by weiqingting

提交

... ... @@ -171,8 +171,7 @@ module.exports = {
params: {
shops_id: { type: Number },
'@cookie': {type:String}
},
}
},
changeShop: function (req, callback,common) {
var shopId = Number(req.query.shops_id);
... ...
... ... @@ -145,8 +145,8 @@ Controller.prototype.client=function(res,views,model,clientmodel){
return src+$1;
})
}
var script=['<script type="text/javascript" src="'+src+'/static/'+clientmodel+'/libs.js"></script>',
'<script type="text/javascript" src="'+src+'/static/'+clientmodel+'/'+ views+'.js"></script>'];
var script=['<script type="text/javascript" src="'+src+'/'+clientmodel+'/libs.js"></script>',
'<script type="text/javascript" src="'+src+'/'+clientmodel+'/'+ views+'.js"></script>'];
res.send(html+ViewModel+script.join(''));
}
}
... ...