master
wangning 7 years ago
parent 0d9612e587
commit bf6bd34e36

@ -29,7 +29,7 @@ public class MailController {
mailService.removeUnsub(id);
}
@RequestMapping(value = "/unsub",method = RequestMethod.POST)
@RequestMapping(value = "/unsub",method = RequestMethod.PUT)
// @RequireManager(role = {ManagerRole.ADMIN, ManagerRole.BD_USER, ManagerRole.OPERATOR, ManagerRole.SERVANT})
public void removeSub(@RequestParam String client_moniker) {
mailService.addUnsub(client_moniker);

Loading…
Cancel
Save