ke
2024-05-20 c863db455fe6590c2901d51a1606c8518e84119e
skjcmanager/skjcmanager-ops/skjcmanager-resource/src/main/java/cn/gistack/resource/builder/oss/OssBuilder.java
@@ -175,10 +175,17 @@
    */
   public OssTemplate templateByPathPanorama(String code,String prefixPath,String resGuid) {
      String tenantId = AuthUtil.getTenantId();
//      System.err.println("tenantId:"+tenantId);
      if (StringUtil.isBlank(tenantId)){
         tenantId = "000000";
      }
      Oss oss = getOss(tenantId, code);
      OssTemplate template = null;
//      template = templatePool.get(tenantId);
      OssRule ossRule = new PanoramaOSSRule(Boolean.FALSE,prefixPath,resGuid);
      PanoramaOSSRule ossRule = new PanoramaOSSRule(Boolean.FALSE,prefixPath,resGuid);
      if (oss.getCategory() == OssEnum.MINIO.getCategory()) {
         template = MinioOssBuilder.template(oss, ossRule);
      } else if (oss.getCategory() == OssEnum.QINIU.getCategory()) {