|
|
|
@@ -272,6 +272,8 @@ public class SysFileController { |
|
|
|
JSONObject jsonObject = new JSONObject(); |
|
|
|
jsonObject.put("hosts",minioConfig.getUrl()); |
|
|
|
jsonObject.put("bucket",minioConfig.getBucketName()); |
|
|
|
jsonObject.put("accessKey",minioConfig.getAccessKey()); |
|
|
|
jsonObject.put("secretKey",minioConfig.getSecretKey()); |
|
|
|
jsonObject.put("filepath","/" + file.getDevId() + "/" + path); |
|
|
|
jsonObject.put("uuid", IdUtil.simpleUUID()); |
|
|
|
return AjaxResult.success(jsonObject); |
|
|
|
|