| | |
| | | * @return 个人中心首页信息 |
| | | */ |
| | | @ApiOperation(value = "获取个人中心首页信息", tags = {"运维APP-个人中心"}) |
| | | @GetMapping("/api/v1/userInfo") |
| | | @GetMapping("/maintenance-app/api/v1/userInfo") |
| | | public R<XpOperationsUserProfileVO> getProfile() { |
| | | // 通过TokenService获取当前登录用户ID |
| | | Long currentUserId = tokenService.getLoginOperationUser().getId(); |
| | |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "个人中心-证件上传", tags = {"运维APP-个人中心"}) |
| | | @PostMapping("/api/v1/saveCertificate") |
| | | @PostMapping("/maintenance-app/api/v1/saveCertificate") |
| | | public R<?> saveCertificate(@Valid @RequestBody XpOperationsUserDTO dto) { |
| | | xpOperationsUserService.saveCertificate(dto); |
| | | return R.ok(); |