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
ac57656c
Commit
ac57656c
authored
Jan 23, 2017
by
Xujialin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误修改
parent
3fce46d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
38 deletions
+39
-38
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseRemoteService.java
+39
-38
No files found.
src/main/java/com/senthink/rmi/challenger/rmi/EllaUserBaseRemoteService.java
View file @
ac57656c
...
@@ -3,7 +3,6 @@ package com.senthink.rmi.challenger.rmi;
...
@@ -3,7 +3,6 @@ package com.senthink.rmi.challenger.rmi;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.cloud.netflix.feign.FeignClient
;
import
org.springframework.cloud.netflix.feign.FeignClient
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -18,44 +17,46 @@ import com.senthink.rmi.challenger.vo.EllaUserBaseVo;
...
@@ -18,44 +17,46 @@ import com.senthink.rmi.challenger.vo.EllaUserBaseVo;
import
com.senthink.rmi.challenger.vo.UserUpdatePwdVo
;
import
com.senthink.rmi.challenger.vo.UserUpdatePwdVo
;
/**
/**
* @ClassName
: EllaUserBaseRemoteService
* @ClassName : EllaUserBaseRemoteService
* @Description
:
* @Description :
* @Author
: xujialin
* @Author : xujialin
* @CreationDate
: 2017年1月11日下午4:07:08
* @CreationDate : 2017年1月11日下午4:07:08
*/
*/
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaUserBaseHystrix
.
class
)
@FeignClient
(
value
=
"challenger"
,
fallback
=
EllaUserBaseHystrix
.
class
)
public
interface
EllaUserBaseRemoteService
{
public
interface
EllaUserBaseRemoteService
{
@Value
(
"${ella.url}"
)
private
String
ellaUrl
;
/
@RequestMapping
(
value
=
{
"/user/list"
,
"/user/index"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"/user/list"
,
"/user/index"
},
method
=
RequestMethod
.
GET
)
Message
index
()
;
Message
index
();
@RequestMapping
(
value
=
{
"admin/user/list"
,
"/back/user/list"
},
method
=
RequestMethod
.
GET
)
Message
adminPage
(
@RequestBody
EllaUserBaseParam
param
)
;
@RequestMapping
(
value
=
{
"admin/user/list"
,
"/back/user/list"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
{
"normal/user/list"
,
"/back/consumer/list"
},
method
=
RequestMethod
.
GET
)
Message
adminPage
(
@RequestBody
EllaUserBaseParam
param
);
Message
normalPage
(
@RequestBody
EllaUserBaseParam
param
)
;
@RequestMapping
(
value
=
{
"/user/searchList"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"normal/user/list"
,
"/back/consumer/list"
},
method
=
RequestMethod
.
GET
)
Message
dealerSearchList
(
@RequestBody
EllaUserBaseParam
param
)
;
Message
normalPage
(
@RequestBody
EllaUserBaseParam
param
);
@RequestMapping
(
value
=
"/user/toAdd"
,
method
=
RequestMethod
.
GET
)
Message
toAdd
()
;
@RequestMapping
(
value
=
{
"/user/searchList"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/user/toUpdate/{userId}"
,
method
=
RequestMethod
.
GET
)
Message
dealerSearchList
(
@RequestBody
EllaUserBaseParam
param
);
Message
toUpdate
(
@PathVariable
Integer
userId
,
HttpServletRequest
request
)
;
@RequestMapping
(
value
=
"/user/toAdd"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/user/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
toAdd
();
Message
doAddOrUpdate
(
@RequestBody
EllaUserBaseVo
vo
,
String
roles
,
String
extendIds
,
@RequestMapping
(
value
=
"/user/toUpdate/{userId}"
,
method
=
RequestMethod
.
GET
)
String
extendValues
,
String
orgs
,
@RequestParam
(
value
=
"file"
,
required
=
false
)
MultipartFile
file
)
Message
toUpdate
(
@PathVariable
Integer
userId
,
HttpServletRequest
request
);
;
@RequestMapping
(
value
=
{
"/user/disable/{id}"
},
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/user/doAddOrUpdate"
,
method
=
RequestMethod
.
POST
)
Message
disableUser
(
@PathVariable
Integer
id
)
;
Message
doAddOrUpdate
(
@RequestBody
EllaUserBaseVo
vo
,
String
roles
,
String
extendIds
,
String
extendValues
,
@RequestMapping
(
value
=
{
"/user/enable/{id}"
},
method
=
RequestMethod
.
GET
)
String
orgs
,
@RequestParam
(
value
=
"file"
,
required
=
false
)
MultipartFile
file
);
Message
enableUser
(
@PathVariable
Integer
id
)
;
@RequestMapping
(
value
=
{
"/user/updatePass"
},
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
{
"/user/disable/{id}"
},
method
=
RequestMethod
.
GET
)
Message
updatePass
(
@RequestBody
UserUpdatePwdVo
vo
)
;
Message
disableUser
(
@PathVariable
Integer
id
);
@RequestMapping
(
value
=
{
"/user/passCheck"
},
method
=
RequestMethod
.
POST
)
Message
passCheck
(
@RequestBody
EllaUserBaseVo
vo
)
;
@RequestMapping
(
value
=
{
"/user/enable/{id}"
},
method
=
RequestMethod
.
GET
)
Message
enableUser
(
@PathVariable
Integer
id
);
}
\ No newline at end of file
@RequestMapping
(
value
=
{
"/user/updatePass"
},
method
=
RequestMethod
.
POST
)
Message
updatePass
(
@RequestBody
UserUpdatePwdVo
vo
);
@RequestMapping
(
value
=
{
"/user/passCheck"
},
method
=
RequestMethod
.
POST
)
Message
passCheck
(
@RequestBody
EllaUserBaseVo
vo
);
}
\ 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