From c5325cb14a716897985e07343741a325ef12b6e7 Mon Sep 17 00:00:00 2001 From: sszdot Date: Thu, 12 Dec 2024 16:10:03 +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=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=AD=97=E6=AE=B5transport=5Fprice=20pack=5Fprice=20=20?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=89=8D=E7=BC=80default=20=E3=80=90?= =?UTF-8?q?=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A=20=E3=80=90=E5=BD=B1?= =?UTF-8?q?=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 --- FlyCube/Api/Controller/CheckController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FlyCube/Api/Controller/CheckController.class.php b/FlyCube/Api/Controller/CheckController.class.php index 6d07282..9b66d0d 100644 --- a/FlyCube/Api/Controller/CheckController.class.php +++ b/FlyCube/Api/Controller/CheckController.class.php @@ -112,7 +112,7 @@ class CheckController extends PublicController $shopDb = D('shop'); $whereShop['shop_id'] = $_REQUEST['shop_id']; $shop = $shopDb->where($whereShop)->find(); - if ($_REQUEST['default_transport_price'] != $shop['default_transport_price'] || $_REQUEST['default_pack_price'] != $shop['default_pack_price']) { + if ($_REQUEST['transport_price'] != $shop['default_transport_price'] || $_REQUEST['pack_price'] != $shop['default_pack_price']) { echo json_encode(array('status' => 0, 'msg' => '运费和打包费不符!')); exit(); //有问题跳出 }