| | |
| | | detailsVo.setUserImage(tAppUser.getHeadImg()); |
| | | detailsVo.setUserName(tAppUser.getName()); |
| | | detailsVo.setUserPhone(tAppUser.getPhone()); |
| | | detailsVo.setSex(tAppUser.getGender() == 1 ? "男" : "女"); |
| | | if(tAppUser.getGender()!=null){ |
| | | |
| | | detailsVo.setSex(tAppUser.getGender() == 1 ? "男" : "女"); |
| | | } |
| | | detailsVo.setBirthday(format1.format(tAppUser.getBirthday())); |
| | | detailsVo.setAddress(tAppUser.getProvince()+tAppUser.getCity()); |
| | | detailsVo.setMemberLifespan(format1.format(tAppUser.getVipEndTime())); |
| | | if(tAppUser.getVipEndTime()!=null){ |
| | | |
| | | detailsVo.setMemberLifespan(format1.format(tAppUser.getVipEndTime())); |
| | | } |
| | | } |
| | | return ResultUtil.success(detailsVo); |
| | | }catch (Exception e){ |
| | |
| | | @ApiImplicitParam(name = "Authorization", value = "Bearer +token", required = true, dataType = "String", paramType = "header", defaultValue = "Bearer eyJhbGciOiJIUzUxMiJ9....."), |
| | | @ApiImplicitParam(value = "记录id", name = "detailsId", required = true, dataType = "string"), |
| | | }) |
| | | public ResultUtil<PointDetailsVo> redemptionDetails(Integer detailsId){ |
| | | public ResultUtil<PointDetailsVo> redemptionDetails(Long detailsId){ |
| | | try { |
| | | return ResultUtil.success(uicService.queryRedemptionDetails(detailsId)); |
| | | }catch (Exception e){ |