| | |
| | | import com.google.gson.JsonObject; |
| | | import com.google.gson.JsonParser; |
| | | |
| | | import com.sun.media.jfxmedia.track.Track; |
| | | import io.swagger.v3.oas.annotations.Operation; |
| | | import io.swagger.v3.oas.annotations.tags.Tag; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | @Controller |
| | | @RequestMapping("/ffzf/car2") |
| | | @RequiredArgsConstructor |
| | | @Tag(description = "ffzf/car3" , name = "泊车流程接口" ) |
| | | public class PlateServlet2 extends HttpServlet { |
| | | private static final long serialVersionUID = 1L; |
| | | @Value("${ffpark.logPath}") |
| | |
| | | } |
| | | |
| | | @PostMapping("/status") |
| | | @Operation(summary = "相机心跳接口" , description = "相机心跳接口" ) |
| | | public void heart(String serialno,HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException { |
| | | Barrier barrier = barrierService.findByCode(serialno); |
| | | Park park = parkService.getOneById(barrier.getParkId()); |
| | |
| | | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) |
| | | */ |
| | | @PostMapping("/PlateServlet") |
| | | @Operation(summary = "车辆识别接口" , description = "车辆识别接口" ) |
| | | protected void info(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { |
| | | String s= ""; |
| | | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd_HH:mm:ss"); |