...
|
...
|
@@ -236,7 +236,7 @@ class Api extends Controller |
|
|
public function OrderPayNtf()
|
|
|
{
|
|
|
$type = $this->request->param('paytype', 'wechat');
|
|
|
//file_put_contents("pcl_pay_p.log", date("Y-m-d H:i:s") . "::" . json_encode($this->request->param(), JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
|
|
|
file_put_contents("pcl_pay_p.log", date("Y-m-d H:i:s") . "::" . json_encode($this->request->param(), JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
|
|
|
$pay = \addons\epay\library\Service::checkNotify($type);
|
|
|
if (!$pay) {
|
|
|
echo '签名错误';
|
...
|
...
|
|