package com.zy.acs.manager.core;
|
|
import com.zy.acs.framework.common.R;
|
import com.zy.acs.manager.core.service.LaneService;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* Created by vincent on 10/24/2024
|
*/
|
@RestController
|
@RequestMapping("/test")
|
public class DispatcherTestController {
|
|
@Autowired
|
private LaneService laneService;
|
|
@GetMapping("/lanes")
|
public R getLanes() {
|
return R.ok().add(laneService.getLanePoints("00000010"));
|
}
|
|
}
|