更新 app/Admin/Services/KeywordService.php
parent
d1b815a66b
commit
2f9541ff27
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue