fix
This commit is contained in:
@@ -46,7 +46,7 @@ public class OssClientController {
|
|||||||
@GetMapping("/getUploadFileConfig")
|
@GetMapping("/getUploadFileConfig")
|
||||||
public ResponseResult getUploadFileConfig(){
|
public ResponseResult getUploadFileConfig(){
|
||||||
// host的格式为 bucketname.endpoint
|
// host的格式为 bucketname.endpoint
|
||||||
String host = "http://" + bucket + "." + endpoint;
|
String host = "https://" + bucket + "." + endpoint;
|
||||||
// 用户上传文件时指定的前缀。
|
// 用户上传文件时指定的前缀。
|
||||||
String dir = "partner/" + corpId + "/";
|
String dir = "partner/" + corpId + "/";
|
||||||
|
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public class OssClientController {
|
|||||||
@GetMapping("/getUploadFileConfig")
|
@GetMapping("/getUploadFileConfig")
|
||||||
public ResponseResult getUploadFileConfig(){
|
public ResponseResult getUploadFileConfig(){
|
||||||
// host的格式为 bucketname.endpoint
|
// host的格式为 bucketname.endpoint
|
||||||
String host = "http://" + bucket + "." + endpoint;
|
String host = "https://" + bucket + "." + endpoint;
|
||||||
// 用户上传文件时指定的前缀。
|
// 用户上传文件时指定的前缀。
|
||||||
String dir = "partner/" + corpId + "/";
|
String dir = "partner/" + corpId + "/";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user