【类 型】:fix
【原 因】:小程序端提交字段transport_price pack_price 没有前缀default 【过 程】: 【影 响】:
This commit is contained in:
parent
4433d18c8a
commit
c5325cb14a
@ -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(); //有问题跳出
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user