FengR 4 месяцев назад
Родитель
Сommit
810ba0feee
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -2208,7 +2208,7 @@ class WebsiteService implements WebsiteServiceInterface
         }
         if (isset($data['pinyin']) &&!empty($data['pinyin'])) {
             $result = WebsiteCategory::where('website_id',$data['website_id'])
-            ->where('aLIas_pinyin',$data['pinyin'])
+            ->where('path',$data['pinyin'])
             // $result = WebsiteCategory::where('category_id', $category_id)
                 // ->where('website_category.path', $data['pinyin'])
                 // ->leftJoin('website_category as pc', function ($join) use ($data) {