From d4407825e9bcf202b7e8194aa4835076f710c06e Mon Sep 17 00:00:00 2001 From: wangmingqing Date: Tue, 30 May 2023 14:26:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/router.php | 84 +++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/app/config/router.php b/app/config/router.php index 71b86c8..6140e7f 100644 --- a/app/config/router.php +++ b/app/config/router.php @@ -11,53 +11,53 @@ if(!empty($_SERVER['REQUEST_URI'])&& (preg_match("@\/d\/@", strtolower($_SERVER[ "params"=>3 ) ); - $router->add( - "/smsoauth2_qa/api/oauth2/code", - array( - "controller" => 'oauth2' , - "action" => 'code', - ) - ); + // $router->add( + // "/smsoauth2_qa/api/oauth2/code", + // array( + // "controller" => 'oauth2' , + // "action" => 'code', + // ) + // ); - $router->add( - "/smsoauth2_qa/api/oauth2/accesstoken", - array( - "controller" => 'oauth2' , - "action" => 'accesstoken', - ) - ); + // $router->add( + // "/smsoauth2_qa/api/oauth2/accesstoken", + // array( + // "controller" => 'oauth2' , + // "action" => 'accesstoken', + // ) + // ); - $router->add( - "/smsoauth2_qa/api/sms/send", - array( - "controller" => 'sms' , - "action" => 'send', - ) - ); + // $router->add( + // "/smsoauth2_qa/api/sms/send", + // array( + // "controller" => 'sms' , + // "action" => 'send', + // ) + // ); - $router->add( - "/smsoauth2_qa/api/sms/authcode", - array( - "controller" => 'sms' , - "action" => 'authcode', - ) - ); + // $router->add( + // "/smsoauth2_qa/api/sms/authcode", + // array( + // "controller" => 'sms' , + // "action" => 'authcode', + // ) + // ); - $router->add( - "/smsoauth2_qa/api/sms/query_reports", - array( - "controller" => 'sms' , - "action" => 'query_reports', - ) - ); + // $router->add( + // "/smsoauth2_qa/api/sms/query_reports", + // array( + // "controller" => 'sms' , + // "action" => 'query_reports', + // ) + // ); - $router->add( - "/smsoauth2_qa/api/urls/shorturl", - array( - "controller" => 'urls' , - "action" => 'shorturl', - ) - ); + // $router->add( + // "/smsoauth2_qa/api/urls/shorturl", + // array( + // "controller" => 'urls' , + // "action" => 'shorturl', + // ) + // ); } else{ $router->add(