lyhzzz 2 سال پیش
والد
کامیت
763521a16e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/main/java/com/fdkankan/manage/service/impl/AppFileServiceImpl.java

+ 2 - 2
src/main/java/com/fdkankan/manage/service/impl/AppFileServiceImpl.java

@@ -46,7 +46,7 @@ public class AppFileServiceImpl extends ServiceImpl<IAppFileMapper, AppFile> imp
     private MangerUploadToOssUtil mangeUploadToOssUtil;
     private MangerUploadToOssUtil mangeUploadToOssUtil;
     @Value("${upload.type}")
     @Value("${upload.type}")
     private String ossType;
     private String ossType;
-    @Value("${oss.prefix.sdk}")
+    @Value("${oss.prefix.ali}")
     private String prefixAli;
     private String prefixAli;
 
 
     @Override
     @Override
@@ -130,7 +130,7 @@ public class AppFileServiceImpl extends ServiceImpl<IAppFileMapper, AppFile> imp
         FileUtils.deleteFile(versionFilePath);
         FileUtils.deleteFile(versionFilePath);
 
 
         managerAPPEntity.setUrl(prefixAli.concat(ossPathPrefix+"4dkankan."+fileType));
         managerAPPEntity.setUrl(prefixAli.concat(ossPathPrefix+"4dkankan."+fileType));
-        managerAPPEntity.setVersion(prefixAli.concat(ossPathPrefix+"4dkankan."+versionFilePath));
+        managerAPPEntity.setVersion(prefixAli.concat(ossPathPrefix+"version/version.json"));
         managerAPPEntity.setFileServerType(ossType);
         managerAPPEntity.setFileServerType(ossType);
         this.save(managerAPPEntity);
         this.save(managerAPPEntity);
     }
     }