SmartFaceDiscernControllerAPI.java 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. package com.template.api;
  2. import com.template.model.result.CommonResult;
  3. import io.swagger.annotations.ApiOperation;
  4. import org.springframework.web.bind.annotation.GetMapping;
  5. import org.springframework.web.bind.annotation.RequestMapping;
  6. import org.springframework.web.bind.annotation.RequestParam;
  7. import javax.servlet.http.HttpServletRequest;
  8. import javax.servlet.http.HttpServletResponse;
  9. @RequestMapping("/api/smartFaceDiscern")
  10. public interface SmartFaceDiscernControllerAPI {
  11. @GetMapping(value = "/track")
  12. @ApiOperation(value = "学生轨迹", notes = "学生轨迹", httpMethod = "GET")
  13. CommonResult track(@RequestParam Integer id, @RequestParam int dateTime);
  14. @GetMapping(value = "/access")
  15. @ApiOperation(value = "门禁管理",notes = "门禁管理",httpMethod = "GET")
  16. CommonResult access();
  17. @GetMapping(value = "/lastSevenDaysTrack")
  18. @ApiOperation(value = "日常轨迹",notes = "日常轨迹",httpMethod = "GET")
  19. CommonResult lastSevenDaysTrack(@RequestParam int userId);
  20. }