查询忙闲信息

This commit is contained in:
俞扬
2023-06-17 18:15:25 +08:00
parent a5ae55675a
commit dcb3d1097c
12 changed files with 520 additions and 1 deletions

View File

@@ -0,0 +1,38 @@
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.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
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:
*/
@RestController
@RequestMapping({"/feishu"})
public class FeiShuController {
@Autowired
private FeiShuService feiShuService;
@PostMapping("/calendar/freebusy/list")
@ApiOperation("查询日程忙闲信息")
public ResponseResult<GetFreeBusyListVO> getFreeBusyList(@RequestBody GetFreeBusyListReq request) throws ApiException {
GetFreeBusyListVO getFreeBusyListVO= feiShuService.getFreeBusyList(request);
return ResponseResult.success(getFreeBusyListVO);
}
}