Compare commits

..

2 Commits

Author SHA1 Message Date
niannian zheng
b5457ce05c Merge branch 'main' of https://git.jb18cm.plus/fanfpy/AssetManager.API
# Conflicts:
#	AssetManager.API/Properties/launchSettings.json
2026-03-12 13:40:11 +08:00
niannian zheng
1479bcad3d 1.本地启动环境变量 2026-03-12 13:39:03 +08:00

View File

@ -16,13 +16,11 @@
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "http://localhost:5050", "applicationUrl": "http://localhost:5050",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_ENVIRONMENT": "Development"
"ConnectionStrings__Default": "server=localhost;database=assetmanager;user=root;password=你的数据库密码;",
"Jwt__SecretKey": "你的JWT密钥至少16位",
"Jwt__Issuer": "AssetManager",
"Jwt__Audience": "AssetManager",
"Tiingo__ApiKey": "你的TiingoAPI密钥"
} }
},
"dotnetRunMessages": true,
"applicationUrl": "http://localhost:5050"
}, },
"https": { "https": {
"commandName": "Project", "commandName": "Project",
@ -31,26 +29,38 @@
"launchUrl": "swagger", "launchUrl": "swagger",
"applicationUrl": "https://localhost:7040;http://localhost:5050", "applicationUrl": "https://localhost:7040;http://localhost:5050",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
"ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_ENVIRONMENT": "Development",
"ConnectionStrings__Default": "server=localhost;database=assetmanager;user=root;password=你的数据库密码;", "ConnectionStrings__Default": "server=43.167.226.216;Database=assetmanager;Uid=AssetManager;Pwd=2XpcnYGTpB5BhJyG;CharSet=utf8mb4;",
"Jwt__SecretKey": "你的JWT密钥至少16位", "Jwt__SecretKey": "your-strong-secret-key-here-change-in-production",
"Jwt__Issuer": "AssetManager", "Jwt__Issuer": "AssetManager",
"Jwt__Audience": "AssetManager", "Jwt__Audience": "AssetManager",
"Tiingo__ApiKey": "你的TiingoAPI密钥" "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",
"launchBrowser": true, "launchBrowser": true,
"launchUrl": "swagger", "launchUrl": "swagger",
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development", "ASPNETCORE_ENVIRONMENT": "Development"
"ConnectionStrings__Default": "server=localhost;database=assetmanager;user=root;password=你的数据库密码;",
"Jwt__SecretKey": "你的JWT密钥至少16位",
"Jwt__Issuer": "AssetManager",
"Jwt__Audience": "AssetManager",
"Tiingo__ApiKey": "你的TiingoAPI密钥"
} }
} }
},
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:31733",
"sslPort": 44342
}
} }
} }
}