From 5cc52ff2d3dae1b846e74fc526c2490f5b5df546 Mon Sep 17 00:00:00 2001 From: Jerry Cheung Date: Thu, 18 Jul 2019 23:13:30 +0800 Subject: [PATCH] build 00617: change page path ~ User/login -> /login --- README.md | 2 +- application/config/routes.php | 1 + ssoTest.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ec32efe..a0c82b0 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ▲ 开发商:广州市生蚝科技有限公司(生蚝科技) -▲ 代码版本信息:***Build 00615*** +▲ 代码版本信息:***Build 00617*** ▲ 系统版本信息:***2.0.0*** diff --git a/application/config/routes.php b/application/config/routes.php index 7bdd733..ecbbc84 100644 --- a/application/config/routes.php +++ b/application/config/routes.php @@ -17,6 +17,7 @@ // Custom Routes $route['error/(:any)']='Main/error/$1'; $route['dashborad'] = 'Main/index'; +$route['login'] = 'User/login'; /*********** API-Role ************/ $route['api/role/get']='API/API_Role/getRoleInfo'; diff --git a/ssoTest.php b/ssoTest.php index ddf32fa..36651ce 100644 --- a/ssoTest.php +++ b/ssoTest.php @@ -2,7 +2,7 @@ define('APP_ID','');// 应用ID define('REDIRECT_URL','');// 回调Url(需要协议头,最后必须带"/") define('SSO_SERVER','');// SSO服务器域名(需要协议头,最后必须带"/") -define('SSO_LOGIN_URL',SSO_SERVER.'user/login?appId='.APP_ID.'&redirectUrl='.urlencode(REDIRECT_URL)); +define('SSO_LOGIN_URL',SSO_SERVER.'login?appId='.APP_ID.'&redirectUrl='.urlencode(REDIRECT_URL)); define('SSO_API_URL',SSO_SERVER.'api/user/getUserInfo'); $token=isset($_GET['token'])&&$_GET['token']!=""?$_GET['token']:die(header("location:".SSO_LOGIN_URL));