Commit e5513db3 authored by 赵啸非's avatar 赵啸非

添加文件压缩

parent 8992de11
...@@ -322,6 +322,8 @@ public class SkinBaseServiceImpl extends AbstractCRUDServiceImpl<SkinBaseDao, Sk ...@@ -322,6 +322,8 @@ public class SkinBaseServiceImpl extends AbstractCRUDServiceImpl<SkinBaseDao, Sk
continue; continue;
} }
log.info("file:"+file.getPath());
ZipUtil.append(zipFile.toPath(), file.toPath(), StandardCopyOption.REPLACE_EXISTING); ZipUtil.append(zipFile.toPath(), file.toPath(), StandardCopyOption.REPLACE_EXISTING);
/* /*
try { try {
......
...@@ -54,11 +54,10 @@ Accept: application/json ...@@ -54,11 +54,10 @@ Accept: application/json
###压缩文件 ###压缩文件
POST {{baseUrl}}/skin/base/skinzip POST {{baseUrl}}/skin/base/skinzip
Authorization: {{authToken}}
Content-Type: application/json Content-Type: application/json
{ {
"localZipPath": "/temp/skin.zip" "localZipPath": "/skin.zip"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment