Skip to content

Commit

Permalink
build 00617: change page path
Browse files Browse the repository at this point in the history
~ User/login -> /login
  • Loading branch information
SmallOyster committed Jul 18, 2019
1 parent 062f3c2 commit 5cc52ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

▲ 开发商:广州市生蚝科技有限公司(生蚝科技)

▲ 代码版本信息:***Build 00615***
▲ 代码版本信息:***Build 00617***

▲ 系统版本信息:***2.0.0***

Expand Down
1 change: 1 addition & 0 deletions application/config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion ssoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 5cc52ff

Please sign in to comment.