lyhzzz 2 年之前
父节点
当前提交
8ad81f739a

+ 1 - 1
src/main/java/com/fdkankan/sale/common/FilePath.java

@@ -5,5 +5,5 @@ public class FilePath {
     public static String common = "common";
     public static String file_path = "/home/backend/4dkankan_v4/sale/file/";
     public static String oss_file_path = "sale/file/%s/%s";
-    public static String oss_ding_path = "sale/file/%s/%s";
+    public static String oss_ding_path = "sale/file/%s/%s/%s";
 }

+ 1 - 1
src/main/java/com/fdkankan/sale/service/impl/DingService.java

@@ -128,7 +128,7 @@ public class DingService {
             }
             String userIds = String.join(",", userIdList);
 
-            String oaPath = String.format(FilePath.oss_ding_path, CacheUtil.dingServeName,"OA.json");
+            String oaPath = String.format(FilePath.oss_ding_path,FilePath.common, CacheUtil.dingServeName,"OA.json");
             String fileContent = fYunFileServiceInterface.getFileContent(oaPath);
             if(StringUtils.isBlank(fileContent)){
                 throw new BusinessException(ResultCode.DING_SEND_ERROR);