package com.zy.asrs.wcs.common;
|
|
import com.zy.asrs.framework.common.R;
|
import com.zy.asrs.wcs.sys.service.HostService;
|
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 1/27/2024
|
*/
|
@RestController
|
public class Test {
|
|
@Autowired
|
private HostService hostService;
|
|
@GetMapping("/test")
|
public R gs() {
|
return R.ok().add(hostService.list());
|
}
|
|
}
|