#
luxiaotao1123
2024-10-25 8bc743f9c49aca301bb673fbbe3194b07ed99078
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"));
    }
 
}