代理商价格
This commit is contained in:
@@ -172,6 +172,10 @@ class Agent extends Controller
|
|||||||
'refund' => $product_list[$info['ProductId']]['RefundDayPrice'] * $info['RefundDayPriceDiscount']/100,
|
'refund' => $product_list[$info['ProductId']]['RefundDayPrice'] * $info['RefundDayPriceDiscount']/100,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if ($update_data['price'] < $package_list[$info['PackageId']]['MinPrice']){
|
||||||
|
$update_data['price'] = $package_list[$info['PackageId']]['MinPrice'];
|
||||||
|
}
|
||||||
|
|
||||||
$where = [
|
$where = [
|
||||||
'package_id' => $info['PackageId'],
|
'package_id' => $info['PackageId'],
|
||||||
'agent_id' => $data['userId'],
|
'agent_id' => $data['userId'],
|
||||||
|
|||||||
Reference in New Issue
Block a user