| | |
| | | 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. |
| | |
| | | * @Author : Rk |
| | | * @create 2024/7/10 18:06 |
| | | */ |
| | | @Api(tags = "员工端小程序用户业务") |
| | | @Api(tags = "【B端小程序】用户业务") |
| | | @Trace(exclude = true) |
| | | @RestController |
| | | @RequestMapping("/web/personnel") |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取个人名片", notes = "员工端小程序") |
| | | @PostMapping("/getUserCard") |
| | | public ApiResponse<String> getUserCard() { |
| | | return ApiResponse.success(usersService.getUserCard(this.getLoginUserInfo())); |
| | | } |
| | | |
| | | |
| | | } |