代理update

This commit is contained in:
“wanyongkang”
2021-07-07 18:29:51 +08:00
parent 554d3c4c82
commit d9bafc6134

View File

@@ -191,7 +191,7 @@ class Userinfo extends Controller
//退款价
$refund_price = $product_model->getOne(['Id' => $data['ProductId']]);
$discount = $discount_model->getOne($agent_info['discount_id']);
$discount = $discount_model->getOne(['Id'=>$agent_info['discount_id']]);
if (empty($discount)){
$retuen_data = [
'Code' => -10000,