You've already forked think-plugs-notice
[notice]只有新增时写入create_by
This commit is contained in:
@ -67,7 +67,9 @@ class Broadcast extends Controller
|
||||
}
|
||||
unset($vo['to']);
|
||||
}
|
||||
if (empty($vo['id'])) {
|
||||
$vo['create_by'] = session('user.id');
|
||||
}
|
||||
} else {
|
||||
$this->depts = StaffDept::items();
|
||||
$this->types = NoticeBroadcast::types();
|
||||
|
Reference in New Issue
Block a user