一键设置代理价格

This commit is contained in:
“wanyongkang”
2021-02-22 14:36:43 +08:00
parent 5774789ee3
commit 85231e25d0

View File

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