修改ASPNETCORE_ENVIRONMENT默认为空
This commit is contained in:
parent
8efb720fa0
commit
bfeef85dee
@ -19,7 +19,7 @@
|
|||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Stage"
|
"ASPNETCORE_ENVIRONMENT": ""
|
||||||
},
|
},
|
||||||
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
"applicationUrl": "https://localhost:5001;http://localhost:5000"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,11 +7,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"conn_zrAdmin": "server=127.0.0.1;user=zr;pwd=abc;database=admin",
|
"conn_zrAdmin": "server=LAPTOP-STKF2M8H\\SQLEXPRESS;uid=sa;pwd=zradmin123;database=ZrAdmin;Trusted_Connection=SSPI",
|
||||||
"conn_bus": "server=127.0.0.1;user=zr;pwd=abc;database=admin"
|
"conn_bus": "server=LAPTOP-STKF2M8H\\SQLEXPRESS;uid=zr;pwd=zradmin123;database=ZrAdmin;Trusted_Connection=SSPI"
|
||||||
},
|
},
|
||||||
"conn_zrAdmin_type": 0, //MySql = 0, SqlServer = 1
|
"conn_zrAdmin_type": 1, //MySql = 0, SqlServer = 1
|
||||||
"conn_bus_type": 0,
|
"conn_bus_type": 1,
|
||||||
"urls": "http://localhost:8888", //项目启动url
|
"urls": "http://localhost:8888", //项目启动url
|
||||||
"sysConfig": {
|
"sysConfig": {
|
||||||
"DBCommandTimeout": 10,
|
"DBCommandTimeout": 10,
|
||||||
@ -30,8 +30,8 @@
|
|||||||
"SECRET": "XX"
|
"SECRET": "XX"
|
||||||
},
|
},
|
||||||
"gen": {
|
"gen": {
|
||||||
"conn": "server=127.0.0.1;user=zr;pwd=abc;database={database}",
|
"conn": "server=LAPTOP-STKF2M8H\\SQLEXPRESS;user=zr;pwd=abc;database={database};Trusted_Connection=SSPI",
|
||||||
"dbType": 0, //MySql = 0, SqlServer = 1
|
"dbType": 1, //MySql = 0, SqlServer = 1
|
||||||
"autoPre": true, //自动去除表前缀
|
"autoPre": true, //自动去除表前缀
|
||||||
"author": "zr",
|
"author": "zr",
|
||||||
"tablePrefix": "live_,sys_" //"表前缀(生成类名不会包含表前缀,多个用逗号分隔)",
|
"tablePrefix": "live_,sys_" //"表前缀(生成类名不会包含表前缀,多个用逗号分隔)",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user