1.本地启动环境变量

This commit is contained in:
niannian zheng 2026-03-12 13:39:03 +08:00
parent 049050d88e
commit 1479bcad3d

View File

@ -1,33 +1,32 @@
{ {
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:31733",
"sslPort": 44342
}
},
"profiles": { "profiles": {
"http": { "http": {
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "http://localhost:5050",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} },
"dotnetRunMessages": true,
"applicationUrl": "http://localhost:5050"
}, },
"https": { "https": {
"commandName": "Project", "commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "https://localhost:7040;http://localhost:5050",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development",
} "ConnectionStrings__Default": "server=43.167.226.216;Database=assetmanager;Uid=AssetManager;Pwd=2XpcnYGTpB5BhJyG;CharSet=utf8mb4;",
"Jwt__SecretKey": "your-strong-secret-key-here-change-in-production",
"Jwt__Issuer": "AssetManager",
"Jwt__Audience": "AssetManager",
"Wechat__AppId": "wx245f0f3ebcfcf5a7",
"Wechat__AppSecret": "809c740129bc8b434177ce12ef292dd0",
"Tiingo__ApiKey": "bd00fee76d3012b047473078904001b33322cb46",
"TZ": "Asia/Shanghai"
},
"dotnetRunMessages": true,
"applicationUrl": "https://localhost:7040;http://localhost:5050"
}, },
"IIS Express": { "IIS Express": {
"commandName": "IISExpress", "commandName": "IISExpress",
@ -37,5 +36,14 @@
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
} }
},
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:31733",
"sslPort": 44342
}
} }
} }