From cee85aaeb85bd2c96deba8f577e3c5197f432252 Mon Sep 17 00:00:00 2001 From: ljl <17743125563@163.com> Date: Sat, 20 Jan 2024 17:22:43 +0800 Subject: [PATCH] iam:fix . --- support/iam/src/console_passport/api/iam_cp_account_api.rs | 3 ++- support/iam/src/console_passport/api/iam_cp_app_api.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/support/iam/src/console_passport/api/iam_cp_account_api.rs b/support/iam/src/console_passport/api/iam_cp_account_api.rs index 947e449c2..7e58fca16 100644 --- a/support/iam/src/console_passport/api/iam_cp_account_api.rs +++ b/support/iam/src/console_passport/api/iam_cp_account_api.rs @@ -76,6 +76,7 @@ impl IamCpAccountApi { ..Default::default() }, rel_rbum_item_disabled: Some(false), + table_rbum_set_cate_is_left: Some(true), rel_rbum_set_id: Some(set_id.clone()), rel_rbum_item_ids: Some(vec![ctx.owner.clone()]), ..Default::default() @@ -87,7 +88,7 @@ impl IamCpAccountApi { ) .await? .into_iter() - .map(|resp| resp.rel_rbum_item_code) + .map(|resp| resp.rel_rbum_set_cate_sys_code) .collect::>(); if cate_codes.is_empty() { return TardisResp::ok(vec![]); diff --git a/support/iam/src/console_passport/api/iam_cp_app_api.rs b/support/iam/src/console_passport/api/iam_cp_app_api.rs index a00872a51..6abb1eb0d 100644 --- a/support/iam/src/console_passport/api/iam_cp_app_api.rs +++ b/support/iam/src/console_passport/api/iam_cp_app_api.rs @@ -91,6 +91,7 @@ impl IamCpAppApi { ..Default::default() }, rel_rbum_item_disabled: Some(false), + table_rbum_set_cate_is_left: Some(true), rel_rbum_set_id: Some(set_id.clone()), rel_rbum_item_ids: Some(vec![ctx.owner.clone()]), ..Default::default() @@ -102,7 +103,7 @@ impl IamCpAppApi { ) .await? .into_iter() - .map(|resp| resp.rel_rbum_item_code) + .map(|resp| resp.rel_rbum_set_cate_sys_code) .collect::>(); if cate_codes.is_empty() { return TardisResp::ok(vec![]);