Refactor code

This commit is contained in:
wenxu12345
2022-01-17 18:00:25 +08:00
parent 5d8e972ac7
commit 655f7ff7d0
3 changed files with 39 additions and 49 deletions
+18
View File
@@ -0,0 +1,18 @@
package base_info
import sts "github.com/tencentyun/qcloud-cos-sts-sdk/go"
type TencentCloudStorageCredentialReq struct {
OperationID string `json:"operationID"`
}
type tencentCloudStorageCredentialRespData struct {
*sts.CredentialResult
Region string `json:"region"`
Bucket string `json:"bucket"`
}
type TencentCloudStorageCredentialResp struct {
CommResp
tencentCloudStorageCredentialRespData `json:"data"`
}