作者 郭文星

123

@@ -236,7 +236,7 @@ class Api extends Controller @@ -236,7 +236,7 @@ class Api extends Controller
236 public function OrderPayNtf() 236 public function OrderPayNtf()
237 { 237 {
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 if (!$pay) { 241 if (!$pay) {
242 echo '签名错误'; 242 echo '签名错误';
@@ -111,6 +111,7 @@ class Car extends Base @@ -111,6 +111,7 @@ class Car extends Base
111 'method' => 'miniapp', 111 'method' => 'miniapp',
112 'openid' => $userinfo['wx_xcx_openid'], 112 'openid' => $userinfo['wx_xcx_openid'],
113 ]; 113 ];
  114 + print_r($params);return;
114 $f = \addons\epay\library\Service::submitOrder($params); 115 $f = \addons\epay\library\Service::submitOrder($params);
115 $this->success("请求成功",$f); 116 $this->success("请求成功",$f);
116 117