Authored by weiqingting

开发环境

... ... @@ -78,6 +78,15 @@ if(process.env.NODE_ENV!=='development'){
apiCofig.log.src="/Data/logsnode/yohobuy-portal-log/"
}
/*环境配置*/
if(process.env.NODE_ENV==="development"){
apiCofig.MVC={
Interfacer:path.join(__dirname,"interfaces/0.js").replace(/0/g,'*'),
Controller:path.join(__dirname,"controllers/0.js").replace(/0/g,'*'),
filters: path.join(__dirname, "filters.js"),
views: path.resolve(__dirname,"views", "0", "1")
}
}
if(process.env.NODE_ENV==="test"){
apiCofig.MVC={
... ...