15313670163 5 zile în urmă
părinte
comite
211171dcf7
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -2170,7 +2170,7 @@ class WebsiteService implements WebsiteServiceInterface
                     $join->on('pc.pid', '=', 'website_category.category_id')
                         ->where('pc.website_id', '=', $data['website_id']);
                 })
-                ->select('website_category.category_id', 'website_category.aLIas_pinyin', DB::raw('CASE WHEN pc.category_id IS NOT NULL THEN 1 ELSE 0 END as children_count'))
+                ->select('website_category.category_id', 'website_category.alias', DB::raw('CASE WHEN pc.category_id IS NOT NULL THEN 1 ELSE 0 END as children_count'))
                 ->first();
         }
         if(isset($data['foot_pinyin']) &&!empty($data['foot_pinyin'])){