save($data); } /** * @notes:编辑 * @param $data * @return bool * @author: wanghousheng */ public function edit($data): bool { return $this->save($data) !== false; } /** * @notes:删除 * @param array $IdentityId * @return bool * @author: wanghousheng */ public function remove(array $IdentityId): bool { return static::whereIn('identity_id', $IdentityId)->delete(); } }