正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -238,6 +238,8 @@ class Api extends Controller | @@ -238,6 +238,8 @@ class Api extends Controller | ||
| 238 | $type = $this->request->param('paytype', 'wechat'); | 238 | $type = $this->request->param('paytype', 'wechat'); |
| 239 | 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); | 239 | 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); |
| 240 | $pay = \addons\epay\library\Service::checkNotify($type); | 240 | $pay = \addons\epay\library\Service::checkNotify($type); |
| 241 | + file_put_contents("pcl_pay_ps.log", date("Y-m-d H:i:s") . "::" . json_encode($pay, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND); | ||
| 242 | + | ||
| 241 | if (!$pay) { | 243 | if (!$pay) { |
| 242 | echo '签名错误'; | 244 | echo '签名错误'; |
| 243 | return; | 245 | return; |
-
请 注册 或 登录 后发表评论