Bläddra i källkod

fix white user search request body

huodongdong 6 år sedan
förälder
incheckning
12ee9bd962

+ 1 - 1
rankin-user-service/src/main/java/cn/rankin/userservice/controller/WhiteUserController.java

@@ -81,7 +81,7 @@ public class WhiteUserController {
     }
 
     @RequestMapping(value = "/list", method = RequestMethod.POST)
-    public APIResult<Page<WhiteUser>> search(WhiteUserSearchDTO searchDTO) {
+    public APIResult<Page<WhiteUser>> search(@RequestBody WhiteUserSearchDTO searchDTO) {
         WhiteUser sample = new WhiteUser();
         String code = searchDTO.getCode();
         if (!StringUtils.isEmpty(code)) {