mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-16 05:36:36 +08:00
实现基本的集群DNS列表、设置、简单数据同步
This commit is contained in:
@@ -60,10 +60,15 @@ func (this *ProviderAction) RunGet(params struct {
|
||||
dataUpdatedTime = timeutil.FormatTime("Y-m-d H:i:s", domain.DataUpdatedAt)
|
||||
}
|
||||
domainMaps = append(domainMaps, maps.Map{
|
||||
"id": domain.Id,
|
||||
"name": domain.Name,
|
||||
"isOn": domain.IsOn,
|
||||
"dataUpdatedTime": dataUpdatedTime,
|
||||
"id": domain.Id,
|
||||
"name": domain.Name,
|
||||
"isOn": domain.IsOn,
|
||||
"dataUpdatedTime": dataUpdatedTime,
|
||||
"countRoutes": len(domain.Routes),
|
||||
"countServerRecords": domain.ServerRecords,
|
||||
"allServersResolved": domain.AllServersResolved,
|
||||
"countClusterRecords": domain.ClusterRecords,
|
||||
"allClustersResolved": domain.AllClustersResolved,
|
||||
})
|
||||
}
|
||||
this.Data["domains"] = domainMaps
|
||||
|
||||
Reference in New Issue
Block a user