ssg打印2

master
chenzhi 5 years ago
parent 5b191e2033
commit f4cd306f94

@ -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