From 4d809b6a96141f60b94230c0db4825479547d293 Mon Sep 17 00:00:00 2001 From: valign Date: Tue, 30 Apr 2024 16:37:58 +0000 Subject: [PATCH] =?UTF-8?q?refact(audit):=20=E4=BF=AE=E6=94=B9accountsOfTe?= =?UTF-8?q?nantTarget=E7=9A=84message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/audit/operation_log.proto | 3 ++- protos/server/charging.proto | 4 ++-- protos/server/export.proto | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/protos/audit/operation_log.proto b/protos/audit/operation_log.proto index 8a920de987..75774f0063 100644 --- a/protos/audit/operation_log.proto +++ b/protos/audit/operation_log.proto @@ -341,6 +341,7 @@ message AccountOfTenantTarget { } message AccountsOfTenantTarget { string tenant_name = 1; + repeated string account_names =2; } message TenantTarget { string tenant_name = 1; @@ -370,7 +371,7 @@ message ExportChargeRecord { oneof target { // 返回这个租户(tenantName)下这个账户(accountName)的消费记录 AccountOfTenantTarget account_of_tenant = 4; - // 返回这个租户(tenantName)下所有账户的消费记录 + // 返回这个租户(tenantName)下多个账户的消费记录 AccountsOfTenantTarget accounts_of_tenant = 5; // 返回所有租户下所有账户的消费记录 AccountsOfAllTenantsTarget accounts_of_all_tenants = 6; diff --git a/protos/server/charging.proto b/protos/server/charging.proto index 38240247ed..61ae3a8822 100644 --- a/protos/server/charging.proto +++ b/protos/server/charging.proto @@ -128,7 +128,7 @@ message GetPaginatedChargeRecordsRequest { oneof target { // 返回这个租户(tenantName)下这个账户(accountName)的消费记录 AccountOfTenantTarget account_of_tenant = 4; - // 返回这个租户(tenantName)下所有账户的消费记录 + // 返回这个租户(tenantName)下多个账户的消费记录 AccountsOfTenantTarget accounts_of_tenant = 5; // 返回所有租户下所有账户的消费记录 AccountsOfAllTenantsTarget accounts_of_all_tenants = 6; @@ -160,7 +160,7 @@ message GetChargeRecordsTotalCountRequest { oneof target { // 返回这个租户(tenantName)下这个账户(accountName)的消费记录 AccountOfTenantTarget account_of_tenant = 4; - // 返回这个租户(tenantName)下所有账户的消费记录 + // 返回这个租户(tenantName)下多个账户的消费记录 AccountsOfTenantTarget accounts_of_tenant = 5; // 返回所有租户下所有账户的消费记录 AccountsOfAllTenantsTarget accounts_of_all_tenants = 6; diff --git a/protos/server/export.proto b/protos/server/export.proto index f6ec2627c5..70016236e6 100644 --- a/protos/server/export.proto +++ b/protos/server/export.proto @@ -72,7 +72,7 @@ message ExportChargeRecordRequest { oneof target { // 返回这个租户(tenantName)下这个账户(accountName)的消费记录 AccountOfTenantTarget account_of_tenant = 5; - // 返回这个租户(tenantName)下所有账户的消费记录 + // 返回这个租户(tenantName)下多个账户的消费记录 AccountsOfTenantTarget accounts_of_tenant = 6; // 返回所有租户下所有账户的消费记录 AccountsOfAllTenantsTarget accounts_of_all_tenants = 7;