diff --git a/src/controller/Broadcast.php b/src/controller/Broadcast.php index 18e248d..8cf6bb8 100644 --- a/src/controller/Broadcast.php +++ b/src/controller/Broadcast.php @@ -67,7 +67,9 @@ class Broadcast extends Controller } unset($vo['to']); } - $vo['create_by'] = session('user.id'); + if (empty($vo['id'])) { + $vo['create_by'] = session('user.id'); + } } else { $this->depts = StaffDept::items(); $this->types = NoticeBroadcast::types();