#
luxiaotao1123
2024-12-13 d3cbf712daa839fd33ea23e435dc56d7cf5e8dfe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.zy.acs.fake;
 
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;
 
/**
 * Created by vincent on 12/13/2024
 */
@RestController
public class TestController {
 
    @Autowired
    private ConfigService configService;
 
    @GetMapping("/fake")
    public R fake() {
        return R.ok().add(configService.getVal("fakeSign", Boolean.class));
    }
 
}