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
7c3579f9
Commit
7c3579f9
authored
Feb 22, 2017
by
崔亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置
parent
3bba0276
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
56 additions
and
47 deletions
+56
-47
src/main/java/com/senthink/rmi/challenger/rmi/EllaIndexRemoteService.java
+2
-1
src/main/java/com/senthink/rmi/challenger/rmi/EllaOrgStructureRemoteService.java
+5
-4
src/main/java/com/senthink/rmi/challenger/rmi/EllaPagePermissionRemoteService.java
+7
-6
src/main/java/com/senthink/rmi/challenger/rmi/EllaRoleRemoteService.java
+7
-6
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemRemoteService.java
+5
-4
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemSyncRemoteService.java
+6
-5
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseRemoteService.java
+12
-11
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserExtendsRemoteService.java
+7
-6
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserTypeRemoteService.java
+5
-4
No files found.
src/main/java/com/senthink/rmi/challenger/rmi/EllaIndexRemoteService.java
View file @
7c3579f9
...
...
@@ -17,7 +17,7 @@ import com.senthink.rmi.challenger.response.Message;
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaIndexHystrix
.
class
)
public
interface
EllaIndexRemoteService
{
@RequestMapping
(
value
=
"/{id}/{order}"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
{id}/{order}"
,
method
=
RequestMethod
.
POST
)
Message
getIndex
(
@PathVariable
Integer
id
,
@PathVariable
Integer
order
);
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaOrgStructureRemoteService.java
View file @
7c3579f9
...
...
@@ -22,18 +22,18 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaOrgStructureRemoteService
{
@ApiOperation
(
value
=
"获取组织架构列表"
)
@RequestMapping
(
value
=
{
"/
org/index"
,
"/org/list"
,
"
/back/org/list"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/org/index"
,
"/challenger/org/list"
,
"/challenger
/back/org/list"
},
method
=
RequestMethod
.
POST
)
Message
index
();
@ApiOperation
(
value
=
"获取组织架构单个节点的信息"
)
@RequestMapping
(
value
=
"/org/toUpdate/"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
org/toUpdate/"
,
method
=
RequestMethod
.
GET
)
Message
toUpdate
(
@RequestBody
EllaOrgStructureVo
vo
);
@ApiOperation
(
value
=
"保存或更新该节点信息"
)
@RequestMapping
(
value
=
"/org/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
org/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
doAddOrUpdate
(
@RequestBody
EllaOrgStructureVo
vo
);
@RequestMapping
(
value
=
"/org/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
org/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
doDelete
(
@PathVariable
Integer
id
);
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaPagePermissionRemoteService.java
View file @
7c3579f9
...
...
@@ -22,25 +22,25 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaPagePermissionRemoteService
{
@ApiOperation
(
value
=
"获取权限列表"
)
@RequestMapping
(
value
=
{
"/
pageper/index"
,
"/pageper/list"
,
"
/back/pageper/list"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/pageper/index"
,
"/challenger/pageper/list"
,
"/challenger
/back/pageper/list"
},
method
=
RequestMethod
.
POST
)
Message
index
();
@RequestMapping
(
value
=
{
"/pageper/searchList"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/
pageper/searchList"
},
method
=
RequestMethod
.
POST
)
Message
searchList
(
EllaPagePermissionVo
vo
);
@ApiOperation
(
value
=
"获取当前节点信息,或插入"
)
@RequestMapping
(
value
=
"/pageper/toUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
pageper/toUpdate"
,
method
=
RequestMethod
.
POST
)
Message
toUpdate
(
@RequestBody
EllaPagePermissionVo
pageperVo
);
@ApiOperation
(
"更新节点信息"
)
@RequestMapping
(
value
=
"/pageper/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
pageper/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
doAddOrUpdate
(
@RequestBody
EllaPagePermissionVo
vo
);
@ApiOperation
(
"删除当前节点"
)
@RequestMapping
(
value
=
"/pageper/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
pageper/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
doDelete
(
@PathVariable
Integer
id
);
@RequestMapping
(
value
=
"/pageper/getPermissionTree"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
pageper/getPermissionTree"
,
method
=
RequestMethod
.
GET
)
Message
getPermissionTree
();
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaRoleRemoteService.java
View file @
7c3579f9
...
...
@@ -22,22 +22,22 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaRoleRemoteService
{
@ApiOperation
(
"角色列表"
)
@RequestMapping
(
value
=
{
"/
role/searchList"
,
"
/back/role/list"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/role/searchList"
,
"/challenger
/back/role/list"
},
method
=
RequestMethod
.
POST
)
Message
searchList
(
@RequestBody
EllaRoleVo
vo
);
@RequestMapping
(
value
=
"/role/toAdd/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
role/toAdd/{id}"
,
method
=
RequestMethod
.
GET
)
Message
toAdd
(
@PathVariable
Integer
id
);
@RequestMapping
(
value
=
"/role/toUpdate/{roleId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
role/toUpdate/{roleId}"
,
method
=
RequestMethod
.
GET
)
Message
toUpdate
(
@PathVariable
Integer
roleId
,
String
loginName
);
@RequestMapping
(
value
=
"/role/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
role/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
doAddOrUpdate
(
@RequestBody
EllaRoleVo
vo
);
@RequestMapping
(
value
=
"/role/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
role/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
doDelete
(
@PathVariable
Integer
id
);
@RequestMapping
(
value
=
"/role/toDetail/{roleId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
role/toDetail/{roleId}"
,
method
=
RequestMethod
.
GET
)
Message
toDetail
(
@PathVariable
Integer
roleId
);
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemRemoteService.java
View file @
7c3579f9
...
...
@@ -22,19 +22,19 @@ import io.swagger.annotations.ApiOperation;
public
interface
EllaSubsystemRemoteService
{
@ApiOperation
(
"查询"
)
@RequestMapping
(
value
=
{
"/
subsystem/searchList"
,
"
/back/subsystem/list"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/subsystem/searchList"
,
"/challenger
/back/subsystem/list"
},
method
=
RequestMethod
.
POST
)
Message
searchList
(
@RequestBody
EllaSubsystemVo
vo
);
@ApiOperation
(
"根据id获取要更新的系统信息"
)
@RequestMapping
(
value
=
"/subsystem/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
subsystem/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
Message
toUpdate
(
@PathVariable
Integer
subsystemId
);
@ApiOperation
(
"更新或插入操作"
)
@RequestMapping
(
value
=
"/subsystem/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
subsystem/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
doAddOrUpdate
(
@RequestBody
EllaSubsystemVo
vo
);
@ApiOperation
(
"删除操作"
)
@RequestMapping
(
value
=
"/subsystem/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
subsystem/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
doDelete
(
@PathVariable
Integer
id
);
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaSubsystemSyncRemoteService.java
View file @
7c3579f9
...
...
@@ -20,19 +20,19 @@ import com.senthink.rmi.challenger.vo.EllaSubsystemSyncVo;
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaSubsystemSyncHystrix
.
class
)
public
interface
EllaSubsystemSyncRemoteService
{
@RequestMapping
(
value
=
{
"/
subsystemsync/list"
,
"
/back/subsystemsync/list"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/subsystemsync/list"
,
"/challenger
/back/subsystemsync/list"
},
method
=
RequestMethod
.
POST
)
Message
index
();
@RequestMapping
(
value
=
"/subsystemsync/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
subsystemsync/toUpdate/{subsystemId}"
,
method
=
RequestMethod
.
GET
)
Message
toUpdate
(
@PathVariable
Integer
subsystemId
);
@RequestMapping
(
value
=
{
"/subsystemsync/doAddOrUpdate"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/
subsystemsync/doAddOrUpdate"
},
method
=
RequestMethod
.
POST
)
Message
doAddOrUpdate
(
@Valid
EllaSubsystemSyncVo
vo
);
@RequestMapping
(
value
=
"/subsystemsync/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
subsystemsync/doDelete/{id}"
,
method
=
RequestMethod
.
GET
)
Message
doDelete
(
@PathVariable
Integer
id
);
@RequestMapping
(
value
=
{
"/subsystemsync/searchList"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/
subsystemsync/searchList"
},
method
=
RequestMethod
.
POST
)
Message
searchList
(
EllaSubsystemSyncVo
vo
);
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseRemoteService.java
View file @
7c3579f9
...
...
@@ -24,38 +24,38 @@ import com.senthink.rmi.challenger.vo.UserUpdatePwdVo;
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaUserBaseHystrix
.
class
)
public
interface
EllaUserBaseRemoteService
{
@RequestMapping
(
value
=
{
"/
user/list"
,
"
/user/index"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"/
challenger/user/list"
,
"/challenger
/user/index"
},
method
=
RequestMethod
.
GET
)
Message
index
();
@RequestMapping
(
value
=
{
"
admin/user/list"
,
"
/back/user/list"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"
/challenger/admin/user/list"
,
"/challenger
/back/user/list"
},
method
=
RequestMethod
.
GET
)
Message
adminPage
(
@RequestBody
EllaUserBaseVo
vo
);
@RequestMapping
(
value
=
{
"normal/user/list"
,
"/back/consumer/list"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"
/challenger/
normal/user/list"
,
"/back/consumer/list"
},
method
=
RequestMethod
.
GET
)
Message
normalPage
(
@RequestBody
EllaUserBaseVo
vo
);
@RequestMapping
(
value
=
{
"/user/searchList"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/
user/searchList"
},
method
=
RequestMethod
.
POST
)
Message
dealerSearchList
(
@RequestBody
EllaUserBaseVo
vo
);
@RequestMapping
(
value
=
"/user/toAdd"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
user/toAdd"
,
method
=
RequestMethod
.
GET
)
Message
toAdd
();
@RequestMapping
(
value
=
"/user/toUpdate/{userId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
user/toUpdate/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
toUpdate
(
@PathVariable
Integer
userId
,
HttpServletRequest
request
);
@RequestMapping
(
value
=
"/user/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
user/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
doAddOrUpdate
(
@RequestBody
EllaUserBaseVo
vo
,
String
roles
,
String
extendIds
,
String
extendValues
,
String
orgs
,
@RequestParam
(
value
=
"file"
,
required
=
false
)
MultipartFile
file
);
@RequestMapping
(
value
=
{
"/user/disable/{id}"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"/
challenger/
user/disable/{id}"
},
method
=
RequestMethod
.
GET
)
Message
disableUser
(
@PathVariable
Integer
id
);
@RequestMapping
(
value
=
{
"/user/enable/{id}"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"/
challenger/
user/enable/{id}"
},
method
=
RequestMethod
.
GET
)
Message
enableUser
(
@PathVariable
Integer
id
);
@RequestMapping
(
value
=
{
"/user/updatePass"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/
user/updatePass"
},
method
=
RequestMethod
.
POST
)
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
);
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserExtendsRemoteService.java
View file @
7c3579f9
...
...
@@ -23,23 +23,23 @@ import io.swagger.annotations.ApiOperation;
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaUserExtendsHystrix
.
class
)
public
interface
EllaUserExtendsRemoteService
{
@RequestMapping
(
value
=
{
"/userextends/searchList"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/
userextends/searchList"
},
method
=
RequestMethod
.
POST
)
Message
searchList
(
EllaUserExtendsVo
vo
);
@ApiOperation
(
"根据用户类型查询扩展属性"
)
@RequestMapping
(
value
=
{
"/userextends/list/{userTypeId}"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"/
challenger/
userextends/list/{userTypeId}"
},
method
=
RequestMethod
.
GET
)
Message
index
(
@PathVariable
Integer
userTypeId
);
@RequestMapping
(
value
=
"/userextends/toAdd/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
userextends/toAdd/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
Message
toAdd
(
@PathVariable
Integer
userTypeId
);
@RequestMapping
(
"/userextends/doAdd"
)
@RequestMapping
(
"/
challenger/
userextends/doAdd"
)
Message
doAdd
(
@Valid
EllaUserExtendsVo
vo
);
@RequestMapping
(
value
=
{
"/userextends/doDelete"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/
userextends/doDelete"
},
method
=
RequestMethod
.
POST
)
Message
doDelete
(
HttpServletRequest
request
);
@RequestMapping
(
value
=
"/userextends/getByUserTypeId"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
userextends/getByUserTypeId"
,
method
=
RequestMethod
.
POST
)
Message
getByUserTypeId
(
@Valid
Integer
userTypeId
);
}
\ No newline at end of file
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserTypeRemoteService.java
View file @
7c3579f9
...
...
@@ -19,16 +19,16 @@ import com.senthink.rmi.challenger.vo.EllaUserTypeVo;
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaUserTypeHystrix
.
class
)
public
interface
EllaUserTypeRemoteService
{
@RequestMapping
(
value
=
{
"/
usertype/searchList"
,
"
/back/usertype/list"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/
challenger/usertype/searchList"
,
"/challenger
/back/usertype/list"
},
method
=
RequestMethod
.
POST
)
Message
searchList
(
@RequestBody
EllaUserTypeVo
vo
);
@RequestMapping
(
value
=
"/usertype/toUpdate/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
challenger/
usertype/toUpdate/{userTypeId}"
,
method
=
RequestMethod
.
GET
)
Message
toUpdate
(
@PathVariable
Integer
userTypeId
);
@RequestMapping
(
value
=
"/usertype/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/
challenger/
usertype/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
doAddOrUpdate
(
@RequestBody
EllaUserTypeVo
vo
);
@RequestMapping
(
value
=
{
"/usertype/doDelete/{id}"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"/
challenger/
usertype/doDelete/{id}"
},
method
=
RequestMethod
.
GET
)
Message
doDelete
(
@PathVariable
Integer
id
);
}
\ No newline at end of file
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