作者 郭盛
1 个管道 的构建 通过 耗费 3 秒

订单支付回调调试

@@ -461,6 +461,7 @@ class Pay extends Api @@ -461,6 +461,7 @@ class Pay extends Api
461 $config = config('verify.wx_pay'); 461 $config = config('verify.wx_pay');
462 $app = Factory::payment($config); 462 $app = Factory::payment($config);
463 $response = $app->handlePaidNotify(function($message, $fail){ 463 $response = $app->handlePaidNotify(function($message, $fail){
  464 + Log::write(date('Y-m-d H:i:s').json_encode($message,JSON_UNESCAPED_UNICODE),'notice');
464 $data = Db::name('viporder') 465 $data = Db::name('viporder')
465 ->where('num',$message['out_trade_no']) 466 ->where('num',$message['out_trade_no'])
466 ->find(); 467 ->find();