Преглед изворни кода

修改匹配路由的接口

FengR пре 4 месеци
родитељ
комит
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) {