package com.template.api;

import com.template.model.dto.AskConfigDto;
import com.template.model.result.CommonResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/api/smartAskForLeaveConfig")
public interface SmartAskForLeaveConfigControllerAPI {

    @GetMapping(value = "/list")
    @ApiOperation(value = "请假配置展示", notes = "请假配置展示", httpMethod = "GET")
    CommonResult list();

    @PostMapping(value = "/update")
    @ApiOperation(value = "请假配置修改", notes = "请假配置修改", httpMethod = "POST")
    CommonResult update(@RequestBody AskConfigDto askConfigDto);

}
