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(); //有问题跳出 }