#
zhou zhou
2 天以前 c65d967bee45b38f0077cfd8f7971787b7042e98
rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/AuthController.java
@@ -12,7 +12,7 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import jakarta.annotation.Resource;
/**
 * App认证控制器
@@ -29,8 +29,12 @@
public class AuthController {
    // 开启模拟数据
    @Value("${foreign.api.data.simulated}")
    public static String SIMULATED_DATA_ENABLE = "1";
    public static String SIMULATED_DATA_ENABLE = "0";
    @Value("${foreign.api.data.simulated:0}")
    public void setSimulatedDataEnable(String simulatedDataEnable) {
        SIMULATED_DATA_ENABLE = simulatedDataEnable;
    }
    @Resource
    private AppAuthService appAuthService;