From a105d50b9b6c4ff14d91084175166400717d8e3f Mon Sep 17 00:00:00 2001 From: lq Date: Mon, 22 Sep 2025 16:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=93=E7=A5=A8=E8=81=94=E6=8B=89=E5=8F=96?= =?UTF-8?q?=E8=A5=BF=E8=8D=AF=E7=9A=84=E4=BE=9B=E8=B4=A7=E4=BB=B7=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=EF=BC=8Clj=E4=BC=A0=E8=85=BE=E7=95=99=E5=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/modules/v1/controllers/ErpController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/modules/v1/controllers/ErpController.php b/platform/modules/v1/controllers/ErpController.php index 79e2e5b..1a7b386 100644 --- a/platform/modules/v1/controllers/ErpController.php +++ b/platform/modules/v1/controllers/ErpController.php @@ -77,12 +77,11 @@ class ErpController extends Controller 'detailId' => $vv['id'], 'productSku' => $vv['drug_no'], 'quantity' => $vv['number'], - 'paymentPrice' => $vv['price'], + 'paymentPrice' => $vv['buy_price'], 'price' => round($vv['number'] * $vv['buy_price'], 2) ]; } - ProductOrderLog::saveLog(0,'江奥川ERP拉取西(中成)药订单异常:'. json_encode($orderItems[$vk])); $erpData[$k]['orderItems'] = $orderItems; $ids[]=$v['id']; } @@ -99,7 +98,8 @@ class ErpController extends Controller ProductOrderLog::saveLog(0,'江奥川ERP拉取西(中成)药订单异常:'.$e->getMessage()); throw new Exception('获取处方异常'.$e->getMessage()); } - + + ProductOrderLog::saveLog(0,'江奥川ERP拉取西(中成)药订单异常:'. json_encode($erpData)); return $erpData; }