1
0
Fork 0

更新 app/Admin/Services/KeywordService.php

panliang 2023-12-01 09:37:29 +08:00
parent d1b815a66b
commit 2f9541ff27
1 changed files with 0 additions and 1 deletions

View File

@ -74,7 +74,6 @@ class KeywordService extends BaseService
if ($parent_id) {
$parent = Keyword::findOrFail($parent_id);
$data['level'] = $parent->level + 1;
$data['type_key'] = $parent->key;
$data['path'] = $parent->path.$parent_id.'-';
} else {
$data['level'] = 1;