yingzi 2 years ago
parent
commit
09d94c06bf
2 changed files with 2 additions and 13 deletions
  1. 1 1
      app/api/controller/Pay.php
  2. 1 12
      app/api/route/pay.php

+ 1 - 1
app/api/controller/Pay.php

@@ -1,6 +1,6 @@
 <?php
 declare (strict_types=1);
-namespace app\api\controller\v1;
+namespace app\api\controller;
 
 use app\Request;
 use app\BaseController;

+ 1 - 12
app/api/route/pay.php

@@ -17,18 +17,7 @@ use think\facade\Route;
 Route::group('pay', function () {
     
     //微信异步返回
-    Route::rule('wxpayNotify', 'v1.Pay/wxpayNotify');
-    
-    //支付宝异步返回
-    Route::rule('alipayNotify', 'v1.Pay/alipayNotify');
-    //支付宝异步返回
-    Route::rule('alipayReturn', 'v1.Pay/alipayReturn');
-	//支付宝异步返回
-    Route::rule('alipayQuit', 'v1.Pay/alipayQuit');
-    //支付宝H5支付
-    Route::rule('alipayH5', 'v1.Pay/alipayH5');
-    //微信H5支付
-    Route::rule('wxpayH5', 'v1.Pay/wxpayH5');
+    Route::rule('wxpayNotify', 'Pay/wxpayNotify');
 })->middleware([
     AllowOriginMiddleware::class,
     SeretKeyMiddleware::class,