From a626f4ccc2b44d9e5b769114d9a53af014976ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 24 Feb 2021 15:57:56 +0800 Subject: [PATCH] Update Order.php --- app/data/controller/api/auth/Order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/controller/api/auth/Order.php b/app/data/controller/api/auth/Order.php index a6e636535..06fee93b3 100644 --- a/app/data/controller/api/auth/Order.php +++ b/app/data/controller/api/auth/Order.php @@ -76,7 +76,7 @@ class Order extends Auth if (empty($goodsItem)) $this->error('商品规格查询异常'); // 商品类型检查 if ($goodsInfo['truck_type'] < 0) $truckType = $goodsInfo['truck_type']; - if ($truckType !== $goodsInfo['truck_type']) $this->error('实物与虚拟不能混下单!'); + if ($truckType !== $goodsInfo['truck_type']) $this->error('实物与虚拟不能混下单!' . $truckType . '#' . $goodsInfo['truck_type']); // 限制购买数量 if (isset($goods['limit_max_num']) && $goods['limit_max_num'] > 0) { $map = [['a.status', 'in', [2, 3, 4, 5]], ['b.goods_code', '=', $goods['code']], ['a.uid', '=', $this->uuid]];