dyjh 6 anni fa
parent
commit
ee48fe3d2c
2 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Middleware/VerifyCsrfToken.php
  2. 6 0
      routes/web.php

+ 1 - 1
app/Http/Middleware/VerifyCsrfToken.php

xqd
@@ -32,7 +32,7 @@ class VerifyCsrfToken extends BaseVerifier
         if($QUERY_STRING[0] == 'route=wechat'){
             return $next($request);
         }
-        if($QUERY_STRING[0] == 'route=Api'){
+        if($QUERY_STRING[0] == 'route=api'){
             return $next($request);
         }
 

+ 6 - 0
routes/web.php

xqd
@@ -44,6 +44,12 @@ $apiRoute = [
     'api/album/goods' => ['real' => 'Api/V1/Album/albumGoods','method'=>'get','auth'=>true],
     'api/album/goods-detail' => ['real' => 'Api/V1/Album/albumGoodsDetail','method'=>'get','auth'=>true],
     'api/album/set-price' => ['real' => 'Api/V1/Album/albumSetPrice','method'=>'get','auth'=>true],
+    'api/album/agent_price_set' => ['real' => 'Api/V1/Album/albumAgentPriceSet','method'=>'post','auth'=>true],
+    'api/album/content_list' => ['real' => 'Api/V1/Album/albumContentList','method'=>'get','auth'=>true],
+    'api/album/set-price' => ['real' => 'Api/V1/Album/albumSetPrice','method'=>'get','auth'=>true],
+    'api/album/set-price' => ['real' => 'Api/V1/Album/albumSetPrice','method'=>'get','auth'=>true],
+    'api/album/set-price' => ['real' => 'Api/V1/Album/albumSetPrice','method'=>'get','auth'=>true],
+    'api/album/set-price' => ['real' => 'Api/V1/Album/albumSetPrice','method'=>'get','auth'=>true],
 
 
 ];