소스 검색

充值回调

gorden 10 달 전
부모
커밋
74ef9ca4d7
2개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  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']);
 });