wesmiler hace 5 años
padre
commit
bc7300c9af
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');