Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cash-loan-flow-boss
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QG
cash-loan-flow-boss
Commits
b0d9b1d3
Commit
b0d9b1d3
authored
Aug 06, 2019
by
WeiWei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
6fd38535
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Role.java
.../cn/quantgroup/cashloanflowboss/api/role/entity/Role.java
+1
-2
ApplicationStatus.java
...p/cashloanflowboss/core/dictionary/ApplicationStatus.java
+3
-3
No files found.
src/main/java/cn/quantgroup/cashloanflowboss/api/role/entity/Role.java
View file @
b0d9b1d3
package
cn
.
quantgroup
.
cashloanflowboss
.
api
.
role
.
entity
;
package
cn
.
quantgroup
.
cashloanflowboss
.
api
.
role
.
entity
;
import
cn.quantgroup.cashloanflowboss.component.security.Authority
;
import
cn.quantgroup.cashloanflowboss.core.persistence.Primary
;
import
cn.quantgroup.cashloanflowboss.core.persistence.Primary
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -29,6 +28,6 @@ public class Role extends Primary {
...
@@ -29,6 +28,6 @@ public class Role extends Primary {
/**
/**
* 授权列表
* 授权列表
*/
*/
private
List
<
Authority
>
authoritie
s
;
private
List
<
Permission
>
permission
s
;
}
}
src/main/java/cn/quantgroup/cashloanflowboss/core/dictionary/ApplicationStatus.java
View file @
b0d9b1d3
...
@@ -27,11 +27,11 @@ public enum ApplicationStatus implements Status<ApplicationStatus> {
...
@@ -27,11 +27,11 @@ public enum ApplicationStatus implements Status<ApplicationStatus> {
INVALID_AUTHORITY
(
501001
,
"无效的授权"
),
INVALID_AUTHORITY
(
501001
,
"无效的授权"
),
INVALID_USER
(
50100
1
,
"无效的用户"
),
INVALID_USER
(
50100
2
,
"无效的用户"
),
DISABLED_USER
(
50100
2
,
"用户已被禁用"
),
DISABLED_USER
(
50100
3
,
"用户已被禁用"
),
USERNAME_OR_PASSWORD_ERROR
(
50100
3
,
"用户名或密码错误"
);
USERNAME_OR_PASSWORD_ERROR
(
50100
4
,
"用户名或密码错误"
);
private
int
code
;
private
int
code
;
...
...
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