修改ASPNETCORE_ENVIRONMENT默认为空

This commit is contained in:
不做码农 2021-11-18 10:16:45 +08:00
parent 8efb720fa0
commit bfeef85dee
2 changed files with 7 additions and 7 deletions

View File

@ -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"
} }

View File

@ -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_" //"表前缀(生成类名不会包含表前缀,多个用逗号分隔)",