更新 app/Admin/Services/KeywordService.php
parent
c2c096ae7b
commit
9bccc483dc
|
|
@ -33,7 +33,7 @@ class KeywordService extends BaseService
|
|||
|
||||
/**
|
||||
* 删除的前置方法
|
||||
*
|
||||
*
|
||||
* @param array $ids 主键id
|
||||
* @return mixed true: 继续后续操作, string: 中断操作, 返回错误提示
|
||||
*/
|
||||
|
|
@ -67,7 +67,7 @@ class KeywordService extends BaseService
|
|||
return true;
|
||||
}
|
||||
|
||||
public function resloveData($data)
|
||||
public function resloveData($data, $model = null)
|
||||
{
|
||||
$parent_id = data_get($data, 'parent_id');
|
||||
if (!is_null($parent_id)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue