Skip to content

Commit

Permalink
feat: 配置列表支持显示配置描述字段 #179
Browse files Browse the repository at this point in the history
  • Loading branch information
heqingpan committed Dec 8, 2024
1 parent 700c7f4 commit 9b51ce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ pub struct ConfigInfoDto {
pub data_id: Arc<String>,
pub content: Option<Arc<String>>,
pub md5: Option<Arc<String>>,
pub desc: Option<Arc<String>>,
}

#[derive(Debug, Serialize, Deserialize, Default, Clone)]
Expand Down Expand Up @@ -554,6 +555,7 @@ impl ConfigActor {
tenant: item.tenant.clone(),
group: item.group.clone(),
data_id: item.data_id.clone(),
desc: value.desc.clone(),
//md5:Some(value.md5.clone()),
//content:Some(value.content.clone()),
..Default::default()
Expand Down

0 comments on commit 9b51ce9

Please sign in to comment.