From 936cd5d64813925e740b6eb953ca43c34235af4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=A1=83?= <1098598843@qq.com> Date: Wed, 8 Feb 2023 16:43:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Village.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/controller/Village.php b/app/api/controller/Village.php index 2765d33..4097690 100644 --- a/app/api/controller/Village.php +++ b/app/api/controller/Village.php @@ -489,6 +489,7 @@ class Village extends BaseController }else{ $news['is_dz'] = 0; } + $news['dz_num'] = Db::table('fa_szxc_village')->where('street_id',$address['street_id'])->sum('likes'); $news['id'] = $address['street_id']; $news['title'] = $address_name; $news['address'] = $address_name;