Commit 8992de11 authored by 赵啸非's avatar 赵啸非

添加文件压缩

parent 91a2ea47
......@@ -140,6 +140,7 @@ public class SkinBaseController extends BaseCRUDJsonBodyMappingController<SkinBa
* 获取皮肤所有相关资源文件并压缩打包成zip
*/
@PostMapping(value = "skinzip")
@UnAuth
public String skinzip(@RequestBody SkinBaseEntity query) {
JSONObject jsonObject = new JSONObject();
try {
......
......@@ -52,4 +52,15 @@ Accept: application/json
###压缩文件
POST {{baseUrl}}/skin/base/skinzip
Authorization: {{authToken}}
Content-Type: application/json
{
"localZipPath": "/temp/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