| 1234567891011121314151617181920212223242526272829303132 |
- package com.template.api;
- import com.template.model.dto.SvpcDto;
- import com.template.model.pojo.SmartAskForLeaveConfig;
- import com.template.model.pojo.SmartVisitorParentsConfig;
- import com.template.model.result.CommonResult;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.web.bind.annotation.*;
- import java.util.List;
- @RequestMapping("/api/smartVisitorParentsConfig")
- public interface SmartVisitorParentsConfigControllerAPI {
- @GetMapping(value = "/getClassId")
- @ApiOperation(value = "获取班级所对应的配置", notes = "获取班级所对应的配置", httpMethod = "GET")
- CommonResult getClassId(@RequestParam Integer page,@RequestParam Integer size, Integer classId,Integer gradeId);
- @PostMapping(value = "/update")
- @ApiOperation(value = "家长访客配置修改", notes = "家长访客配置修改", httpMethod = "POST")
- CommonResult update(@RequestBody SmartVisitorParentsConfig smartVisitorParentsConfig);
- @GetMapping(value = "/getUserId")
- @ApiOperation(value = "根据用户id获取所管理的班级配置", notes = "根据用户id获取所管理的班级配置", httpMethod = "GET")
- CommonResult getUserId(@RequestParam Integer userId);
- @PostMapping(value = "/updates")
- @ApiOperation(value = "家长访客配置批量修改", notes = "家长访客配置批量修改", httpMethod = "POST")
- CommonResult updates(@RequestBody SvpcDto svpcDto);
- }
|