wesmiler %!s(int64=5) %!d(string=hai) anos
pai
achega
bc7300c9af
Modificáronse 1 ficheiros con 1 adicións e 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');