Authored by weiqingting

4.6.1 版本发布

... ... @@ -93,6 +93,6 @@ if(process.env.NODE_ENV==="test"){
}
if(process.env.NODE_ENV==="production"){
apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform";
apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata";
apiCofig.EnvConst.bigdata="http://172.31.20.7:8091/bigdata";
}
module.exports = require('./libs/App')(apiCofig);
\ No newline at end of file
... ...
{
"name": "yohobuy-shops-fe",
"version": "4.6.0",
"version": "4.6.1",
"description": "Construction of the presentation layer solution is based on express, handlebars",
"main": "app.js",
"scripts": {
... ...
... ... @@ -2,6 +2,8 @@
module.exports=function(app) {
app.get("/login","common.Login");
app.get("/logout","common.Login");
app.post("/login", "common_login", function (login, req, res){
if (login.code == 200) {
... ...
... ... @@ -56,7 +56,7 @@ var apiCofig = {
},
mock:false,
baseUrl:'/',
static: {name:"static",value: '../dist/'+ config.version+"/static"},
static: {name:"static",value: '../dist/'+config.name+'/'+ config.version},
MVC: {
//开发环境
Interfacer:path.join(__dirname,"apps/0/interfaces/1.js").replace(/0|1/g,'*'),
... ... @@ -93,6 +93,6 @@ if(process.env.NODE_ENV==="test"){
}
if(process.env.NODE_ENV==="production"){
apiCofig.EnvConst.domain="http://172.31.23.161:8088/platform";
apiCofig.EnvConst.bigdata="http://10.66.100.7:8091/bigdata";
apiCofig.EnvConst.bigdata="http://172.31.20.7:8091/bigdata";
}
module.exports = require('./libs/App')(apiCofig);
\ No newline at end of file
... ...
... ... @@ -140,7 +140,7 @@ Controller.prototype.client=function(res,views,model,clientmodel){
var src="";
if(process.env.NODE_ENV==="production"){
src="http://cdn.yoho.cn/yohobuy-shops-fe/"+config.version;
src="http://cdn.yoho.cn/"+config.name+"/"+config.version;
html.replace(/\/static\/index\.min\.css/g,function($1){
return src+$1;
})
... ...
{"name":"yo","version":"4.3.0","description":"Construction of the presentation layer solution is based on express, handlebars","main":"app.js","scripts":{"code":"set NODE_ENV=coding&& gulp start","server":"set NODE_ENV=server&& gulp start"},"dependencies":{"art-template":"^3.0.3","async":"^2.0.0-rc.3","body-parser":"^1.15.0","connect-multiparty":"^2.0.0","connect-redis":"^3.0.2","cookie-parser":"^1.4.1","express":"^4.13.4","express-session":"^1.13.0","lodash":"^4.11.1","md5":"^2.1.0","mkdirp":"^0.5.1","request":"^2.72.0","winston":"^2.2.0","glob":"^7.0.3"}}
\ No newline at end of file
{"name":"yohobuy-shops-fe","version":"4.6.1","description":"Construction of the presentation layer solution is based on express, handlebars","main":"app.js","scripts":{"code":"set NODE_ENV=coding&& gulp start","server":"set NODE_ENV=server&& gulp start"},"dependencies":{"art-template":"^3.0.3","async":"^2.0.0-rc.3","body-parser":"^1.15.0","connect-multiparty":"^2.0.0","connect-redis":"^3.0.2","cookie-parser":"^1.4.1","express":"^4.13.4","express-session":"^1.13.0","lodash":"^4.11.1","md5":"^2.1.0","mkdirp":"^0.5.1","request":"^2.72.0","winston":"^2.2.0","glob":"^7.0.3"}}
\ No newline at end of file
... ...