Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
da611461
Commit
da611461
authored
Aug 20, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into jrz_dev
parents
b14be048
86423b00
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
AuthController.java
...thub/wxiaoqi/security/auth/controller/AuthController.java
+3
-0
BaseUserMemberController.java
...wxiaoqi/security/admin/rest/BaseUserMemberController.java
+2
-2
No files found.
ace-auth/ace-auth-server/src/main/java/com/github/wxiaoqi/security/auth/controller/AuthController.java
View file @
da611461
...
...
@@ -10,6 +10,8 @@ import com.github.wxiaoqi.security.common.util.EntityUtils;
import
com.github.wxiaoqi.security.common.util.IpUtil
;
import
com.github.wxiaoqi.security.common.util.process.ResultCode
;
import
com.github.wxiaoqi.security.common.util.result.JsonResultUtil
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -22,6 +24,7 @@ import org.springframework.web.context.request.ServletRequestAttributes;
import
javax.servlet.http.HttpServletRequest
;
@Api
(
tags
=
"用户登录"
)
@RestController
@RequestMapping
(
"jwt"
)
@Slf4j
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/BaseUserMemberController.java
View file @
da611461
...
...
@@ -38,7 +38,7 @@ public class BaseUserMemberController extends BaseController<BaseUserMemberBiz,
* @return
*/
@ApiOperation
(
value
=
"根据用户id获取用户会员信息"
)
@
Reques
tMapping
(
"/findOne/{userId}"
)
@
Ge
tMapping
(
"/findOne/{userId}"
)
public
ObjectRestResponse
<
BaseUserMemberVO
>
findOneByUserId
(
@PathVariable
Integer
userId
){
return
ObjectRestResponse
.
succ
(
baseBiz
.
findOneByUserId
(
userId
));
}
...
...
@@ -49,7 +49,7 @@ public class BaseUserMemberController extends BaseController<BaseUserMemberBiz,
* @return
*/
@
RequestMapping
(
"
/getUserMember"
)
@
GetMapping
(
"app
/getUserMember"
)
@ApiOperation
(
value
=
"根据token获取用户会员信息"
)
public
ObjectRestResponse
<
BaseUserMemberVO
>
findOneByToken
(){
try
{
...
...
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