feat(sj_1.0.0): 优化通知配置
This commit is contained in:
parent
d5c78014f9
commit
d9118cd041
@ -48,4 +48,10 @@ public class NotifyConfigController {
|
||||
public Boolean updateNotify(@RequestBody @Validated NotifyConfigRequestVO requestVO) {
|
||||
return notifyConfigService.updateNotify(requestVO);
|
||||
}
|
||||
|
||||
@LoginRequired
|
||||
@PutMapping("/{id}/status/{status}")
|
||||
public Boolean updateStatus(@PathVariable("id") Long id, @PathVariable("status") Integer status) {
|
||||
return notifyConfigService.updateStatus(id, status);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user