洪城义警-正式版后台
zengh
2022-09-14 df878618a8882fc057a5863738df43e1fcd878ea
src/main/java/org/springblade/modules/depl/controller/DeplController.java
@@ -184,10 +184,10 @@
      response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE");
      response.setHeader("Access-Control-Allow-Credentials","true");
      //填写你文件上传的地址以及相应信息
      String url = "http://223.82.109.183:2081";
      String url = "http://106.225.193.35:2081";
      String access = "zhbaadmin";
      String secret = "zhbapassword";
      String bucket = "zhba";
      String bucket = "hcyj";
      MinioClient minioClient =
         MinioClient.builder()
            .endpoint(url)
@@ -215,7 +215,7 @@
            .headers(headers)
            .build());
      in.close();
      String urls = "http://223.82.109.183:2081/zhba/" + newName;
      String urls = "http://106.225.193.35:2081/hcyj/" + newName;
      return R.data(urls);
   }