Browse Source

Merge branch 'web_sannong_fr'

15313670163 2 days ago
parent
commit
fa115efc8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/WebsiteService.php

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -587,7 +587,7 @@ class WebsiteService implements WebsiteServiceInterface
         $result = District::leftJoin('district as district2','district.pid','=','district2.id')
         ->where('district.pid',$pid)
         ->where('district.status',1)
-        ->select('district.id','district.name','district2.name as pid_name')
+        ->select('district.*','district2.name as pid_name')
         ->orderBy('district.code')->get();
         if(empty($result)){
             return Result::error("未查询到此地区",0);