Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
media-resource
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨昕
media-resource
Commits
253e2eb3
Commit
253e2eb3
authored
Aug 20, 2020
by
杨昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code foramt
parent
9093ee9b
Pipeline
#10757
passed with stages
in 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
functions.php
app/Helpers/functions.php
+1
-1
LoginController.php
app/Http/Controllers/Web/LoginController.php
+1
-1
No files found.
app/Helpers/functions.php
View file @
253e2eb3
...
...
@@ -343,7 +343,7 @@ function getRbac($request,$url='api/ram',$category_id = '' ,$type='base'){
$rbac_url
=
$rbac
.
'/rbac/'
.
$url
.
'?t='
.
$time
.
'&sign='
.
$sign
.
'&ak='
.
$rbac_ak
.
'&appid='
.
$appid
.
'&uid='
.
$mis_uid
;
break
;
case
'mis_user'
:
case
'mis_user'
:
//获取mis员工基本信息
$staffNo
=
$request
->
username
;
$rbac_url
=
$rbac
.
'/rbac/'
.
$url
.
'?t='
.
$time
.
'&sign='
.
$sign
.
'&ak='
.
$rbac_ak
.
'&staffNo='
.
$staffNo
;
break
;
...
...
app/Http/Controllers/Web/LoginController.php
View file @
253e2eb3
...
...
@@ -137,7 +137,7 @@ class LoginController extends Controller
return
$user
;
}
else
{
throw
new
\Exception
(
'用户
验证失败
'
);
throw
new
\Exception
(
'用户
名或者密码有误
'
);
}
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment