Ver Fonte

wesmiler

wesmiler há 5 anos atrás
pai
commit
bc7300c9af
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      config/routes.php

+ 1 - 1
config/routes.php

@@ -19,7 +19,7 @@ Router::get('/favicon.ico', function () {
 
 
 
 
 /*  自定义路由  */
 /*  自定义路由  */
-Router::addGroup('/api', function ()  {
+Router::addGroup('/api/', function ()  {
     // 彩种数据
     // 彩种数据
     Router::post('lottery/test', 'App\Controller\LotteryController@test');
     Router::post('lottery/test', 'App\Controller\LotteryController@test');