| | |
| | | import com.ruoyi.system.dto.UpdateUserDto; |
| | | import com.ruoyi.system.model.TAppUser; |
| | | import com.ruoyi.system.service.TAppUserService; |
| | | import com.ruoyi.system.service.TCommissionTransactionFlowService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | |
| | | |
| | | private final TAppUserService tAppUserService; |
| | | private final TokenService tokenService; |
| | | private final TCommissionTransactionFlowService commissionTransactionFlowService; |
| | | |
| | | @ApiOperation(value = "个人中心--用户信息",response = TAppUser.class) |
| | | @GetMapping(value = "/getUserInfo") |
| | | public R<TAppUser> getUserInfo() { |
| | | Integer userId = tokenService.getLoginUserApplet().getUserId(); |
| | | return R.ok(tAppUserService.getById(userId)); |
| | | TAppUser appUser = tAppUserService.getById(userId); |
| | | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ApiOperation(value = "个人中心--修改手机号") |