wesmiler il y a 5 ans
Parent
commit
e342bca817
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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::addGroup('/api', function ()  {
     // 彩种数据
     // 彩种数据
-    Router::post('lottery/test', ['App\Controller\LotteryController@test', 'test']);
+    Router::post('lottery/test', 'App\Controller\LotteryController@test');
 
 
 
 
 });
 });