From 3aadf61fde461c6124c5bb8fd24fcae4102c3f10 Mon Sep 17 00:00:00 2001 From: wenxu12345 <44203734@qq.com> Date: Wed, 16 Feb 2022 18:58:02 +0800 Subject: [PATCH] Refactoring code --- pkg/base_info/cos_api_struct.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/base_info/cos_api_struct.go b/pkg/base_info/cos_api_struct.go index 41568e480..e3c0237a8 100644 --- a/pkg/base_info/cos_api_struct.go +++ b/pkg/base_info/cos_api_struct.go @@ -7,9 +7,9 @@ type TencentCloudStorageCredentialReq struct { } type TencentCloudStorageCredentialRespData struct { - *sts.CredentialResult - Region string `json:"region"` - Bucket string `json:"bucket"` + *sts.CredentialResult `json:"credentialResult"` + Region string `json:"region"` + Bucket string `json:"bucket"` } type TencentCloudStorageCredentialResp struct {