This commit is contained in:
zhangchenbiao
2023-06-25 14:57:28 +08:00
parent eecbdf5e3b
commit 3a83305062
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ public class OssClientController {
@GetMapping("/getUploadFileConfig")
public ResponseResult getUploadFileConfig(){
// host的格式为 bucketname.endpoint
String host = "http://" + bucket + "." + endpoint;
String host = "https://" + bucket + "." + endpoint;
// 用户上传文件时指定的前缀。
String dir = "partner/" + corpId + "/";

View File

@@ -43,7 +43,7 @@ public class OssClientController {
@GetMapping("/getUploadFileConfig")
public ResponseResult getUploadFileConfig(){
// host的格式为 bucketname.endpoint
String host = "http://" + bucket + "." + endpoint;
String host = "https://" + bucket + "." + endpoint;
// 用户上传文件时指定的前缀。
String dir = "partner/" + corpId + "/";