//package com.gk.hotwork.specialWork.controller; // //import com.alibaba.fastjson.JSONObject; //import com.gk.hotwork.Domain.Vo.ResultVO; //import com.gk.hotwork.specialWork.service.SpecialWorkMinoService; //import org.springframework.beans.factory.annotation.Autowired; //import org.springframework.web.bind.annotation.RequestBody; //import org.springframework.web.bind.annotation.RequestMapping; //import org.springframework.web.bind.annotation.RequestMethod; //import org.springframework.web.bind.annotation.RestController; // ///** // * 特殊作业文件 // */ //@RestController //@RequestMapping("specialWork/file") //public class SpecialWorkMinoController { // // @Autowired // private SpecialWorkMinoService specialWorkMinoService; // // // // /** // * 获取上传路径 // */ // @RequestMapping(value = "/getPresignUrl",method = RequestMethod.POST) // public ResultVO getPresignUrl(@RequestBody JSONObject json) { // String suffixName = json.getString("suffixName"); // return specialWorkMinoService.getPresignUrl(suffixName); // } // // /** // * 查看下载 // */ // @RequestMapping(value = "/viewFile",method = RequestMethod.POST) // public ResultVO viewFile(@RequestBody JSONObject json) { // String fileName = json.getString("fileName"); // return specialWorkMinoService.viewFile(fileName); // } // // /** // * 删除 // */ // @RequestMapping(value = "/deleteFile",method = RequestMethod.POST) // public ResultVO deleteFile(@RequestBody JSONObject json) { // String fileName = json.getString("fileName"); // return specialWorkMinoService.deleteFile(fileName); // } // /** // * 批量获取图片路劲 // */ //// @RequestMapping(value = "/viewFiles",method = RequestMethod.POST) //// public String viewFiles(@RequestBody JSONObject json) { //// String fileNames = json.getString("fileNames"); //// return specialWorkMinoService.viewFiles(fileNames); //// } // //}