Authored by weiqingting

提交

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