SmartVisitorParentsConfigControllerAPI.java 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. package com.template.api;
  2. import com.template.model.dto.SvpcDto;
  3. import com.template.model.pojo.SmartAskForLeaveConfig;
  4. import com.template.model.pojo.SmartVisitorParentsConfig;
  5. import com.template.model.result.CommonResult;
  6. import io.swagger.annotations.ApiOperation;
  7. import org.springframework.web.bind.annotation.*;
  8. import java.util.List;
  9. @RequestMapping("/api/smartVisitorParentsConfig")
  10. public interface SmartVisitorParentsConfigControllerAPI {
  11. @GetMapping(value = "/getClassId")
  12. @ApiOperation(value = "获取班级所对应的配置", notes = "获取班级所对应的配置", httpMethod = "GET")
  13. CommonResult getClassId(@RequestParam Integer page,@RequestParam Integer size, Integer classId,Integer gradeId);
  14. @PostMapping(value = "/update")
  15. @ApiOperation(value = "家长访客配置修改", notes = "家长访客配置修改", httpMethod = "POST")
  16. CommonResult update(@RequestBody SmartVisitorParentsConfig smartVisitorParentsConfig);
  17. @GetMapping(value = "/getUserId")
  18. @ApiOperation(value = "根据用户id获取所管理的班级配置", notes = "根据用户id获取所管理的班级配置", httpMethod = "GET")
  19. CommonResult getUserId(@RequestParam Integer userId);
  20. @PostMapping(value = "/updates")
  21. @ApiOperation(value = "家长访客配置批量修改", notes = "家长访客配置批量修改", httpMethod = "POST")
  22. CommonResult updates(@RequestBody SvpcDto svpcDto);
  23. }