| xqd
@@ -77,8 +77,8 @@ class NoticeController extends AdminController
|
|
|
])->default(0);
|
|
|
$form->display('created_at');
|
|
|
$form->display('updated_at');
|
|
|
- $form->saved(function ($res)use ($form){
|
|
|
- dd($form->model()->id);
|
|
|
+ $form->saved(function ($res){
|
|
|
+ dd($res->model()->id);
|
|
|
//推送消息
|
|
|
JPushService::pushNotify([
|
|
|
//标题
|