diff --git a/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/provider/rbac/service/RbacPermissionHandoverApplicationService.kt b/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/provider/rbac/service/RbacPermissionHandoverApplicationService.kt index 9d25d166f20..6dd1b041f1d 100644 --- a/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/provider/rbac/service/RbacPermissionHandoverApplicationService.kt +++ b/src/backend/ci/core/auth/biz-auth/src/main/kotlin/com/tencent/devops/auth/provider/rbac/service/RbacPermissionHandoverApplicationService.kt @@ -95,7 +95,7 @@ class RbacPermissionHandoverApplicationService( "handoverOverviews" to handoverOverviewContentOfEmail, "handoverOverviewContentOfRtx" to handoverOverviewContentOfRtx, "table" to handoverOverviewTable, - "url" to handoverApplicationUrl + "url" to String.format(handoverApplicationUrl, flowNo) ) // 发邮件 val request = SendNotifyMessageTemplateRequest( @@ -353,7 +353,7 @@ class RbacPermissionHandoverApplicationService( ).map { it.copy(approver = flowNo2Approver[it.flowNo]) } } - private val handoverApplicationUrl = "${config.devopsHostGateway}/console/permission/my-handover" + private val handoverApplicationUrl = "${config.devopsHostGateway}/console/permission/my-handover?type=handoverToMe&flowNo=%s" companion object { private val logger = LoggerFactory.getLogger(RbacPermissionHandoverApplicationService::class.java)