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

添加文件压缩

parent 4c11ded2
...@@ -142,9 +142,10 @@ public class SkinBaseController extends BaseCRUDJsonBodyMappingController<SkinBa ...@@ -142,9 +142,10 @@ public class SkinBaseController extends BaseCRUDJsonBodyMappingController<SkinBa
// @PostMapping(value = "skinzip") // @PostMapping(value = "skinzip")
@GetMapping(value = "skinzip") @GetMapping(value = "skinzip")
@UnAuth @UnAuth
public void skinzip(@RequestBody SkinBaseEntity query) { public void skinzip() {
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
try { try {
SkinBaseEntity query = new SkinBaseEntity();
Rest<byte[]> rest = this.service.compressSkinZip(query, getContext()); Rest<byte[]> rest = this.service.compressSkinZip(query, getContext());
genCode(response, rest.getData()); genCode(response, rest.getData());
......
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