|
|
|
@ -39,9 +39,6 @@ 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(json_encode($notify),Log::DEBUG);
|
|
|
|
|
Log::write(file_get_contents("./Application/Sdk/SecretKey/alipay/alipay2_public_key.txt"),Log::DEBUG);
|
|
|
|
|
Log::write(json_encode($result),Log::DEBUG);
|
|
|
|
|
if ($result) {
|
|
|
|
|
//获取回调订单信息
|
|
|
|
|
if (I('get.methodtype') == "notify") {
|
|
|
|
|