fix(chaoxing): upload to ChaoxingxingGroupCloud failed (#6953)

change the data type on deserializing json
pull/6977/head
花生瓜子大杏仁 2024-08-10 20:59:49 +08:00 committed by GitHub
parent 29165d8e60
commit 979d0cfeee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 54 additions and 54 deletions

View File

@ -201,8 +201,8 @@ type UploadFileDataRsp struct {
Name string `json:"name"`
ObjectID string `json:"objectId"`
Restype string `json:"restype"`
UploadDate time.Time `json:"uploadDate"`
ModifyDate time.Time `json:"modifyDate"`
UploadDate int64 `json:"uploadDate"`
ModifyDate int64 `json:"modifyDate"`
UploadDateFormat string `json:"uploadDateFormat"`
Residstr string `json:"residstr"`
Suffix string `json:"suffix"`
@ -235,8 +235,8 @@ type UploadDoneParam struct {
Name string `json:"name"`
ObjectID string `json:"objectId"`
Restype string `json:"restype"`
UploadDate time.Time `json:"uploadDate"`
ModifyDate time.Time `json:"modifyDate"`
UploadDate int64 `json:"uploadDate"`
ModifyDate int64 `json:"modifyDate"`
UploadDateFormat string `json:"uploadDateFormat"`
Residstr string `json:"residstr"`
Suffix string `json:"suffix"`