查询忙闲信息接口调整
This commit is contained in:
@@ -2,13 +2,10 @@ package com.cool.store.controller;
|
||||
|
||||
import com.cool.store.exception.ApiException;
|
||||
import com.cool.store.request.GetFreeBusyListReq;
|
||||
import com.cool.store.request.GetInterviewListReq;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.FeiShuService;
|
||||
import com.cool.store.vo.interview.GetFreeBusyListVO;
|
||||
import com.cool.store.vo.interview.InterviewVO;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
@@ -16,20 +13,19 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: young.yu
|
||||
* @Date: 2023-06-16 13:06
|
||||
* @Description:
|
||||
*/
|
||||
@Api(tags = "飞书相关接口")
|
||||
@RestController
|
||||
@RequestMapping({"/feishu"})
|
||||
public class FeiShuController {
|
||||
|
||||
@Autowired
|
||||
private FeiShuService feiShuService;
|
||||
@PostMapping("/calendar/freebusy/list")
|
||||
@PostMapping("/interviewer/freebusy/list")
|
||||
@ApiOperation("查询日程忙闲信息")
|
||||
public ResponseResult<GetFreeBusyListVO> getFreeBusyList(@RequestBody GetFreeBusyListReq request) throws ApiException {
|
||||
GetFreeBusyListVO getFreeBusyListVO= feiShuService.getFreeBusyList(request);
|
||||
|
||||
Reference in New Issue
Block a user