Error code standardization

This commit is contained in:
skiffer-git
2023-02-01 12:16:14 +08:00
parent 39463e68e3
commit abd957a459
13 changed files with 1456 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package api_struct
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
CosData TencentCloudStorageCredentialRespData `json:"-"`
Data map[string]interface{} `json:"data"`
}