SmartFaceDiscernControllerAPI.java 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. package com.template.api;
  2. import com.template.model.result.CommonResult;
  3. import com.tencentcloudapi.tci.v20190318.models.Face;
  4. import io.swagger.annotations.ApiOperation;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.PostMapping;
  7. import org.springframework.web.bind.annotation.RequestMapping;
  8. import org.springframework.web.bind.annotation.RequestParam;
  9. import javax.servlet.http.HttpServletRequest;
  10. import javax.servlet.http.HttpServletResponse;
  11. @RequestMapping("/api/smartFaceDiscern")
  12. public interface SmartFaceDiscernControllerAPI {
  13. @GetMapping(value = "/track")
  14. @ApiOperation(value = "学生轨迹", notes = "学生轨迹", httpMethod = "GET")
  15. CommonResult track(@RequestParam Integer id, @RequestParam int dateTime);
  16. @GetMapping(value = "/access")
  17. @ApiOperation(value = "门禁管理",notes = "门禁管理",httpMethod = "GET")
  18. CommonResult access();
  19. @GetMapping(value = "/lastSevenDaysTrack")
  20. @ApiOperation(value = "日常轨迹",notes = "日常轨迹",httpMethod = "GET")
  21. CommonResult lastSevenDaysTrack(@RequestParam int userId);
  22. @PostMapping("/callBack")
  23. @ApiOperation(value = "百胜门禁记录回调",notes = "百胜门禁记录回调",httpMethod = "POST")
  24. String callBack(HttpServletRequest request, HttpServletResponse response);
  25. @GetMapping(value = "/selectTrack")
  26. @ApiOperation(value = "轨迹查询", notes = "轨迹查询", httpMethod = "GET")
  27. CommonResult selectTrack(@RequestParam Integer userId, @RequestParam String startTime,@RequestParam String endTime);
  28. @GetMapping(value = "/faceManagement")
  29. @ApiOperation(value = "人脸管理记录", notes = "人脸管理记录", httpMethod = "GET")
  30. CommonResult faceManagement(@RequestParam int currentPage, @RequestParam int pageCount,String keyWord,String gradeId,String classId,String startTime,String endTime);
  31. @GetMapping(value = "/faceManagementExport")
  32. @ApiOperation(value = "人脸管理记录", notes = "人脸管理记录", httpMethod = "GET")
  33. void faceManagementExport(HttpServletResponse response,String keyWord,String gradeId,String classId,String startTime,String endTime);
  34. }