From 28ed42cb5dc4fc6cd57e4a293e437118ab16a479 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Wed, 6 Apr 2022 18:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E5=8D=95=E5=8D=95=E5=93=81=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E5=95=86=E5=93=81=E7=B1=BB=E5=9E=8B=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/BuyService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/service/BuyService.php b/app/service/BuyService.php index fbe2bbdec..39fcfb561 100755 --- a/app/service/BuyService.php +++ b/app/service/BuyService.php @@ -1125,8 +1125,8 @@ class BuyService foreach($buy['data']['goods'] as $v) { // 商品销售模式 - // 商品小于等于1则使用商品的类型 - if($v['order_base']['goods_count'] == 1) + // 当前整体仓库商品等于1则使用商品的类型 + if($buy['data']['base']['goods_count'] == 1) { $ret = GoodsService::GoodsSalesModelType($v['goods_items'][0]['goods_id']); $site_model = ($ret['data'] == 4) ? $user_site_model : $ret['data'];