记得上下班打卡 | git大法好,push需谨慎

Commit 6ad097b7 authored by 张国柄's avatar 张国柄

会员API:Mysql字段调整;

用户中心添加查询用户信息API;
parent 37ae489e
......@@ -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
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment