| | |
| | | package com.zy.acs.fake; |
| | | |
| | | import com.zy.acs.fake.service.AgvService; |
| | | import com.zy.acs.framework.common.R; |
| | | import com.zy.acs.manager.core.service.AgvCmdService; |
| | | import com.zy.acs.manager.system.service.ConfigService; |
| | | 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; |
| | | |
| | | /** |
| | |
| | | public class TestController { |
| | | |
| | | @Autowired |
| | | private ConfigService configService; |
| | | private AgvService agvService; |
| | | |
| | | @GetMapping("/fake") |
| | | public R fake() { |
| | | return R.ok().add(configService.getVal("fakeSign", Boolean.class)); |
| | | return R.ok().add(agvService.list()); |
| | | } |
| | | |
| | | } |