修改回调参数异常

This commit is contained in:
liu 2024-07-05 16:55:25 +08:00
parent b430a6242e
commit 97c2b775d7

View File

@ -38,11 +38,8 @@ class PayController extends BaseApiController
$app->wechat->success(); $app->wechat->success();
break; break;
case 'wechat_common': case 'wechat_common':
PayNotifyLogic::handle('wechat_common', $ciphertext['out_trade_no'], $ciphertext);
$app->wechat->success();
break;
default: default:
PayNotifyLogic::handle('wechat_common', $res['out_trade_no'], $res); PayNotifyLogic::handle('wechat_common', $ciphertext['out_trade_no'], $ciphertext);
$app->wechat->success(); $app->wechat->success();
break; break;
} }