Merge branch 'dev' of 47.111.118.107:/srv/git/platform into dev

master
ELF 5 years ago
commit 24c512a083

@ -16,6 +16,8 @@ class Notify2Controller extends BaseController
*/ */
public function notify() public function notify()
{ {
Log::write("回来了", Log::DEBUG);
C(api('Config/lists')); C(api('Config/lists'));
$apitype = I('get.apitype');#获取支付api类型 $apitype = I('get.apitype');#获取支付api类型
if (IS_POST && !empty($_POST)) { if (IS_POST && !empty($_POST)) {
@ -31,6 +33,7 @@ class Notify2Controller extends BaseController
exit('Access Denied'); exit('Access Denied');
} }
} }
Log::write(serialize($notify), Log::DEBUG);
$pay_way = $apitype; $pay_way = $apitype;
if ($apitype == "swiftpass") { if ($apitype == "swiftpass") {
$apitype = "weixin"; $apitype = "weixin";

Loading…
Cancel
Save