|
@@ -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);
|