apply interceptor

master
yixian 6 years ago
parent 91cc8aaf32
commit ef11bc9de5

@ -27,9 +27,6 @@ public class CityPartnerRegisterController {
@ApplyRequest
public void register(@RequestBody @Valid CityPartnerBean partner, Errors errors) {
HttpUtils.handleValidErrors(errors);
if (true) {
throw new ForbiddenException();
}
cityPartnerRegisterService.saveRegistry(partner);
}
}

Loading…
Cancel
Save