|
|
|
@ -21,6 +21,7 @@ import com.glxp.api.common.enums.ResultEnum;
|
|
|
|
|
import com.glxp.api.common.res.BaseResponse;
|
|
|
|
|
import com.glxp.api.common.util.ResultVOUtils;
|
|
|
|
|
import com.glxp.api.entity.auth.UserRegisterEntity;
|
|
|
|
|
import com.glxp.api.req.auth.UserResisterFilterRequest;
|
|
|
|
|
import com.glxp.api.service.auth.UserRegisterService;
|
|
|
|
|
import com.glxp.api.util.CaptchaUtils;
|
|
|
|
|
|
|
|
|
@ -98,6 +99,12 @@ public class RegisterController {
|
|
|
|
|
return ResultVOUtils.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/admin/auth/register/list")
|
|
|
|
|
public BaseResponse list(UserResisterFilterRequest userResisterFilterRequest, BindingResult bindingResult) {
|
|
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
|
|
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
|
|
|
|
|
}
|
|
|
|
|
return ResultVOUtils.success(userRegisterService.filterUserRegisters(userResisterFilterRequest));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|