| | |
| | | import com.lf.server.aspect.SysLog; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.helper.FileHelper; |
| | | import com.lf.server.service.all.FileService; |
| | | import com.lf.server.service.data.UploaderService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.logging.Log; |
| | | import org.apache.commons.logging.LogFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | @RequestMapping("/file") |
| | | public class FileController extends BaseController { |
| | | @Autowired |
| | | private FileService fileService; |
| | | private UploaderService uploaderService; |
| | | |
| | | @SysLog() |
| | | @ApiOperation(value = "文件上传") |