diff --git a/src/backend/codecc/core/codeccjob/biz-codeccjob/src/main/kotlin/com/tencent/bk/codecc/codeccjob/consumer/CodeScoringConsumer.kt b/src/backend/codecc/core/codeccjob/biz-codeccjob/src/main/kotlin/com/tencent/bk/codecc/codeccjob/consumer/CodeScoringConsumer.kt index 77b0459be2f..18f2a5e8d99 100644 --- a/src/backend/codecc/core/codeccjob/biz-codeccjob/src/main/kotlin/com/tencent/bk/codecc/codeccjob/consumer/CodeScoringConsumer.kt +++ b/src/backend/codecc/core/codeccjob/biz-codeccjob/src/main/kotlin/com/tencent/bk/codecc/codeccjob/consumer/CodeScoringConsumer.kt @@ -66,7 +66,7 @@ class CodeScoringConsumer @Autowired constructor( private val logger = LoggerFactory.getLogger(CodeScoringConsumer::class.java) } - @Value("\${codecc.public.url}") + @Value("\${codecc.public.url:#{null}}") private val codeccGateWay: String? = null /**