|
...
|
...
|
@@ -40,7 +40,7 @@ class RouteServiceProvider extends ServiceProvider |
|
|
|
//预定义两个端的API路由
|
|
|
|
$this->mapAsideRoute();
|
|
|
|
$this->mapBsideRoute();
|
|
|
|
|
|
|
|
$this->mapWechatRoute();
|
|
|
|
// 暂时无用
|
|
|
|
$this->routes(function () {
|
|
|
|
Route::prefix('api')
|
|
...
|
...
|
@@ -74,7 +74,14 @@ class RouteServiceProvider extends ServiceProvider |
|
|
|
->namespace($this->namespace . '\Bside')
|
|
|
|
->group(base_path('routes/bside.php'));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
*B端API路由
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
protected function mapWechatRoute(){
|
|
|
|
Route::namespace($this->namespace . '\wechat')
|
|
|
|
->group(base_path('routes/wechat.php'));
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* Configure the rate limiters for the application.
|
|
|
|
*
|
...
|
...
|
|