|
@@ -38,16 +38,16 @@ class RouteServiceProvider extends ServiceProvider
|
|
|
public function map(Router $router)
|
|
|
{
|
|
|
|
|
|
- $this->mapBookRoutes($router);
|
|
|
- $this->mapUserRoutes($router);
|
|
|
- $this->mapSendOrderRoutes($router);
|
|
|
- $this->mapBadInfoRoutes($router);
|
|
|
- $this->mapTradeRoutes($router);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$this->mapOfficialAccountRoutes($router);
|
|
|
|
|
|
- $this->mapChannelOfficialAccountRoutes($router);
|
|
|
- $this->mapUserAndUserOrderRoutes($router);
|
|
|
- $this->mapWebRoutes($router);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|
|
@@ -113,12 +113,12 @@ class RouteServiceProvider extends ServiceProvider
|
|
|
|
|
|
protected function mapOfficialAccountRoutes(Router $router)
|
|
|
{
|
|
|
- $router->group([
|
|
|
- 'middleware' => 'web',
|
|
|
- ], function ($router) {
|
|
|
- require app_path('Http/Routes/Wap/OfficialAccountRoutes.php');
|
|
|
- require app_path('Http/Routes/Manage/OfficialAccountRoutes.php');
|
|
|
- });
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$router->group([
|
|
|
'middleware' => 'wap',
|
|
|
], function ($router) {
|