|
@@ -19,6 +19,7 @@ import org.springblade.core.tool.utils.StringUtil;
|
|
|
import org.springblade.manager.entity.ArchiveTreeContract;
|
|
|
import org.springblade.manager.feign.ArchiveTreeContractClient;
|
|
|
import org.springblade.resource.feign.NewIOSSClient;
|
|
|
+import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.io.File;
|
|
@@ -49,6 +50,7 @@ public class ArchiveOfflineVersionInfoServiceImpl extends BaseServiceImpl<Archiv
|
|
|
|
|
|
|
|
|
@Override
|
|
|
+ @Async
|
|
|
public void packData(Long projectId) throws Exception {
|
|
|
String localUrl = "/www/wwwroot/localClient/local_archives/alilib";
|
|
|
String packUrl = "/www/wwwroot/localClient";
|