作者 郭鑫

透视卡修改

... ... @@ -29,7 +29,7 @@ class CommonController extends HomeBaseController
$url = explode('/',$_SERVER['PATH_INFO']);
$count_url = count($url);
$fun = $url[$count_url-1];
if($fun == 'join' || $fun == 'login' || $fun == 'upload_one' || $fun == 'index' || $url[1] == 'Article' || $url[1] == 'Index' || $url[1] == 'Thirdsend' ){
if($fun == 'join' || $fun == 'login' || $fun == 'upload_one' || $fun == 'index' || $url[1] == 'Article' || $url[1] == 'Index' || $url[1] == 'Thirdsend' || $url[1] == 'Notify' || $url[1] == 'Alipay' || $url[1] == 'Alipaywap' ){
$connect = 1;
}else{
$connect = 2;
... ...
... ... @@ -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;
}
... ...