zhou zhou
昨天 1724f77c35022b643c28dd3e5547679a5edc2d49
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;