zhangchangchun před 6 roky
rodič
revize
a02e93fc6c
2 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. 2 1
      config/customer.php
  2. 2 1
      routes/api.php

+ 2 - 1
config/customer.php

@@ -1,5 +1,6 @@
 <?php
 //此文件为apollo配置文件模板,禁止修改移动
 return [
-    'app_secret' => 'aaaaaaaaaaa'
+    'app_secret' => 'aaaaaaaaaaa',
+    'app_service_url' =>'https://api.dev.caihongxingqiu.com'
 ];

+ 2 - 1
routes/api.php

@@ -22,13 +22,14 @@ $api->version('v1', [
     $api->group(['middleware' => 'auth:api'], function ($api) {
 
     });
+    $api->post('view', 'ShopController@getShop');
     //获取商户列表
     $api->post('getShopList', 'ShopController@getShopList');
     //登录+验签
     $api->group(['middleware' => ['chxq_jwt_auth','chxq_sign']], function ($api) {
 
         //获取商户详情
-        $api->post('view', 'ShopController@getShop');
+
     });
     //仅验签
     $api->group(['middleware' => 'chxq_sign'], function ($api) {