兼容修改

This commit is contained in:
张松
2025-08-15 18:00:18 +08:00
parent 9b2261eabe
commit 79c36d8c03
2 changed files with 0 additions and 5 deletions

View File

@@ -214,8 +214,6 @@ class WuyouController extends BaseController
Log::info("无忧支付回调,验签失败, 签名结果: {$sign}"); Log::info("无忧支付回调,验签失败, 签名结果: {$sign}");
// return 'success'; // return 'success';
} }
throw new SysException("1");
if ($params['callbacks'] != 'CODE_SUCCESS') { if ($params['callbacks'] != 'CODE_SUCCESS') {
Log::info("无忧支付回调,支付失败"); Log::info("无忧支付回调,支付失败");
return 'success'; return 'success';

View File

@@ -53,9 +53,6 @@ class MyExceptionHandle extends ExceptionHandler implements ExceptionHandlerInte
// 非json请求则返回一个页面 // 非json请求则返回一个页面
return new Response(200, ['Content-Type' => 'application/json'], $exception->getMessage()); return new Response(200, ['Content-Type' => 'application/json'], $exception->getMessage());
} }
} }