From 60e10e43adfc7080a384b59432516cabf179ea0a Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Sat, 2 Dec 2023 16:56:18 +0800 Subject: [PATCH] =?UTF-8?q?debug=20=E5=95=86=E6=88=B7=E5=85=A5=E9=A9=BB?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/store/merchant/MerchantIntention.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controller/api/store/merchant/MerchantIntention.php b/app/controller/api/store/merchant/MerchantIntention.php index defa5f61..a9e8ba3a 100644 --- a/app/controller/api/store/merchant/MerchantIntention.php +++ b/app/controller/api/store/merchant/MerchantIntention.php @@ -182,6 +182,8 @@ class MerchantIntention extends BaseController $intenInfo['status'] = 0; $intenInfo['create_time'] = date('Y-m-d H:i:s'); unset($intenInfo['mer_intention_id']); + halt($intenInfo); + $intenInfo['village_id'] = Db::name('geo_village')->where('village_code', $data['village_id'])->value('village_id'); $intentionId = Db::name('merchant_intention')->insertGetId($intenInfo); $areaInfo = Db::name('geo_area')->where('area_code', $intenInfo['area_id'] ?? '')->find(); $sendData = [