diff --git a/idwms/admin.json b/idwms/admin.json index 2487172..8c9f039 100644 --- a/idwms/admin.json +++ b/idwms/admin.json @@ -46,10 +46,8 @@ "OAuthRedirectBase": "https://test.ideship.com" } }, - "FileStorage": { - "Cos": { - "KeyPrefix": "admin/" - } + "ObjectStorage": { + "KeyPrefix": "admin/" }, "Oms": { "TrackService": { diff --git a/idwms/common.json b/idwms/common.json index 74b7fd7..984330d 100644 --- a/idwms/common.json +++ b/idwms/common.json @@ -58,31 +58,20 @@ "ExpiryInMinutes": 600, "RefreshExpiryInDays": 7 }, - "FileStorage": { - "Provider": "Cos", - "Cos": { - "SecretId": "${COS_SECRET_ID}", - "SecretKey": "${COS_SECRET_KEY}", - "Region": "ap-guangzhou", - "Bucket": "ideship-1308574410", - "BaseUrl": "https://cos.ideship.com", - "DurationSecond": 3600, - "UploadDurationSecond": 600, - "SignUrls": true - } - }, "ObjectStorage": { "Provider": "TencentCos", "SignUrlsByDefault": true, - "DefaultSignedUrlExpiresSeconds": 900, + "DefaultSignedUrlExpiresSeconds": 3600, + "DefaultUploadExpiresSeconds": 600, "TencentCos": { "SecretId": "${COS_SECRET_ID}", "SecretKey": "${COS_SECRET_KEY}", "Region": "ap-guangzhou", - "Bucket": "ideship-1308574410", + "Bucket": "test-1308574410", "BaseUrl": "https://cos.ideship.com", "UseHttps": true, - "SignUrls": true + "SignUrls": true, + "DurationSecond": 600 } } }