From 339e9e35728e0a197c5e7b30d2dbddbc768ab26e Mon Sep 17 00:00:00 2001 From: wangmingqing Date: Tue, 30 May 2023 15:01:12 +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 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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",