Browse Source

充值回调

gorden 8 months ago
parent
commit
74ef9ca4d7
2 changed files with 1 additions and 3 deletions
  1. 0 2
      app/admin/controller/notify/RechargeController.php
  2. 1 1
      route/admin.php

+ 0 - 2
app/admin/controller/notify/RechargeController.php

@@ -79,9 +79,7 @@ class RechargeController
      * @throws BusinessException
      */
     public function disposePaySuccess($payId){
-
         $payDetail = PayDetail::find($payId);
-        dump($payDetail);
         if (!$payDetail || $payDetail->pay_status != 'SUCCESS') {
             // throw new BusinessException("支付状态异常");
            return json_fail("支付状态异常");

+ 1 - 1
route/admin.php

@@ -945,5 +945,5 @@ Route::group('/admin', function () {
 
 
 Route::group('/notify', function () {
-    Route::post('/recharge/paySuccess', [\app\admin\controller\notify\RechargeController::class, 'disposePaySuccess']);
+    Route::post('/recharge/paySuccess', [\app\admin\controller\notify\RechargeController::class, 'paySuccess']);
 });