|
@@ -38,16 +38,16 @@ class RouteServiceProvider extends ServiceProvider
|
|
|
public function map(Router $router)
|
|
|
{
|
|
|
// $this->mapFinanceRoutes($router);
|
|
|
- $this->mapBookRoutes($router);
|
|
|
- $this->mapUserRoutes($router);
|
|
|
- $this->mapSendOrderRoutes($router);
|
|
|
- $this->mapBadInfoRoutes($router);//敏感词
|
|
|
- $this->mapTradeRoutes($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);
|
|
|
+// $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' => '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) {
|