Refactoring code

This commit is contained in:
wenxu12345
2022-02-16 19:41:44 +08:00
parent 3aadf61fde
commit 17954dfdc9
2 changed files with 15 additions and 7 deletions
+6 -4
View File
@@ -7,12 +7,14 @@ type TencentCloudStorageCredentialReq struct {
}
type TencentCloudStorageCredentialRespData struct {
*sts.CredentialResult `json:"credentialResult"`
Region string `json:"region"`
Bucket string `json:"bucket"`
*sts.CredentialResult
Region string `json:"region"`
Bucket string `json:"bucket"`
}
type TencentCloudStorageCredentialResp struct {
CommResp
Data TencentCloudStorageCredentialRespData `json:"data"`
CosData TencentCloudStorageCredentialRespData `json:"-"`
Data map[string]interface{} `json:"data"`
}