记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
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
董敬伟
liquidnet-bus-v1
Commits
6ad097b7
Commit
6ad097b7
authored
Jun 03, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员API:Mysql字段调整;
用户中心添加查询用户信息API;
parent
37ae489e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
AdamMemberMapper.xml
...es/com/liquidnet/service/adam/mapper/AdamMemberMapper.xml
+2
-2
AdamUserController.java
...liquidnet/service/adam/controller/AdamUserController.java
+15
-0
No files found.
liquidnet-bus-do/liquidnet-service-adam-do/src/main/resources/com/liquidnet/service/adam/mapper/AdamMemberMapper.xml
View file @
6ad097b7
...
...
@@ -17,7 +17,7 @@
<result
column=
"notice_title"
property=
"noticeTitle"
/>
<result
column=
"need_question"
property=
"needQuestion"
/>
<result
column=
"display_agreement"
property=
"displayAgreement"
/>
<result
column=
"
agreement"
property=
"agreement
"
/>
<result
column=
"
state"
property=
"state
"
/>
<result
column=
"limitation"
property=
"limitation"
/>
<result
column=
"created_at"
property=
"createdAt"
/>
<result
column=
"updated_at"
property=
"updatedAt"
/>
...
...
@@ -41,7 +41,7 @@
notice_title,
need_question,
display_agreement,
agreement
,
`state`
,
limitation,
created_at,
updated_at
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/src/main/java/com/liquidnet/service/adam/controller/AdamUserController.java
View file @
6ad097b7
...
...
@@ -20,6 +20,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.core.env.Environment
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.util.LinkedMultiValueMap
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -207,6 +208,20 @@ public class AdamUserController {
return
ResponseDto
.
success
(
adamRdmService
.
getThirdPartVoListByUid
(
currentUid
));
}
@ApiOperationSupport
(
order
=
9
)
@ApiOperation
(
value
=
"个人信息"
)
@PostMapping
(
value
=
{
"info"
})
public
ResponseDto
info
(
ModelMap
map
)
{
String
currentUid
=
CurrentUtil
.
getCurrentUid
();
map
.
put
(
"userInfo"
,
adamRdmService
.
getUserInfoVoByUid
(
currentUid
));
map
.
put
(
"realNameInfo"
,
adamRdmService
.
getRealInfoVoByUid
(
currentUid
));
map
.
put
(
"thirdPartInfo"
,
adamRdmService
.
getThirdPartVoListByUid
(
currentUid
));
map
.
put
(
"userMemberVo"
,
adamRdmService
.
getUserMemberVoByUid
(
currentUid
));
return
ResponseDto
.
success
(
map
);
}
/* ---------------------------- Internal Method ---------------------------- */
private
boolean
checkSmsCode
(
String
mobile
,
String
code
)
{
...
...
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