$notice_id, 'staff_id' => $staff_id]); } //是否阅读 public static function isRead($notice_id, $staff_id) { if (self::where(['notice_id' => $notice_id, 'staff_id' => $staff_id])->find()) { return 1; } return 0; } }