You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
606 B
23 lines
606 B
1 year ago
|
package base_info
|
||
|
|
||
|
type OSSCredentialReq struct {
|
||
|
OperationID string `json:"operationID"`
|
||
|
Filename string `json:"filename"`
|
||
|
FileType string `json:"file_type"`
|
||
|
}
|
||
|
|
||
|
type OSSCredentialRespData struct {
|
||
|
Endpoint string `json:"endpoint"`
|
||
|
AccessKeyId string `json:"access_key_id"`
|
||
|
AccessKeySecret string `json:"access_key_secret"`
|
||
|
Token string `json:"token"`
|
||
|
Bucket string `json:"bucket"`
|
||
|
FinalHost string `json:"final_host"`
|
||
|
}
|
||
|
|
||
|
type OSSCredentialResp struct {
|
||
|
CommResp
|
||
|
OssData OSSCredentialRespData `json:"-"`
|
||
|
Data map[string]interface{} `json:"data"`
|
||
|
}
|