|
@@ -46,7 +46,7 @@ public class AppFileServiceImpl extends ServiceImpl<IAppFileMapper, AppFile> imp
|
|
|
private MangerUploadToOssUtil mangeUploadToOssUtil;
|
|
|
@Value("${upload.type}")
|
|
|
private String ossType;
|
|
|
- @Value("${oss.prefix.sdk}")
|
|
|
+ @Value("${oss.prefix.ali}")
|
|
|
private String prefixAli;
|
|
|
|
|
|
@Override
|
|
@@ -130,7 +130,7 @@ public class AppFileServiceImpl extends ServiceImpl<IAppFileMapper, AppFile> imp
|
|
|
FileUtils.deleteFile(versionFilePath);
|
|
|
|
|
|
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);
|
|
|
this.save(managerAPPEntity);
|
|
|
}
|