Commit 91cfba263c66942da01f5a81c983e2256e840c0e

Authored by liquanyu
1 parent 0d428be079

update

Showing 1 changed file with 2 additions and 5 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PostkfController.java View file @ 91cfba2
... ... @@ -7,10 +7,7 @@
7 7 import com.lyms.platform.pojo.PostkfModel;
8 8 import org.springframework.beans.factory.annotation.Autowired;
9 9 import org.springframework.stereotype.Controller;
10   -import org.springframework.web.bind.annotation.RequestMapping;
11   -import org.springframework.web.bind.annotation.RequestMethod;
12   -import org.springframework.web.bind.annotation.RequestParam;
13   -import org.springframework.web.bind.annotation.ResponseBody;
  10 +import org.springframework.web.bind.annotation.*;
14 11  
15 12 import javax.servlet.http.HttpServletRequest;
16 13  
... ... @@ -26,7 +23,7 @@
26 23 @TokenRequired
27 24 @ResponseBody
28 25 @RequestMapping(value = "/addPostKf", method = RequestMethod.POST)
29   - public BaseResponse addPostKf(HttpServletRequest request,PostkfModel postkfModel) {
  26 + public BaseResponse addPostKf(HttpServletRequest request,@RequestBody PostkfModel postkfModel) {
30 27 return postkfFaccade.addPostKf(postkfModel,getUserId(request));
31 28 }
32 29