diff --git a/app/api/controller/PayController.php b/app/api/controller/PayController.php index b73ff3500..a3da0e65f 100644 --- a/app/api/controller/PayController.php +++ b/app/api/controller/PayController.php @@ -38,11 +38,8 @@ class PayController extends BaseApiController $app->wechat->success(); break; case 'wechat_common': - PayNotifyLogic::handle('wechat_common', $ciphertext['out_trade_no'], $ciphertext); - $app->wechat->success(); - break; default: - PayNotifyLogic::handle('wechat_common', $res['out_trade_no'], $res); + PayNotifyLogic::handle('wechat_common', $ciphertext['out_trade_no'], $ciphertext); $app->wechat->success(); break; }