mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
a78f6178bd
commit
6ccd8e583f
@ -21,8 +21,11 @@ class NoticeController extends Controller
|
||||
'title',
|
||||
'content'
|
||||
]);
|
||||
if (!Notice::create($data)) {
|
||||
abort(500, '保存失败');
|
||||
}
|
||||
return response([
|
||||
'data' => Notice::create($data)
|
||||
'data' => true
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user