12345678910111213141516171819202122232425 |
- <?php
- // +----------------------------------------------------------------------
- // | [ WE CAN DO IT MORE SIMPLE ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2018-2020 rights reserved.
- // +----------------------------------------------------------------------
- // | Author: TABLE ME
- // +----------------------------------------------------------------------
- // | Date: 2020-09-05 09:21
- // +----------------------------------------------------------------------
- use app\api\middleware\AllowOriginMiddleware;
- use app\api\middleware\SeretKeyMiddleware;
- use app\api\middleware\UserMiddleware;
- use think\facade\Route;
- Route::group('pay', function () {
-
- //微信异步返回
- Route::rule('wxpayNotify', 'Pay/wxpayNotify');
- })->middleware([
- AllowOriginMiddleware::class,
- SeretKeyMiddleware::class,
- // UserMiddleware::class,
- ]);
|