Ver código fonte

Merge branch 'web_sannong_fr'

15313670163 2 dias atrás
pai
commit
fa115efc8b
1 arquivos alterados com 1 adições e 1 exclusões
  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);