dyjh 6 年之前
父节点
当前提交
2cbbcf3d61
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      routes/web.php

+ 4 - 4
routes/web.php

xqd xqd xqd
@@ -11,12 +11,12 @@
 */
 
 $apiRoute = [
-    'api/album/xyx_login' => ['real' => 'Api/V1/Album/albumXyxLogin','method'=>'post','auth'=>false],
+    'api/album/get-banner' => ['real' => 'Api/V1/Album/albumGetBanner','method'=>'get','auth'=>false],
     'Api/V1/Album/albumCat' => 'get',
     'Api/V1/Album/albumXyxLogin' => 'post',
     'Api/V1/Album/albumSetting' => 'get'
 ];
-$auth = [
+/*$auth = [
     'Api/V1/Album/albumGoods' => 'post',
     'Api/V1/Album/albumCustomerGoods' => 'post',
     'Api/V1/Album/albumCustomerGoodsDetail' => 'post',
@@ -27,7 +27,7 @@ $auth = [
     'Api/V1/AlbumBoss/albumOverviewActive' => 'post',
     'Api/V1/Album/albumGoods' => 'post',
     'Api/V1/Album/albumGoods' => 'post',
-];
+];*/
 Route::get('/addons/furnitureWe7/public/', [
     'as' => 'attachment.download',
     'uses' => 'Web\AttachmentController@download',
@@ -75,7 +75,7 @@ if (strpos(request()->getRequestUri(), '/addons/') !== false) {
                 if (file_exists($file)) {
                     $controller = implode("\\", $route) . "Controller";
                     $action = $controller . "@" . $baseRoute[count($route)];
-
+dd($action);
                     if ($apiRoute[$route_url]['auth'] == true) {
                         Route::middleware(['auth.api'])->group(function () use ($action, $route, $auth, $route_url) {
                             switch ($auth[$route_url]['method']) {