fix:新的解析jwtToken返回
This commit is contained in:
parent
fed40e2aa8
commit
02090f6401
|
@ -102,9 +102,9 @@ func (upload *Upload) UploadFileByBase64(req *UploadBaseReq) (*UploadBaseRes, er
|
||||||
// 创建S3对象存储请求
|
// 创建S3对象存储请求
|
||||||
s3req, _ = svc.PutObjectRequest(
|
s3req, _ = svc.PutObjectRequest(
|
||||||
&s3.PutObjectInput{
|
&s3.PutObjectInput{
|
||||||
Bucket: bucketName,
|
Bucket: bucketName,
|
||||||
Key: &resourceId,
|
Key: &resourceId,
|
||||||
// CacheControl: aws.String("no-cache, must-revalidate"),
|
CacheControl: aws.String("no-cache, must-revalidate"),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -227,9 +227,9 @@ func (upload *Upload) UploadFileByByte(req *UploadBaseReq) (*UploadBaseRes, erro
|
||||||
// 创建S3对象存储请求
|
// 创建S3对象存储请求
|
||||||
s3req, _ = svc.PutObjectRequest(
|
s3req, _ = svc.PutObjectRequest(
|
||||||
&s3.PutObjectInput{
|
&s3.PutObjectInput{
|
||||||
Bucket: bucketName,
|
Bucket: bucketName,
|
||||||
Key: &resourceId,
|
Key: &resourceId,
|
||||||
// CacheControl: aws.String("no-cache, must-revalidate"),
|
CacheControl: aws.String("no-cache, must-revalidate"),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user