阶段更新
This commit is contained in:
14
modules/Payment/Routes/api.php
Normal file
14
modules/Payment/Routes/api.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Routing\Router;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::group([
|
||||
'prefix' => 'payments',
|
||||
'namespace' => 'Api',
|
||||
], function (Router $router) {
|
||||
$router->get('gateways', 'GatewayController@index');
|
||||
|
||||
$router->any('notify/wechat', 'NotifyController@wechat')->name('payment.notify.wechat');
|
||||
$router->any('notify/alipay', 'NotifyController@alipay')->name('payment.notify.alipay');
|
||||
});
|
||||
Reference in New Issue
Block a user