#
luxiaotao1123
2024-01-29 2db8378d205cf4dbf273d8aa63a401a88e562395
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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());
    }
 
}