1
0
Fork 0

更新 app/Admin/Services/KeywordService.php

panliang 2023-12-01 14:36:31 +08:00
parent c2c096ae7b
commit 9bccc483dc
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class KeywordService extends BaseService
/** /**
* 删除的前置方法 * 删除的前置方法
* *
* @param array $ids 主键id * @param array $ids 主键id
* @return mixed true: 继续后续操作, string: 中断操作, 返回错误提示 * @return mixed true: 继续后续操作, string: 中断操作, 返回错误提示
*/ */
@ -67,7 +67,7 @@ class KeywordService extends BaseService
return true; return true;
} }
public function resloveData($data) public function resloveData($data, $model = null)
{ {
$parent_id = data_get($data, 'parent_id'); $parent_id = data_get($data, 'parent_id');
if (!is_null($parent_id)) { if (!is_null($parent_id)) {