Explorar o código

fix white user search request body

huodongdong %!s(int64=6) %!d(string=hai) anos
pai
achega
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)) {