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, ];