diff --git a/src/backend/conan/biz-conan/src/main/kotlin/com/tencent/bkrepo/conan/controller/ConanController.kt b/src/backend/conan/biz-conan/src/main/kotlin/com/tencent/bkrepo/conan/controller/ConanController.kt index 2ad6d20855..b07f2d4232 100644 --- a/src/backend/conan/biz-conan/src/main/kotlin/com/tencent/bkrepo/conan/controller/ConanController.kt +++ b/src/backend/conan/biz-conan/src/main/kotlin/com/tencent/bkrepo/conan/controller/ConanController.kt @@ -40,11 +40,7 @@ import com.tencent.bkrepo.common.artifact.audit.NODE_CREATE_ACTION import com.tencent.bkrepo.common.artifact.audit.NODE_DOWNLOAD_ACTION import com.tencent.bkrepo.common.artifact.audit.NODE_RESOURCE import com.tencent.bkrepo.common.security.permission.Permission -import com.tencent.bkrepo.conan.constant.CONANFILE -import com.tencent.bkrepo.conan.constant.CONANINFO import com.tencent.bkrepo.conan.constant.CONAN_MANIFEST -import com.tencent.bkrepo.conan.constant.EXPORT_SOURCES_TGZ_NAME -import com.tencent.bkrepo.conan.constant.PACKAGE_TGZ_NAME import com.tencent.bkrepo.conan.pojo.artifact.ConanArtifactInfo import com.tencent.bkrepo.conan.pojo.artifact.ConanArtifactInfo.Companion.GET_CONANFILE_DOWNLOAD_URLS_V1 import com.tencent.bkrepo.conan.pojo.artifact.ConanArtifactInfo.Companion.GET_PACKAGE_DOWNLOAD_URLS_V1 @@ -86,7 +82,7 @@ class ConanController( ): ResponseEntity { return ConanCommonController.buildResponse( conanService.getConanFileDownloadUrls( - conanArtifactInfo, mutableListOf(CONAN_MANIFEST, EXPORT_SOURCES_TGZ_NAME, CONANFILE) + conanArtifactInfo, mutableListOf(CONAN_MANIFEST) ) ) } @@ -101,7 +97,7 @@ class ConanController( ): ResponseEntity { return ConanCommonController.buildResponse( conanService.getPackageDownloadUrls( - conanArtifactInfo, mutableListOf(CONAN_MANIFEST, CONANINFO, PACKAGE_TGZ_NAME) + conanArtifactInfo, mutableListOf(CONAN_MANIFEST) ) ) }