wesmiler 5 lat temu
rodzic
commit
e342bca817
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      config/routes.php

+ 1 - 1
config/routes.php

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