From aa8fa7c13933f81a9c90a5dfdf0742570d92bf2e Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 1 Aug 2023 15:43:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dvillage=5Fcode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/informationg/UserInformationg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/informationg/UserInformationg.php b/app/common/model/informationg/UserInformationg.php index ff27c9940..691a0ceca 100644 --- a/app/common/model/informationg/UserInformationg.php +++ b/app/common/model/informationg/UserInformationg.php @@ -133,7 +133,7 @@ class UserInformationg extends BaseModel } public function getVillageNameAttr($value) { - return Db::name('geo_village')->where(['street_code' => $this->village_id])->value('village_name'); + return Db::name('geo_village')->where(['village_code' => $this->village_id])->value('village_name'); } public function getBrigadeNameAttr($value) {