#
luxiaotao1123
2024-01-29 2db8378d205cf4dbf273d8aa63a401a88e562395
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/Test.java
@@ -1,7 +1,23 @@
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());
    }
}