From 26d680995e6b3b21e3f2e2cbe45da16d2953ebb5 Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Mon, 25 Sep 2023 15:41:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A8=E6=88=B7=E9=9C=80?= =?UTF-8?q?=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/repositories/system/serve/ServeOrderRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/repositories/system/serve/ServeOrderRepository.php b/app/common/repositories/system/serve/ServeOrderRepository.php index be43a534..dc0f14e2 100644 --- a/app/common/repositories/system/serve/ServeOrderRepository.php +++ b/app/common/repositories/system/serve/ServeOrderRepository.php @@ -98,7 +98,7 @@ class ServeOrderRepository extends BaseRepository $arr = [ 'type_id' => $ret['type_id'], 'is_margin' => $ret['is_margin'], - 'margin' => $ret['margin'], + 'margin' => $ret['recharge_margin'], ]; $param = [ 'status' => 0, @@ -109,7 +109,7 @@ class ServeOrderRepository extends BaseRepository 'pay_type' => $data['pay_type'], 'attach' => 'meal', 'order_info' => json_encode($arr,JSON_UNESCAPED_UNICODE), - 'pay_price' => $ret['margin'], + 'pay_price' => $ret['recharge_margin'], ]; return compact('key', 'param');