chenzhi 5 years ago
parent 4ebba110d9
commit c211c493ed

@ -3,7 +3,7 @@
namespace Callback\Controller;
use Org\UcenterSDK\Ucservice;
use Think\Log;
/**
* 新版支付回调控制器
@ -31,7 +31,7 @@ class Notify2Controller extends BaseController
exit('Access Denied');
}
}
Log::write(serialize($notify), Log::DEBUG);
$pay_way = $apitype;
if ($apitype == "swiftpass") {
$apitype = "weixin";
@ -40,7 +40,7 @@ class Notify2Controller extends BaseController
$aop = new \AopClient();
$aop->alipayrsaPublicKey = file_get_contents("./Application/Sdk/SecretKey/alipay/alipay2_public_key.txt");
$result = $aop->rsaCheckV1($notify,'','RSA2');
Log::write(serialize($result), Log::DEBUG);
if ($result) {
//获取回调订单信息
if (I('get.methodtype') == "notify") {

Loading…
Cancel
Save