Authored by weiqingting

修改 config

... ... @@ -77,7 +77,17 @@ console.log("环境:"+process.env.NODE_ENV);
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={
... ...