管理端全部功能跑通
This commit is contained in:
34
EdgeAPI/internal/db/models/httpdns_runtime_log_model.go
Normal file
34
EdgeAPI/internal/db/models/httpdns_runtime_log_model.go
Normal file
@@ -0,0 +1,34 @@
|
||||
package models
|
||||
|
||||
// HTTPDNSRuntimeLog 运行日志
|
||||
type HTTPDNSRuntimeLog struct {
|
||||
Id uint64 `field:"id"` // ID
|
||||
ClusterId uint32 `field:"clusterId"` // 集群ID
|
||||
NodeId uint32 `field:"nodeId"` // 节点ID
|
||||
Level string `field:"level"` // 级别
|
||||
Type string `field:"type"` // 类型
|
||||
Module string `field:"module"` // 模块
|
||||
Description string `field:"description"` // 详情
|
||||
Count int64 `field:"count"` // 次数
|
||||
RequestId string `field:"requestId"` // 请求ID
|
||||
CreatedAt uint64 `field:"createdAt"` // 创建时间
|
||||
Day string `field:"day"` // YYYYMMDD
|
||||
}
|
||||
|
||||
type HTTPDNSRuntimeLogOperator struct {
|
||||
Id any // ID
|
||||
ClusterId any // 集群ID
|
||||
NodeId any // 节点ID
|
||||
Level any // 级别
|
||||
Type any // 类型
|
||||
Module any // 模块
|
||||
Description any // 详情
|
||||
Count any // 次数
|
||||
RequestId any // 请求ID
|
||||
CreatedAt any // 创建时间
|
||||
Day any // YYYYMMDD
|
||||
}
|
||||
|
||||
func NewHTTPDNSRuntimeLogOperator() *HTTPDNSRuntimeLogOperator {
|
||||
return &HTTPDNSRuntimeLogOperator{}
|
||||
}
|
||||
Reference in New Issue
Block a user