feat: 补全多云资产与账单同步

- 接入 AWS、华为云和 Azure 资产及账单 API

- 按原始币种隔离统计并修正账号服务器数

- 修复侧栏菜单展开后的滚动行为
This commit is contained in:
Logan.Li committed 2026-07-29 06:15:00 +08:00
1 parent 65e2f09b97
commit 132fe9ba97
25 files changed
+1094 -141

No files matched your search

+6 -4
View File
@@ -42,12 +42,14 @@ func NewProvider(provider, accessKey, secretKey string) Provider {
switch provider {
case "aliyun":
return NewAliyunProvider(accessKey, secretKey)
case "aws":
return NewAWSProvider(accessKey, secretKey)
case "tencent":
return NewTencentProvider(accessKey, secretKey) // 启用腾讯云 CVM 区域与实例同步。 // Logan.Li
// case "huawei":
// return NewHuaweiProvider(accessKey, secretKey)
// case "aws":
// return NewAWSProvider(accessKey, secretKey)
case "huawei":
return NewHuaweiProvider(accessKey, secretKey)
case "azure":
return NewAzureProvider(accessKey, secretKey)
default:
return nil
}