feat:[REQ-3282] 增加环境限制

This commit is contained in:
liuyang 2024-12-10 17:19:20 +08:00
parent a444c726b5
commit fd4d7a63b2

View File

@ -15,6 +15,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.MDC;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.env.Environment;
import java.lang.reflect.Field;
@ -32,6 +33,7 @@ import java.util.regex.Pattern;
**/
@Slf4j
@Configuration
@Profile({"dev", "test", "pre", "live"})
public class FeignConfig implements RequestInterceptor {
@Autowired