|
|
@@ -2186,7 +2186,7 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
$category['children_count'] = WebsiteCategory::where('website_id',$data['website_id'])->where('pid',$data['category_id'])->count();
|
|
|
$parent = WebsiteCategory::where('website_id',$data['website_id'])->where('category_id',$category['pid'])->select('category_id as parent_id','alias as parent_name','aLIas_pinyin')->first();
|
|
|
// return Result::success($parent);
|
|
|
- $category['aLIas_pinyin'] = $category['path'] ?? '';
|
|
|
+ // $category['aLIas_pinyin'] = $category['path'] ?? '';
|
|
|
$category['parent_id'] = $parent['parent_id'] ?? '';
|
|
|
$category['parent_pinyin'] = $parent['aLIas_pinyin'] ?? '';
|
|
|
$category['parent_name'] = $parent['parent_name'] ?? '';
|