|
@@ -31,10 +31,7 @@ class OrderPayController
|
|
|
$config['notify_url'] = getenv('NOTIFY_DOMAIN_ADMIN').'/notify/orderPay/alipay';
|
|
|
Pay::alipay($config)->success()->send();
|
|
|
header('Content-type: application/json');
|
|
|
- echo json_encode([
|
|
|
- 'code' => '200',
|
|
|
- 'msg' => 'success'
|
|
|
- ]);
|
|
|
+ exit(json_encode(['code' => '200', 'msg' => 'success']));
|
|
|
}catch (\Exception $e){
|
|
|
Log::channel('pay')->info("ALIPAY_NOTIFY_REPLY_FAIL", ['msg'=>"回复失败"]);
|
|
|
}
|