package com.zy.acs.fake;
|
|
import com.zy.acs.fake.service.AgvService;
|
import com.zy.acs.framework.common.R;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* Created by vincent on 12/13/2024
|
*/
|
@RestController
|
public class TestController {
|
|
@Autowired
|
private AgvService agvService;
|
|
@GetMapping("/fake")
|
public R fake() {
|
return R.ok().add(agvService.list());
|
}
|
|
}
|