diff --git a/app/config/router.php b/app/config/router.php index 81e81b1..2784614 100644 --- a/app/config/router.php +++ b/app/config/router.php @@ -12,13 +12,13 @@ if(!empty($_SERVER['REQUEST_URI'])&& (preg_match("@\/d\/@", strtolower($_SERVER[ ) ); - // $router->add( - // "/smsoauth2_qa/api/oauth2/code", - // array( - // "controller" => 'oauth2' , - // "action" => 'code', - // ) - // ); + $router->add( + "/api/oauth2/code", + array( + "controller" => 'oauth2' , + "action" => 'code', + ) + ); // $router->add( // "/smsoauth2_qa/api/oauth2/accesstoken",