mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 23:49:12 +08:00
update
This commit is contained in:
parent
cc9dd4a21e
commit
91c4bedbad
@ -50,7 +50,7 @@ class NoticeController extends Controller
|
|||||||
if (!$notice) {
|
if (!$notice) {
|
||||||
abort(500, '公告不存在');
|
abort(500, '公告不存在');
|
||||||
}
|
}
|
||||||
if ($notice->delete()) {
|
if (!$notice->delete()) {
|
||||||
abort(500, '删除失败');
|
abort(500, '删除失败');
|
||||||
}
|
}
|
||||||
return response([
|
return response([
|
||||||
|
Loading…
Reference in New Issue
Block a user