#
luxiaotao1123
2025-01-08 aa6f20d98b5d8e18ae56f9562a78d403a5417b48
zy-acs-manager/src/main/java/com/zy/acs/manager/fake/FakeController.java
@@ -8,6 +8,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.annotation.PostConstruct;
/**
 * Created by vincent on 11/9/2024
 */
@@ -18,6 +20,11 @@
    @Autowired
    private ConfigService configService;
    @PostConstruct
    public void init() {
        configService.setVal("fakeSign", Boolean.FALSE);
    }
    @GetMapping("/sign/get")
    public R getSign() {
        return R.ok().add(configService.getVal("fakeSign", Boolean.class));