Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
challenger-rmi
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许佳林
challenger-rmi
Commits
0d1097dd
Commit
0d1097dd
authored
Apr 19, 2017
by
Xujialin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一些借口接口rmi 与vo
parent
4990bfd3
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
241 additions
and
200 deletions
+241
-200
pom.xml
+1
-1
src/main/java/com/senthink/rmi/challenger/rmi/EllaAppVersionRemoteService.java
+5
-4
src/main/java/com/senthink/rmi/challenger/rmi/EllaIndexRemoteService.java
+1
-1
src/main/java/com/senthink/rmi/challenger/rmi/EllaOrgStructureHystrix.java
+2
-2
src/main/java/com/senthink/rmi/challenger/rmi/EllaOrgStructureRemoteService.java
+6
-6
src/main/java/com/senthink/rmi/challenger/rmi/EllaPagePermissionRemoteService.java
+3
-3
src/main/java/com/senthink/rmi/challenger/rmi/EllaRoleRemoteService.java
+6
-6
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemRemoteService.java
+4
-4
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemSyncRemoteService.java
+3
-4
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseHystrix.java
+6
-2
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseRemoteService.java
+23
-14
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserExtendsRemoteService.java
+7
-6
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserLeaseRemoteService.java
+19
-18
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserParkRemoteService.java
+5
-4
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserTypeRemoteService.java
+5
-4
src/main/java/com/senthink/rmi/challenger/vo/EllaRoleVo.java
+87
-74
src/main/java/com/senthink/rmi/challenger/vo/LeaseUserParkAuth.java
+55
-44
src/main/java/com/senthink/rmi/challenger/vo/YunyingUserSearchVo.java
+3
-3
No files found.
pom.xml
View file @
0d1097dd
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<groupId>
com.senthink.www
</groupId>
<groupId>
com.senthink.www
</groupId>
<artifactId>
challenger-rmi
</artifactId>
<artifactId>
challenger-rmi
</artifactId>
<version>
0.1.
4
</version>
<version>
0.1.
17
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
challenger-rmi
</name>
<name>
challenger-rmi
</name>
...
...
src/main/java/com/senthink/rmi/challenger/rmi/EllaAppVersionRemoteService.java
View file @
0d1097dd
...
@@ -22,19 +22,19 @@ import io.swagger.annotations.ApiOperation;
...
@@ -22,19 +22,19 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaAppVersionRemoteService
{
public
interface
EllaAppVersionRemoteService
{
@ApiOperation
(
"查询接口,参数search"
)
@ApiOperation
(
"查询接口,参数search"
)
@RequestMapping
(
value
=
"appversion/getPage"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
challenger/
appversion/getPage"
,
method
=
RequestMethod
.
POST
)
Message
appVersionSearch
(
@RequestBody
EllaAppVersionVo
av
);
Message
appVersionSearch
(
@RequestBody
EllaAppVersionVo
av
);
@ApiOperation
(
"编辑查找实体接口,参数id"
)
@ApiOperation
(
"编辑查找实体接口,参数id"
)
@RequestMapping
(
value
=
"appversion/toUpdate/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
challenger/
appversion/toUpdate/{id}"
,
method
=
RequestMethod
.
GET
)
Message
appVersionToupdate
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
Message
appVersionToupdate
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
"保存接口"
)
@ApiOperation
(
"保存接口"
)
@RequestMapping
(
value
=
"appversion/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
challenger/
appversion/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
appVersionDoUpdateOrAdd
(
@RequestBody
EllaAppVersionVo
av
);
Message
appVersionDoUpdateOrAdd
(
@RequestBody
EllaAppVersionVo
av
);
@ApiOperation
(
"删除接口,参数id"
)
@ApiOperation
(
"删除接口,参数id"
)
@RequestMapping
(
value
=
"appversion/delete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
challenger/
appversion/delete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
appVersiondelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
Message
appVersiondelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaIndexRemoteService.java
View file @
0d1097dd
...
@@ -29,7 +29,7 @@ public interface EllaIndexRemoteService {
...
@@ -29,7 +29,7 @@ public interface EllaIndexRemoteService {
@ApiOperation
(
"根据用户id与菜单id获取该菜单下有权限的按钮"
)
@ApiOperation
(
"根据用户id与菜单id获取该菜单下有权限的按钮"
)
@RequestMapping
(
value
=
"/challenger/index/getpre/{id}/{menuId}"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/challenger/index/getpre/{id}/{menuId}"
,
method
=
RequestMethod
.
POST
)
Message
getIndexPre
(
@PathVariable
Integer
id
,
@PathVariable
Integer
menuId
);
Message
getIndexPre
(
@PathVariable
(
value
=
"id"
)
Integer
id
,
@PathVariable
(
value
=
"menuId"
)
Integer
menuId
);
@ApiOperation
(
"注册时检查是否重名的接口"
)
@ApiOperation
(
"注册时检查是否重名的接口"
)
@RequestMapping
(
value
=
"/challenger/challenger/check/name/{name}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/challenger/check/name/{name}"
,
method
=
RequestMethod
.
GET
)
...
...
src/main/java/com/senthink/rmi/challenger/rmi/EllaOrgStructureHystrix.java
View file @
0d1097dd
...
@@ -15,9 +15,9 @@ import com.senthink.rmi.challenger.vo.EllaOrgStructureVo;
...
@@ -15,9 +15,9 @@ import com.senthink.rmi.challenger.vo.EllaOrgStructureVo;
*/
*/
public
abstract
class
EllaOrgStructureHystrix
implements
EllaOrgStructureRemoteService
{
public
abstract
class
EllaOrgStructureHystrix
implements
EllaOrgStructureRemoteService
{
public
abstract
Message
index
();
public
abstract
Message
index
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
public
abstract
Message
orgToUpdate
(
@
RequestBody
EllaOrgStructureVo
vo
);
public
abstract
Message
orgToUpdate
(
@
PathVariable
Integer
id
);
public
abstract
Message
orgDoAddOrUpdate
(
@RequestBody
EllaOrgStructureVo
vo
);
public
abstract
Message
orgDoAddOrUpdate
(
@RequestBody
EllaOrgStructureVo
vo
);
...
...
src/main/java/com/senthink/rmi/challenger/rmi/EllaOrgStructureRemoteService.java
View file @
0d1097dd
...
@@ -21,19 +21,18 @@ import io.swagger.annotations.ApiOperation;
...
@@ -21,19 +21,18 @@ import io.swagger.annotations.ApiOperation;
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaOrgStructureHystrix
.
class
)
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaOrgStructureHystrix
.
class
)
public
interface
EllaOrgStructureRemoteService
{
public
interface
EllaOrgStructureRemoteService
{
@ApiOperation
(
value
=
"获取组织架构列表"
)
@ApiOperation
(
value
=
"获取组织架构列表"
)
@RequestMapping
(
value
=
{
"/challenger/org/index"
,
"/challenger/org/list"
,
@RequestMapping
(
value
=
"/challenger/org/index/{userId}"
,
method
=
RequestMethod
.
POST
)
"/challenger/back/org/list"
},
method
=
RequestMethod
.
POST
)
public
Message
index
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
index
();
@ApiOperation
(
value
=
"获取组织架构单个节点的信息"
)
@ApiOperation
(
value
=
"获取组织架构单个节点的信息"
)
@RequestMapping
(
value
=
"/challenger/org/toUpdate/
"
,
method
=
RequestMethod
.
GE
T
)
@RequestMapping
(
value
=
"/challenger/org/toUpdate/
{id}"
,
method
=
RequestMethod
.
POS
T
)
Message
orgToUpdate
(
@
RequestBody
EllaOrgStructureVo
vo
);
Message
orgToUpdate
(
@
PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
value
=
"保存或更新该节点信息"
)
@ApiOperation
(
value
=
"保存或更新该节点信息"
)
@RequestMapping
(
value
=
"/challenger/org/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/challenger/org/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
orgDoAddOrUpdate
(
@RequestBody
EllaOrgStructureVo
vo
);
Message
orgDoAddOrUpdate
(
@RequestBody
EllaOrgStructureVo
vo
);
@RequestMapping
(
value
=
"/challenger/org/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/org/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
orgDoDelete
(
@PathVariable
Integer
id
);
Message
orgDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaPagePermissionRemoteService.java
View file @
0d1097dd
...
@@ -22,8 +22,7 @@ import io.swagger.annotations.ApiOperation;
...
@@ -22,8 +22,7 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaPagePermissionRemoteService
{
public
interface
EllaPagePermissionRemoteService
{
@ApiOperation
(
value
=
"获取权限列表"
)
@ApiOperation
(
value
=
"获取权限列表"
)
@RequestMapping
(
value
=
{
"/challenger/pageper/index"
,
"/challenger/pageper/list"
,
@RequestMapping
(
value
=
{
"/challenger/pageper/index"
},
method
=
RequestMethod
.
POST
)
"/challenger/back/pageper/list"
},
method
=
RequestMethod
.
POST
)
Message
orgDoDelete
();
Message
orgDoDelete
();
@ApiOperation
(
value
=
"获取当前节点信息,或插入"
)
@ApiOperation
(
value
=
"获取当前节点信息,或插入"
)
...
@@ -36,6 +35,6 @@ public interface EllaPagePermissionRemoteService {
...
@@ -36,6 +35,6 @@ public interface EllaPagePermissionRemoteService {
@ApiOperation
(
"删除当前节点"
)
@ApiOperation
(
"删除当前节点"
)
@RequestMapping
(
value
=
"/challenger/pageper/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/pageper/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
perDoDelete
(
@PathVariable
Integer
id
);
Message
perDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaRoleRemoteService.java
View file @
0d1097dd
...
@@ -22,16 +22,15 @@ import io.swagger.annotations.ApiOperation;
...
@@ -22,16 +22,15 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaRoleRemoteService
{
public
interface
EllaRoleRemoteService
{
@ApiOperation
(
"角色列表"
)
@ApiOperation
(
"角色列表"
)
@RequestMapping
(
value
=
{
"/challenger/role/searchList"
,
@RequestMapping
(
value
=
{
"/challenger/back/role/list"
},
method
=
RequestMethod
.
POST
)
"/challenger/back/role/list"
},
method
=
RequestMethod
.
POST
)
Message
roleSearchList
(
@RequestBody
EllaRoleVo
vo
);
Message
roleSearchList
(
@RequestBody
EllaRoleVo
vo
);
@ApiOperation
(
"添加时获取权限树"
)
@ApiOperation
(
"添加时获取权限树"
)
@RequestMapping
(
value
=
"/challenger/role/toAdd/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/role/toAdd/{id}"
,
method
=
RequestMethod
.
GET
)
Message
roleToAdd
(
@PathVariable
Integer
id
);
Message
roleToAdd
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
"更新角色时获取该角色对象"
)
@ApiOperation
(
"更新角色时获取该角色对象"
)
@RequestMapping
(
value
=
"/role/toUpdate/{roleId}/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
role/toUpdate/{roleId}/{userId}"
,
method
=
RequestMethod
.
GET
)
public
Message
roleToUpdate
(
@PathVariable
(
value
=
"roleId"
)
Integer
roleId
,
public
Message
roleToUpdate
(
@PathVariable
(
value
=
"roleId"
)
Integer
roleId
,
@PathVariable
(
value
=
"userId"
)
String
userId
);
@PathVariable
(
value
=
"userId"
)
String
userId
);
...
@@ -41,10 +40,10 @@ public interface EllaRoleRemoteService {
...
@@ -41,10 +40,10 @@ public interface EllaRoleRemoteService {
@ApiOperation
(
"根据id删除角色"
)
@ApiOperation
(
"根据id删除角色"
)
@RequestMapping
(
value
=
"/challenger/role/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/role/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
roleDoDelete
(
@PathVariable
Integer
id
);
Message
roleDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
"角色详情"
)
@ApiOperation
(
"角色详情"
)
@RequestMapping
(
value
=
"/challenger/role/toDetail/{roleId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/role/toDetail/{roleId}"
,
method
=
RequestMethod
.
GET
)
Message
roleToDetail
(
@PathVariable
Integer
roleId
);
Message
roleToDetail
(
@PathVariable
(
value
=
"roleId"
)
Integer
roleId
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemRemoteService.java
View file @
0d1097dd
...
@@ -22,13 +22,12 @@ import io.swagger.annotations.ApiOperation;
...
@@ -22,13 +22,12 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaSubsystemRemoteService
{
public
interface
EllaSubsystemRemoteService
{
@ApiOperation
(
"查询"
)
@ApiOperation
(
"查询"
)
@RequestMapping
(
value
=
{
"/challenger/subsystem/searchList"
,
@RequestMapping
(
value
=
{
"/challenger/back/subsystem/list"
},
method
=
RequestMethod
.
POST
)
"/challenger/back/subsystem/list"
},
method
=
RequestMethod
.
POST
)
Message
subSearchList
(
@RequestBody
EllaSubsystemVo
vo
);
Message
subSearchList
(
@RequestBody
EllaSubsystemVo
vo
);
@ApiOperation
(
"根据id获取要更新的系统信息"
)
@ApiOperation
(
"根据id获取要更新的系统信息"
)
@RequestMapping
(
value
=
"/challenger/subsystem/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/subsystem/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
Message
subToUpdate
(
@PathVariable
Integer
subsystemId
);
Message
subToUpdate
(
@PathVariable
(
value
=
"subsystemId"
)
Integer
subsystemId
);
@ApiOperation
(
"更新或插入操作"
)
@ApiOperation
(
"更新或插入操作"
)
@RequestMapping
(
value
=
"/challenger/subsystem/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/challenger/subsystem/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
...
@@ -36,6 +35,6 @@ public interface EllaSubsystemRemoteService {
...
@@ -36,6 +35,6 @@ public interface EllaSubsystemRemoteService {
@ApiOperation
(
"删除操作"
)
@ApiOperation
(
"删除操作"
)
@RequestMapping
(
value
=
"/challenger/subsystem/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/subsystem/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
subDoDelete
(
@PathVariable
Integer
id
);
Message
subDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemSyncRemoteService.java
View file @
0d1097dd
...
@@ -23,13 +23,12 @@ import io.swagger.annotations.ApiOperation;
...
@@ -23,13 +23,12 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaSubsystemSyncRemoteService
{
public
interface
EllaSubsystemSyncRemoteService
{
@ApiOperation
(
"子系统同步信息首页"
)
@ApiOperation
(
"子系统同步信息首页"
)
@RequestMapping
(
value
=
{
"/challenger/subsystemsync/list"
,
@RequestMapping
(
value
=
{
"/challenger/back/subsystemsync/list"
},
method
=
RequestMethod
.
POST
)
"/challenger/back/subsystemsync/list"
},
method
=
RequestMethod
.
POST
)
Message
subsIndex
();
Message
subsIndex
();
@ApiOperation
(
"编辑页面初始化"
)
@ApiOperation
(
"编辑页面初始化"
)
@RequestMapping
(
value
=
"/challenger/subsystemsync/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/subsystemsync/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
Message
subsToUpdate
(
@PathVariable
Integer
subsystemId
);
Message
subsToUpdate
(
@PathVariable
(
value
=
"subsystemId"
)
Integer
subsystemId
);
@ApiOperation
(
"添加或者编辑子系统同步信息"
)
@ApiOperation
(
"添加或者编辑子系统同步信息"
)
@RequestMapping
(
value
=
{
"/challenger/subsystemsync/doAddOrUpdate"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/challenger/subsystemsync/doAddOrUpdate"
},
method
=
RequestMethod
.
POST
)
...
@@ -37,7 +36,7 @@ public interface EllaSubsystemSyncRemoteService {
...
@@ -37,7 +36,7 @@ public interface EllaSubsystemSyncRemoteService {
@ApiOperation
(
"子系统同步删除"
)
@ApiOperation
(
"子系统同步删除"
)
@RequestMapping
(
value
=
"/challenger/subsystemsync/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/challenger/subsystemsync/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
subsDoDelete
(
@PathVariable
Integer
id
);
Message
subsDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
"按条件查询"
)
@ApiOperation
(
"按条件查询"
)
@RequestMapping
(
value
=
{
"/challenger/subsystemsync/searchList"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/challenger/subsystemsync/searchList"
},
method
=
RequestMethod
.
POST
)
...
...
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseHystrix.java
View file @
0d1097dd
...
@@ -21,8 +21,7 @@ public abstract class EllaUserBaseHystrix implements EllaUserBaseRemoteService {
...
@@ -21,8 +21,7 @@ public abstract class EllaUserBaseHystrix implements EllaUserBaseRemoteService {
public
abstract
Message
userToAdd
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
public
abstract
Message
userToAdd
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
public
abstract
Message
userToUpdate
(
@PathVariable
(
value
=
"id"
)
Integer
id
,
public
abstract
Message
userToUpdate
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
public
abstract
Message
userDoAddOrUpdate
(
@RequestBody
EllaUserBaseVo
vo
);
public
abstract
Message
userDoAddOrUpdate
(
@RequestBody
EllaUserBaseVo
vo
);
...
@@ -42,4 +41,8 @@ public abstract class EllaUserBaseHystrix implements EllaUserBaseRemoteService {
...
@@ -42,4 +41,8 @@ public abstract class EllaUserBaseHystrix implements EllaUserBaseRemoteService {
public
abstract
Message
passwordReset
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
public
abstract
Message
passwordReset
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
public
abstract
Message
getUserByloginName
(
@PathVariable
(
value
=
"loginName"
)
String
loginName
);
public
abstract
Message
getUserById
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseRemoteService.java
View file @
0d1097dd
...
@@ -24,50 +24,58 @@ import io.swagger.annotations.ApiOperation;
...
@@ -24,50 +24,58 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaUserBaseRemoteService
{
public
interface
EllaUserBaseRemoteService
{
@ApiOperation
(
value
=
"用户查询页面,用户列表初始化页面"
)
@ApiOperation
(
value
=
"用户查询页面,用户列表初始化页面"
)
@RequestMapping
(
value
=
{
"
admin/user/list"
,
"/back/user/list"
,
"/user/index
"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"
/challenger/back/user/list
"
},
method
=
RequestMethod
.
POST
)
Message
adminPage
(
@RequestBody
EllaUserBaseVo
vo
);
Message
adminPage
(
@RequestBody
EllaUserBaseVo
vo
);
@ApiOperation
(
value
=
"点击添加,返回用户类型,角色列表及组织架构信息"
)
@ApiOperation
(
value
=
"点击添加,返回用户类型,角色列表及组织架构信息"
)
@RequestMapping
(
value
=
"/user/toAdd/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
user/toAdd/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
userToAdd
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
userToAdd
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
value
=
"编辑,根据用户id返回用户信息"
)
@ApiOperation
(
value
=
"编辑,根据用户id返回用户信息"
)
@RequestMapping
(
value
=
"/
user/toUpdate/{id}
/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/user/toUpdate
/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
userToUpdate
(
@PathVariable
(
value
=
"
id"
)
Integer
id
,
@PathVariable
(
value
=
"
userId"
)
Integer
userId
);
Message
userToUpdate
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
value
=
"用户存储或更新操作"
)
@ApiOperation
(
value
=
"用户存储或更新操作"
)
@RequestMapping
(
value
=
"/user/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
user/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
userDoAddOrUpdate
(
@RequestBody
EllaUserBaseVo
vo
);
Message
userDoAddOrUpdate
(
@RequestBody
EllaUserBaseVo
vo
);
@ApiOperation
(
value
=
"文件上传"
)
@ApiOperation
(
value
=
"文件上传"
)
@RequestMapping
(
value
=
"/file/upload"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
file/upload"
,
method
=
RequestMethod
.
POST
)
Message
douploadfiles
(
MultipartFile
file
);
Message
douploadfiles
(
MultipartFile
file
);
@ApiOperation
(
value
=
"文件删除"
)
@ApiOperation
(
value
=
"文件删除"
)
@RequestMapping
(
value
=
"/file/delete/{fileName}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
file/delete/{fileName}"
,
method
=
RequestMethod
.
GET
)
Message
deletefiles
(
@PathVariable
(
value
=
"fileName"
)
String
fileName
);
Message
deletefiles
(
@PathVariable
(
value
=
"fileName"
)
String
fileName
);
@ApiOperation
(
value
=
" 禁用某个用户"
)
@ApiOperation
(
value
=
" 禁用某个用户"
)
@RequestMapping
(
value
=
"/user/disable/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
user/disable/{id}"
,
method
=
RequestMethod
.
GET
)
Message
disableUser
(
@PathVariable
Integer
id
);
Message
disableUser
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
value
=
" 启用某个用户"
)
@ApiOperation
(
value
=
" 启用某个用户"
)
@RequestMapping
(
value
=
"/user/enable/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
user/enable/{id}"
,
method
=
RequestMethod
.
GET
)
Message
enableUser
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
Message
enableUser
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
value
=
" 修改登录密码"
)
@ApiOperation
(
value
=
" 修改登录密码"
)
@RequestMapping
(
value
=
"/user/updatePass"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
user/updatePass"
,
method
=
RequestMethod
.
POST
)
Message
updatePass
(
@RequestBody
UserUpdatePwdVo
vo
);
Message
updatePass
(
@RequestBody
UserUpdatePwdVo
vo
);
@RequestMapping
(
value
=
"/user/passCheck"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
user/passCheck"
,
method
=
RequestMethod
.
POST
)
Message
passCheck
(
@RequestBody
EllaUserBaseVo
vo
);
Message
passCheck
(
@RequestBody
EllaUserBaseVo
vo
);
@ApiOperation
(
value
=
" 删除用户仅测试使用"
)
@ApiOperation
(
value
=
" 删除用户仅测试使用"
)
@RequestMapping
(
value
=
"/user/test/delete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
user/test/delete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
deleteAdminUser
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
Message
deleteAdminUser
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
value
=
"重置密码"
)
@ApiOperation
(
value
=
"重置密码"
)
@RequestMapping
(
value
=
"/user/password/reset/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
user/password/reset/{id}"
,
method
=
RequestMethod
.
GET
)
Message
passwordReset
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
Message
passwordReset
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
value
=
"根据loginName获取user"
)
@RequestMapping
(
value
=
"/challenger/user/get/{loginName}"
,
method
=
RequestMethod
.
GET
)
Message
getUserByloginName
(
@PathVariable
(
value
=
"loginName"
)
String
loginName
);
@ApiOperation
(
value
=
"根据userId获取user"
)
@RequestMapping
(
value
=
"/challenger/user/me/{userId}"
,
method
=
RequestMethod
.
GET
)
public
Message
getUserById
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserExtendsRemoteService.java
View file @
0d1097dd
...
@@ -23,27 +23,27 @@ import io.swagger.annotations.ApiOperation;
...
@@ -23,27 +23,27 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaUserExtendsRemoteService
{
public
interface
EllaUserExtendsRemoteService
{
@ApiOperation
(
"分页查询"
)
@ApiOperation
(
"分页查询"
)
@RequestMapping
(
value
=
"/userextends/searchList"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/challenger/userextends/searchList"
}
,
method
=
RequestMethod
.
POST
)
Message
userExSearchList
(
@RequestBody
EllaUserExtendsVo
vo
);
Message
userExSearchList
(
@RequestBody
EllaUserExtendsVo
vo
);
@ApiOperation
(
"根据用户类型查询扩展属性"
)
@ApiOperation
(
"根据用户类型查询扩展属性"
)
@RequestMapping
(
value
=
"/userextends/list/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
userextends/list/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
Message
userExIndex
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
Message
userExIndex
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
@ApiOperation
(
"添加时获取所有的用户类型"
)
@ApiOperation
(
"添加时获取所有的用户类型"
)
@RequestMapping
(
value
=
"/userextends/toAdd/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
userextends/toAdd/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
Message
userExToAdd
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
Message
userExToAdd
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
@ApiOperation
(
"添加扩展属性"
)
@ApiOperation
(
"添加扩展属性"
)
@RequestMapping
(
value
=
"/userextends/doAdd"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
userextends/doAdd"
,
method
=
RequestMethod
.
POST
)
Message
userExDoAdd
(
@RequestBody
@Validated
EllaUserExtendsVo
vo
);
Message
userExDoAdd
(
@RequestBody
@Validated
EllaUserExtendsVo
vo
);
@ApiOperation
(
"删除扩展属性"
)
@ApiOperation
(
"删除扩展属性"
)
@RequestMapping
(
value
=
"/userextends/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
userextends/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
userExDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
Message
userExDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
@ApiOperation
(
"根据用户类型获取对应的扩展属性"
)
@ApiOperation
(
"根据用户类型获取对应的扩展属性"
)
@RequestMapping
(
value
=
"/userextends/getByUserTypeId/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
userextends/getByUserTypeId/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
Message
getByUserTypeId
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
Message
getByUserTypeId
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserLeaseRemoteService.java
View file @
0d1097dd
...
@@ -26,77 +26,77 @@ import io.swagger.annotations.ApiOperation;
...
@@ -26,77 +26,77 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaUserLeaseRemoteService
{
public
interface
EllaUserLeaseRemoteService
{
@ApiOperation
(
"租赁用户登录获取验证码"
)
@ApiOperation
(
"租赁用户登录获取验证码"
)
@RequestMapping
(
value
=
"lease/getcodeByPhone/{phone}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/getcodeByPhone/{phone}"
,
method
=
RequestMethod
.
GET
)
Message
getLoginCodeByPhone
(
@PathVariable
(
value
=
"phone"
)
String
phone
);
Message
getLoginCodeByPhone
(
@PathVariable
(
value
=
"phone"
)
String
phone
);
@ApiOperation
(
"租赁用户根据手机验证码注册"
)
@ApiOperation
(
"租赁用户根据手机验证码注册"
)
@RequestMapping
(
value
=
"lease/signinByphone"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/signinByphone"
,
method
=
RequestMethod
.
POST
)
Message
signInByPhoneAndCode
(
@RequestBody
LeaseUserLoginInfoVo
vo
);
Message
signInByPhoneAndCode
(
@RequestBody
LeaseUserLoginInfoVo
vo
);
@ApiOperation
(
"租赁用户根据手机验证码登录"
)
@ApiOperation
(
"租赁用户根据手机验证码登录"
)
@RequestMapping
(
value
=
"lease/loginByphone"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/loginByphone"
,
method
=
RequestMethod
.
POST
)
Message
loginByPhoneAndCode
(
@RequestBody
LeaseUserLoginInfoVo
vo
);
Message
loginByPhoneAndCode
(
@RequestBody
LeaseUserLoginInfoVo
vo
);
@ApiOperation
(
"租赁微信用户关注时保存openId"
)
@ApiOperation
(
"租赁微信用户关注时保存openId"
)
@RequestMapping
(
value
=
"lease/wechat/saveopenId/{openId}/{nickName}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/wechat/saveopenId/{openId}/{nickName}"
,
method
=
RequestMethod
.
GET
)
Message
wechatUserSaveOpenId
(
@PathVariable
(
value
=
"openId"
)
String
openId
,
Message
wechatUserSaveOpenId
(
@PathVariable
(
value
=
"openId"
)
String
openId
,
@PathVariable
(
value
=
"nickName"
)
String
nickName
);
@PathVariable
(
value
=
"nickName"
)
String
nickName
);
@ApiOperation
(
"租赁微信用户实名认证并开户"
)
@ApiOperation
(
"租赁微信用户实名认证并开户"
)
@RequestMapping
(
value
=
"lease/check/realname"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/check/realname"
,
method
=
RequestMethod
.
POST
)
Message
checkNameByIdCard
(
@RequestBody
LeaseCheckRealNameVo
vo
);
Message
checkNameByIdCard
(
@RequestBody
LeaseCheckRealNameVo
vo
);
@ApiOperation
(
"生成邀请码并保存"
)
@ApiOperation
(
"生成邀请码并保存"
)
@RequestMapping
(
value
=
"lease/inviteCode/crate/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/inviteCode/crate/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
inviteCodeCreate
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
inviteCodeCreate
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"根据userId获取生成InvitCouponsVo,请求lease生成奖券"
)
@ApiOperation
(
"根据userId获取生成InvitCouponsVo,请求lease生成奖券"
)
@RequestMapping
(
value
=
"lease/inviteCoupons/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/inviteCoupons/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
inviteReWard
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
inviteReWard
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"根据userId获取productId"
)
@ApiOperation
(
"根据userId获取productId"
)
@RequestMapping
(
value
=
"lease/productId/get/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/productId/get/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
getProductIdByUserId
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
getProductIdByUserId
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"根据userId获取orgCode"
)
@ApiOperation
(
"根据userId获取orgCode"
)
@RequestMapping
(
value
=
"lease/orgCode/get/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/orgCode/get/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
getOrgCodeByUserId
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
getOrgCodeByUserId
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"根据userId获取用户类型code"
)
@ApiOperation
(
"根据userId获取用户类型code"
)
@RequestMapping
(
value
=
"lease/userTypeCode/get/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/userTypeCode/get/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
getUserTypeCodeByUserId
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
getUserTypeCodeByUserId
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"普通用户----根据userId获取普通用户的详细信息"
)
@ApiOperation
(
"普通用户----根据userId获取普通用户的详细信息"
)
@RequestMapping
(
value
=
"lease/normalUser/detail/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/normalUser/detail/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
nomalUserBaseDetail
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
nomalUserBaseDetail
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"普通用户----普通用户分页查询"
)
@ApiOperation
(
"普通用户----普通用户分页查询"
)
@RequestMapping
(
value
=
"lease/normalUser/page"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/normalUser/page"
,
method
=
RequestMethod
.
POST
)
Message
nomalUserGetPage
(
@RequestBody
NormalUserSearchVo
vo
);
Message
nomalUserGetPage
(
@RequestBody
NormalUserSearchVo
vo
);
@ApiOperation
(
"运营商/代理商/服务商----运营商分页查询"
)
@ApiOperation
(
"运营商/代理商/服务商----运营商分页查询"
)
@RequestMapping
(
value
=
"lease/operatorUser/page"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/operatorUser/page"
,
method
=
RequestMethod
.
POST
)
Message
operatorUserGetPage
(
@RequestBody
YunyingUserSearchVo
vo
);
Message
operatorUserGetPage
(
@RequestBody
YunyingUserSearchVo
vo
);
@ApiOperation
(
"运营商/代理商/服务商----根据userId获取普通用户的详细信息"
)
@ApiOperation
(
"运营商/代理商/服务商----根据userId获取普通用户的详细信息"
)
@RequestMapping
(
value
=
"lease/operatorUser/detail/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/operatorUser/detail/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
operatorUserBaseDetail
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
operatorUserBaseDetail
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"运营商/代理商/服务商----根据userId启用"
)
@ApiOperation
(
"运营商/代理商/服务商----根据userId启用"
)
@RequestMapping
(
value
=
"lease/operator/enable/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/operator/enable/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
enableOperator
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
enableOperator
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"运营商/代理商/服务商----根据userId禁用"
)
@ApiOperation
(
"运营商/代理商/服务商----根据userId禁用"
)
@RequestMapping
(
value
=
"lease/operator/disable/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/operator/disable/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
disableOperator
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
disableOperator
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
@ApiOperation
(
"userId与loginNanem相互转换"
)
@ApiOperation
(
"userId与loginNanem相互转换"
)
@RequestMapping
(
value
=
"lease/userIdOrLoginName/get"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/userIdOrLoginName/get"
,
method
=
RequestMethod
.
POST
)
Message
userIdAndLoginNameChange
(
@RequestParam
(
value
=
"userId"
,
required
=
false
)
Integer
userId
,
Message
userIdAndLoginNameChange
(
@RequestParam
(
value
=
"userId"
,
required
=
false
)
Integer
userId
,
@RequestParam
(
value
=
"loginName"
,
required
=
false
)
String
loginName
);
@RequestParam
(
value
=
"loginName"
,
required
=
false
)
String
loginName
);
@ApiOperation
(
"普通用户注销"
)
@ApiOperation
(
"普通用户注销"
)
@RequestMapping
(
value
=
"lease/user/cancel/{userId}"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/user/cancel/{userId}"
,
method
=
RequestMethod
.
POST
)
Message
userCancle
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
Message
userCancle
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserParkRemoteService.java
View file @
0d1097dd
...
@@ -25,19 +25,19 @@ import io.swagger.annotations.ApiOperation;
...
@@ -25,19 +25,19 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaUserParkRemoteService
{
public
interface
EllaUserParkRemoteService
{
@ApiOperation
(
"根据pid获取userId与orgCode"
)
@ApiOperation
(
"根据pid获取userId与orgCode"
)
@RequestMapping
(
value
=
"lease/getUserIdAndOrg/{pid}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/getUserIdAndOrg/{pid}"
,
method
=
RequestMethod
.
GET
)
Message
getUserIdAndOrgByPid
(
@PathVariable
(
value
=
"pid"
)
Integer
pid
);
Message
getUserIdAndOrgByPid
(
@PathVariable
(
value
=
"pid"
)
Integer
pid
);
@ApiOperation
(
"进入区域授权页"
)
@ApiOperation
(
"进入区域授权页"
)
@RequestMapping
(
value
=
"lease/zoom/auth/{userId}/{search}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
/challenger/
lease/zoom/auth/{userId}/{search}"
,
method
=
RequestMethod
.
GET
)
Message
zoomAuth
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
,
@PathVariable
(
value
=
"search"
)
String
search
);
Message
zoomAuth
(
@PathVariable
(
value
=
"userId"
)
Integer
userId
,
@PathVariable
(
value
=
"search"
)
String
search
);
@ApiOperation
(
"进入停车场授权页"
)
@ApiOperation
(
"进入停车场授权页"
)
@RequestMapping
(
value
=
"lease/park/auth"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/park/auth"
,
method
=
RequestMethod
.
POST
)
Message
parkAuth
(
@RequestBody
@Valid
ParkVo
vo
);
Message
parkAuth
(
@RequestBody
@Valid
ParkVo
vo
);
@ApiOperation
(
"区域授权"
)
@ApiOperation
(
"区域授权"
)
@RequestMapping
(
value
=
"lease/zoom/auth/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"
/challenger/
lease/zoom/auth/save"
,
method
=
RequestMethod
.
POST
)
Message
zoomAuthSave
(
@RequestBody
LeaseUserParkAuth
vo
);
Message
zoomAuthSave
(
@RequestBody
LeaseUserParkAuth
vo
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserTypeRemoteService.java
View file @
0d1097dd
...
@@ -22,19 +22,19 @@ import io.swagger.annotations.ApiOperation;
...
@@ -22,19 +22,19 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaUserTypeRemoteService
{
public
interface
EllaUserTypeRemoteService
{
@ApiOperation
(
"条件查询用户类型"
)
@ApiOperation
(
"条件查询用户类型"
)
@RequestMapping
(
value
=
{
"/
usertype/searchList"
,
"
/back/usertype/list"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger
/back/usertype/list"
},
method
=
RequestMethod
.
POST
)
Message
userTSearchList
(
@RequestBody
EllaUserTypeVo
vo
);
Message
userTSearchList
(
@RequestBody
EllaUserTypeVo
vo
);
@ApiOperation
(
"根据id获取要跟新的usertype对象"
)
@ApiOperation
(
"根据id获取要跟新的usertype对象"
)
@RequestMapping
(
value
=
"/usertype/toUpdate/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
usertype/toUpdate/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
Message
userTToUpdate
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
Message
userTToUpdate
(
@PathVariable
(
value
=
"userTypeId"
)
Integer
userTypeId
);
@ApiOperation
(
" 存储或更新用户类型操作"
)
@ApiOperation
(
" 存储或更新用户类型操作"
)
@RequestMapping
(
value
=
"/usertype/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
usertype/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
userTDoAddOrUpdate
(
@RequestBody
EllaUserTypeVo
vo
);
Message
userTDoAddOrUpdate
(
@RequestBody
EllaUserTypeVo
vo
);
@ApiOperation
(
"删除用户类型操作"
)
@ApiOperation
(
"删除用户类型操作"
)
@RequestMapping
(
value
=
"/usertype/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
usertype/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
userTDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
Message
userTDoDelete
(
@PathVariable
(
value
=
"id"
)
Integer
id
);
}
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/vo/EllaRoleVo.java
View file @
0d1097dd
/* */
package
com
.
senthink
.
rmi
.
challenger
.
vo
;
package
com
.
senthink
.
rmi
.
challenger
.
vo
;
/* */
/* */
import
io.swagger.annotations.ApiModel
;
import
javax.validation.constraints.Pattern
;
/* */
import
io.swagger.annotations.ApiModelProperty
;
/* */
import
javax.validation.constraints.Pattern
;
import
org.hibernate.validator.constraints.NotEmpty
;
/* */
import
org.hibernate.validator.constraints.NotEmpty
;
/* */
import
io.swagger.annotations.ApiModel
;
/* */
@ApiModel
(
"角色"
)
import
io.swagger.annotations.ApiModelProperty
;
/* */
public
class
EllaRoleVo
extends
PageVo
/* */
{
@ApiModel
(
"角色"
)
/* */
private
static
final
String
numReg
=
"^[A-Za-z][A-Za-z1-9_-]+$"
;
public
class
EllaRoleVo
extends
PageVo
{
/* */
private
static
final
String
numReg
=
"^[A-Za-z][A-Za-z1-9_-]+$"
;
/* */
@ApiModelProperty
(
"角色名称"
)
/* */
@NotEmpty
(
message
=
"角色名称不允许为空"
)
@ApiModelProperty
(
"角色名称"
)
/* */
private
String
roleName
;
@NotEmpty
(
message
=
"角色名称不允许为空"
)
/* */
private
String
roleName
;
/* */
@ApiModelProperty
(
"角色编号"
)
/* */
@Pattern
(
regexp
=
"^[A-Za-z][A-Za-z1-9_-]+$"
,
message
=
"请输入英文或数字"
)
@ApiModelProperty
(
"角色编号"
)
/* */
private
String
roleNumber
;
@Pattern
(
regexp
=
"^[A-Za-z][A-Za-z1-9_-]+$"
,
message
=
"请输入英文或数字"
)
/* */
private
String
roleNumber
;
/* */
@ApiModelProperty
(
"权限集合用 id_level,id_level... 表示"
)
/* */
private
String
permissions
;
@ApiModelProperty
(
"权限集合用 id_level,id_level... 表示"
)
/* */
private
String
permissions
;
/* */
@ApiModelProperty
(
"用户数据权限信息,id的集合,分割"
)
/* */
private
String
userdatas
;
@ApiModelProperty
(
"用户数据权限信息,id的集合,分割"
)
/* */
private
String
userdatas
;
/* */
@ApiModelProperty
(
"角色备注"
)
/* */
private
String
remark
;
@ApiModelProperty
(
"角色备注"
)
/* */
private
String
remark
;
/* */
public
String
getRoleName
()
/* */
{
@ApiModelProperty
(
"當前登錄用戶的userid"
)
/* 41 */
return
this
.
roleName
;
@NotEmpty
(
message
=
"用户ID不允许为空"
)
/* */
}
private
Integer
userId
;
/* */
/* */
public
void
setRoleName
(
String
roleName
)
{
public
Integer
getUserId
()
{
/* 45 */
this
.
roleName
=
roleName
;
return
userId
;
/* */
}
}
/* */
/* */
public
String
getRoleNumber
()
{
public
void
setUserId
(
Integer
userId
)
{
/* 49 */
return
this
.
roleNumber
;
this
.
userId
=
userId
;
/* */
}
}
/* */
/* */
public
void
setRoleNumber
(
String
roleNumber
)
{
public
String
getRoleName
()
{
/* 53 */
this
.
roleNumber
=
roleNumber
;
/* 41 */
return
this
.
roleName
;
/* */
}
}
/* */
/* */
public
String
getPermissions
()
{
public
void
setRoleName
(
String
roleName
)
{
/* 57 */
return
this
.
permissions
;
/* 45 */
this
.
roleName
=
roleName
;
/* */
}
}
/* */
/* */
public
void
setPermissions
(
String
permissions
)
{
public
String
getRoleNumber
()
{
/* 61 */
this
.
permissions
=
permissions
;
/* 49 */
return
this
.
roleNumber
;
/* */
}
}
/* */
/* */
public
String
getRemark
()
{
public
void
setRoleNumber
(
String
roleNumber
)
{
/* 65 */
return
this
.
remark
;
/* 53 */
this
.
roleNumber
=
roleNumber
;
/* */
}
}
/* */
/* */
public
void
setRemark
(
String
remark
)
{
public
String
getPermissions
()
{
/* 69 */
this
.
remark
=
remark
;
/* 57 */
return
this
.
permissions
;
/* */
}
}
/* */
/* */
public
String
getUserdatas
()
{
public
void
setPermissions
(
String
permissions
)
{
/* 73 */
return
this
.
userdatas
;
/* 61 */
this
.
permissions
=
permissions
;
/* */
}
}
/* */
/* */
public
void
setUserdatas
(
String
userdatas
)
{
public
String
getRemark
()
{
/* 77 */
this
.
userdatas
=
userdatas
;
/* 65 */
return
this
.
remark
;
/* */
}
}
/* */
}
public
void
setRemark
(
String
remark
)
{
/* Location: C:\Users\junzi\Desktop\challenger-rmi-0.1.4.jar
/* 69 */
this
.
remark
=
remark
;
* Qualified Name: com.senthink.rmi.challenger.vo.EllaRoleVo
}
* JD-Core Version: 0.6.0
public
String
getUserdatas
()
{
/* 73 */
return
this
.
userdatas
;
}
public
void
setUserdatas
(
String
userdatas
)
{
/* 77 */
this
.
userdatas
=
userdatas
;
}
}
/*
* Location: C:\Users\junzi\Desktop\challenger-rmi-0.1.4.jar Qualified Name:
* com.senthink.rmi.challenger.vo.EllaRoleVo JD-Core Version: 0.6.0
*/
*/
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/vo/LeaseUserParkAuth.java
View file @
0d1097dd
/* */
package
com
.
senthink
.
rmi
.
challenger
.
vo
;
/* */
package
com
.
senthink
.
rmi
.
challenger
.
vo
;
/* */
/* */
/* */
import
java.util.List
;
/* */
import
java.util.List
;
/* */
/* */
/* */
public
class
LeaseUserParkAuth
/* */
public
class
LeaseUserParkAuth
/* */
{
/* */
{
/* */
private
Integer
userId
;
/* */
private
Integer
userId
;
/* */
private
List
<
EllaUserParkVo
>
parks
;
/* */
private
List
<
EllaUserParkVo
>
parks
;
/* */
private
Integer
businessType
;
/* */
private
Integer
businessType
;
/* */
private
Integer
pType
;
/* */
private
Integer
pType
;
/* */
/* */
public
Integer
getUserId
()
/* */
/* */
{
/* */
public
Integer
getUserId
()
/* 27 */
return
this
.
userId
;
/* */
{
/* */
}
/* 27 */
return
this
.
userId
;
/* */
/* */
}
/* */
public
void
setUserId
(
Integer
userId
)
{
/* 31 */
this
.
userId
=
userId
;
/* */
/* */
}
/* */
public
void
setUserId
(
Integer
userId
)
{
/* */
/* 31 */
this
.
userId
=
userId
;
/* */
public
List
<
EllaUserParkVo
>
getParks
()
{
/* */
}
/* 35 */
return
this
.
parks
;
/* */
}
/* */
/* */
/* */
public
List
<
EllaUserParkVo
>
getParks
()
{
/* */
public
void
setParks
(
List
<
EllaUserParkVo
>
parks
)
{
/* 35 */
return
this
.
parks
;
/* 39 */
this
.
parks
=
parks
;
/* */
}
/* */
}
/* */
/* */
/* */
public
Integer
getBusinessType
()
{
/* */
public
void
setParks
(
List
<
EllaUserParkVo
>
parks
)
{
/* 43 */
return
this
.
businessType
;
/* 39 */
this
.
parks
=
parks
;
/* */
}
/* */
}
/* */
/* */
public
void
setBusinessType
(
Integer
businessType
)
{
/* */
/* 47 */
this
.
businessType
=
businessType
;
/* */
public
Integer
getBusinessType
()
{
/* */
}
/* 43 */
return
this
.
businessType
;
/* */
/* */
}
/* */
public
Integer
getpType
()
{
/* 51 */
return
this
.
pType
;
/* */
/* */
}
/* */
public
void
setBusinessType
(
Integer
businessType
)
{
/* */
/* 47 */
this
.
businessType
=
businessType
;
/* */
public
void
setpType
(
Integer
pType
)
{
/* */
}
/* 55 */
this
.
pType
=
pType
;
/* */
}
/* */
/* */
}
public
Integer
getpType
()
{
return
pType
;
/* Location: C:\Users\junzi\Desktop\challenger-rmi-0.1.4.jar
}
* Qualified Name: com.senthink.rmi.challenger.vo.LeaseUserParkAuth
* JD-Core Version: 0.6.0
public
void
setpType
(
Integer
pType
)
{
this
.
pType
=
pType
;
}
/* */
}
/*
* Location: C:\Users\junzi\Desktop\challenger-rmi-0.1.4.jar Qualified Name:
* com.senthink.rmi.challenger.vo.LeaseUserParkAuth JD-Core Version: 0.6.0
*/
*/
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/vo/YunyingUserSearchVo.java
View file @
0d1097dd
...
@@ -24,7 +24,7 @@ public class YunyingUserSearchVo extends PageVo {
...
@@ -24,7 +24,7 @@ public class YunyingUserSearchVo extends PageVo {
@ApiModelProperty
(
"所属上级id"
)
@ApiModelProperty
(
"所属上级id"
)
private
Integer
parentId
;
private
Integer
parentId
;
@ApiModelProperty
(
"0:直属,1:不直属"
)
@ApiModelProperty
(
"0:直属,1:不直属"
)
private
Integer
direct
;
private
String
direct
;
private
Integer
userTypeId
;
private
Integer
userTypeId
;
...
@@ -110,11 +110,11 @@ public class YunyingUserSearchVo extends PageVo {
...
@@ -110,11 +110,11 @@ public class YunyingUserSearchVo extends PageVo {
this
.
parentId
=
parentId
;
this
.
parentId
=
parentId
;
}
}
public
Integer
getDirect
()
{
public
String
getDirect
()
{
return
direct
;
return
direct
;
}
}
public
void
setDirect
(
Integer
direct
)
{
public
void
setDirect
(
String
direct
)
{
this
.
direct
=
direct
;
this
.
direct
=
direct
;
}
}
...
...
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