From 9bb7e8e3adae788785657270f6420c9e63d1b5ca Mon Sep 17 00:00:00 2001 From: sszdot Date: Tue, 17 Dec 2024 15:40:20 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Afix=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=E5=89=8D=E7=AB=AF=E4=B8=8D=E6=8F=90=E4=BA=A4=E7=AB=99?= =?UTF-8?q?=E7=82=B9id=20=E4=B9=9F=E4=BC=9A=E5=88=9B=E5=BB=BA=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E6=8F=90=E4=BA=A4=E8=AE=A2=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=20=E6=98=AF=E6=98=AF=E5=90=A6=E6=9C=89=E6=94=B6=E8=B4=A7?= =?UTF-8?q?=E7=AB=99=E7=82=B9id=20=E6=B2=A1=E6=9C=89=E5=88=99=E8=B7=B3?= =?UTF-8?q?=E5=87=BA=20=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- FlyCube/Api/Controller/CheckController.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FlyCube/Api/Controller/CheckController.class.php b/FlyCube/Api/Controller/CheckController.class.php index 39a71ec..f871cc6 100644 --- a/FlyCube/Api/Controller/CheckController.class.php +++ b/FlyCube/Api/Controller/CheckController.class.php @@ -139,6 +139,10 @@ class CheckController extends PublicController exit(); //没有电话 有问题跳出 } + if ($_REQUEST['site_id'] != "") { + echo json_encode(array('status' => 0, 'msg' => '收货地址未填')); + exit(); //没有收货地址 有问题跳出 + } $siteDb = D('receive_site'); $whereSite['id'] = $_REQUEST['site_id']; $whereSite['shop_id'] = $_REQUEST['shop_id'];