Browse Source

yinruoxi

feature:
    1.修改:请求minio配置添加user、password。
tags/B.2.8.8_20240328_base
kira 1 year ago
parent
commit
99da0daa90
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      xueyi-modules/xueyi-file/src/main/java/com/xueyi/file/controller/SysFileController.java

+ 2
- 0
xueyi-modules/xueyi-file/src/main/java/com/xueyi/file/controller/SysFileController.java View File

@@ -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);


Loading…
Cancel
Save