Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
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
base_platform_enterprise
gic-platform-auth
Commits
bf44195a
Commit
bf44195a
authored
Nov 13, 2019
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管理员判断类型:GIC管理员和运营管理员
parent
d5e1a118
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
0 deletions
+46
-0
LoginUserTypeEnum.java
...rc/main/java/com/gic/auth/constant/LoginUserTypeEnum.java
+36
-0
UserApiService.java
...pi/src/main/java/com/gic/auth/service/UserApiService.java
+10
-0
No files found.
gic-platform-auth-api/src/main/java/com/gic/auth/constant/LoginUserTypeEnum.java
0 → 100644
View file @
bf44195a
package
com
.
gic
.
auth
.
constant
;
/**
* 登录账号类型
* @ClassName: LoginUserTypeEnum
* @Description:
* @author guojuxing
* @date 2019/11/13 6:46 PM
*/
public
enum
LoginUserTypeEnum
{
GIC_USER
(
0
,
"GIC管理员"
),
OPERATION_USER
(
1
,
"运营实施管理员"
);
private
int
code
;
private
String
message
;
private
LoginUserTypeEnum
(
int
code
,
String
message
)
{
this
.
code
=
code
;
this
.
message
=
message
;
}
public
int
getCode
()
{
return
code
;
}
public
void
setCode
(
int
code
)
{
this
.
code
=
code
;
}
public
String
getMessage
()
{
return
message
;
}
public
void
setMessage
(
String
message
)
{
this
.
message
=
message
;
}
}
gic-platform-auth-api/src/main/java/com/gic/auth/service/UserApiService.java
View file @
bf44195a
...
@@ -24,6 +24,16 @@ public interface UserApiService {
...
@@ -24,6 +24,16 @@ public interface UserApiService {
ServiceResponse
<
Integer
>
saveUser
(
UserDTO
userDTO
);
ServiceResponse
<
Integer
>
saveUser
(
UserDTO
userDTO
);
/**
/**
* 新增运营实施管理员
* @Title: saveOperationUser
* @Description:
* @author guojuxing
* @param userDTO
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Integer>
*/
ServiceResponse
<
Integer
>
saveOperationUser
(
UserDTO
userDTO
);
/**
* 新增超级用户
* 新增超级用户
* @Title: saveAdmin
* @Title: saveAdmin
* @Description:
* @Description:
...
...
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