diff --git a/Application/Callback/Controller/Notify2Controller.class.php b/Application/Callback/Controller/Notify2Controller.class.php index ed0d45291..4e196c26c 100644 --- a/Application/Callback/Controller/Notify2Controller.class.php +++ b/Application/Callback/Controller/Notify2Controller.class.php @@ -16,7 +16,6 @@ class Notify2Controller extends BaseController */ public function notify() { - Log::write("回来了", Log::DEBUG); C(api('Config/lists')); $apitype = I('get.apitype');#获取支付api类型 @@ -33,7 +32,6 @@ class Notify2Controller extends BaseController exit('Access Denied'); } } - Log::write(serialize($notify), Log::DEBUG); $pay_way = $apitype; if ($apitype == "swiftpass") { $apitype = "weixin"; diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index 8684daf05..86cec8911 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -592,7 +592,6 @@ class SsgController extends BaseController { $param['callback'] = "https://".$_SERVER['HTTP_HOST']."/mobile.php/Ssg/install_show/user_id/{$userId}/game_id/{$gameId}/order_id/{$orderId}"; //$param['notifyurl'] = "https://".$_SERVER['HTTP_HOST']."/callback.php/Notify/notify/apitype/alipay"; } - Log::write(serialize($param), Log::DEBUG); $ali_pay = $this->alipay($param); redirect($ali_pay['url']); }else{ diff --git a/ThinkPHP/Library/Think/Pay.class.php b/ThinkPHP/Library/Think/Pay.class.php index 02340de61..972efffd6 100644 --- a/ThinkPHP/Library/Think/Pay.class.php +++ b/ThinkPHP/Library/Think/Pay.class.php @@ -169,10 +169,8 @@ class Pay } $notifyurl = $vo->getNotifyUrl(); if (!$notifyurl){ - // $notifyurl = 'http://' . $_SERVER ['HTTP_HOST'] . '/callback.php/Notify2/notify/apitype/alipay/methodtype/notify'; - $notifyurl = 'https://m.wmtxkj.com/callback.php/Notify2/notify/apitype/alipay/methodtype/notify'; + $notifyurl = 'https://' . $_SERVER ['HTTP_HOST'] . '/callback.php/Notify2/notify/apitype/alipay/methodtype/notify'; } - Log::write($notifyurl, Log::DEBUG); $request->setNotifyUrl($notifyurl); switch ($type) {