Merge branch 'api' into order_reform
| | |
| | | }) |
| | | @GetMapping(value = "/findUserInfo") |
| | | public AjaxResult findUserInfo() { |
| | | SysUsers user = getMe(); |
| | | SysUsers user = sysUsersService.findById(getMe().getSuId()); |
| | | |
| | | UserInfoDetailVo userInfoDetailVo = SysUsersMapper.INSTANCE.usersToDetailInfoVo(user); |
| | | AjaxResult ajaxResult = AjaxResult.buildSuccessInstance("获取成功"); |
| | | ajaxResult.putInMap("detail", userInfoDetailVo); |
| | |
| | | package com.matrix.system.app.vo; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.matrix.core.tools.DateUtil; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | |
| | |
| | | @ApiModelProperty(value = "性别") |
| | | private String sex; |
| | | |
| | | @JsonFormat(pattern = DateUtil.DATE_FORMAT_DD, timezone = "GMT+8") |
| | | @ApiModelProperty(value = "生日") |
| | | private Date birthday; |
| | | |