Explorar o código

Merge branch 'web_sannong_fr'

rkljw hai 4 meses
pai
achega
3bfe42aa49
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'] ?? '';