Commit 5b079aca by Java-李昕颖

文件上传接口没加@Controller

parent 87e6753b
...@@ -12,6 +12,7 @@ import org.apache.commons.io.FileUtils; ...@@ -12,6 +12,7 @@ import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils; import org.apache.commons.io.IOUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
...@@ -28,6 +29,7 @@ import java.util.List; ...@@ -28,6 +29,7 @@ import java.util.List;
/** /**
* Created by BrianHolsen on 2017-07-11 at 17:19. * Created by BrianHolsen on 2017-07-11 at 17:19.
*/ */
@Controller
@RequestMapping("/api/front/file") @RequestMapping("/api/front/file")
public class FileController { public class FileController {
......
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