Browse Source

Merge branch 'web_sannong_fr'

rkljw 4 months ago
parent
commit
3bfe42aa49
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -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'] ?? '';