...
|
...
|
@@ -59,7 +59,11 @@ class NotifyCommonController extends HomeBaseController |
|
|
if($orderInfo['type'] == 3) {
|
|
|
$Intermediary = controller('Intermediary','controller');
|
|
|
$agencyOffer = $Intermediary->agencyOffer($orderInfo['user_id'],$orderInfo['need_id']);
|
|
|
$update['lower_price'] = $agencyOffer['money'];
|
|
|
if(empty($agencyOffer) || empty($agencyOffer['money'])) {
|
|
|
return 0;
|
|
|
} else {
|
|
|
$update['lower_price'] = $agencyOffer['money'];
|
|
|
}
|
|
|
$pay = $order_model->where($where)->update($update);
|
|
|
$status = 1;
|
|
|
}
|
...
|
...
|
|