From 85231e25d0c2ed428858032256591ac626d551c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Mon, 22 Feb 2021 14:36:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E9=94=AE=E8=AE=BE=E7=BD=AE=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E4=BB=B7=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/agent/controller/Agent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/agent/controller/Agent.php b/app/agent/controller/Agent.php index 732a33f..2b3aed6 100644 --- a/app/agent/controller/Agent.php +++ b/app/agent/controller/Agent.php @@ -168,7 +168,7 @@ class Agent extends Controller 'product_id' => $info['ProductId'], 'package_id' => $info['PackageId'], 'agent_id' => $data['userId'], - 'price' => $package_list[$info['PackageId']]['Price'] * $info['BuyPriceDiscount']/100, + 'price' => $package_list[$info['PackageId']]['LinePrice'] * $info['BuyPriceDiscount']/100, 'refund' => $product_list[$info['ProductId']]['RefundDayPrice'] * $info['RefundDayPriceDiscount']/100, ];