Explorar el Código

首页不再验证登录

duqinya hace 5 años
padre
commit
736e9aee06
Se han modificado 1 ficheros con 5 adiciones y 4 borrados
  1. 5 4
      routes/api.php

+ 5 - 4
routes/api.php

@@ -31,11 +31,12 @@ $api->version('v1', [
 
     });
     $api->group(['middleware' => 'chxq_jwt_auth'], function ($api) {
-        //兑换商城首页
-        $api->get('/template/exchange', 'CmsContentTemplateSetController@exchangeMall');
-        //获取左一右二/上一下三专题下的商品
-        $api->get('/subject/products', 'CmsContentTemplateSetController@getProducts');
+
     });
+    //兑换商城首页
+    $api->get('/template/exchange', 'CmsContentTemplateSetController@exchangeMall');
+    //获取左一右二/上一下三专题下的商品
+    $api->get('/subject/products', 'CmsContentTemplateSetController@getProducts');
 });
 
 $api->version('v1', [