From 3afbf8c76bb188d211cefe41fec3dc342e198267 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Fri, 17 Apr 2026 21:09:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/RegionLogic.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/common/logic/RegionLogic.php b/app/common/logic/RegionLogic.php index d2348841..24a24860 100644 --- a/app/common/logic/RegionLogic.php +++ b/app/common/logic/RegionLogic.php @@ -51,8 +51,7 @@ class RegionLogic extends Logic $arr = ["上海市","北京市","广州市","深圳市","杭州市","嘉兴市","泉州市", "漳州市","西安市","苏州市","哈尔滨市","菏泽市","惠州市","厦门市","济宁市","威海市","福州市"]; $result = '"' . implode('","', $arr) . '"'; - $lists = DevRegion::where(['level'=>2]) - ->where("name","in",$result) + $lists = DevRegion::where("name","in",$result) ->field('id,parent_id,level,name,short,city_code,zip_code,gcj02_lng,gcj02_lat,db09_lng,db09_lat,remark1,remark2') ->select() ->toArray();