浏览代码

yinruoxi

feature:
    1.修改:请求minio配置添加user、password。
dev
kira 1年前
父节点
当前提交
422275f2d8
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 查看文件

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


正在加载...
取消
保存