| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | /** |
| | | * Created by IntelliJ IDEA. |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取个人名片", notes = "员工端小程序") |
| | | @PostMapping("/getUserCard") |
| | | public ApiResponse<String> getUserCard() { |
| | | return ApiResponse.success(usersService.getUserCard(this.getLoginUserInfo())); |
| | | } |
| | | |
| | | |
| | | } |