重要:更新TsTime,excel2导出不使用tag

This commit is contained in:
xiangheng
2024-08-12 02:25:15 +08:00
parent 2b1a8ce035
commit fcaf6de2e3
25 changed files with 1102 additions and 171 deletions

View File

@@ -4,22 +4,22 @@ import "x_admin/core"
//MonitorWeb 错误收集error实体
type MonitorWeb struct {
Id int `gorm:"primarykey;comment:'uuid'" excel:"name:uuid;"` // uuid
Id int `gorm:"primarykey;comment:'uuid'"` // uuid
ProjectKey string `gorm:"comment:'项目key'" excel:"name:项目key;"` // 项目key
ProjectKey string `gorm:"comment:'项目key'"` // 项目key
ClientId string `gorm:"comment:'sdk生成的客户端id'" excel:"name:sdk生成的客户端id;"` // sdk生成的客户端id
ClientId string `gorm:"comment:'sdk生成的客户端id'"` // sdk生成的客户端id
EventType string `gorm:"comment:'事件类型'" excel:"name:事件类型;"` // 事件类型
EventType string `gorm:"comment:'事件类型'"` // 事件类型
Page string `gorm:"comment:'URL地址'" excel:"name:URL地址;"` // URL地址
Page string `gorm:"comment:'URL地址'"` // URL地址
Message string `gorm:"comment:'错误消息'" excel:"name:错误消息;"` // 错误消息
Message string `gorm:"comment:'错误消息'"` // 错误消息
Stack string `gorm:"comment:'错误堆栈'" excel:"name:错误堆栈;"` // 错误堆栈
Stack string `gorm:"comment:'错误堆栈'"` // 错误堆栈
ClientTime core.TsTime `gorm:"comment:'客户端时间'" excel:"name:客户端时间;"` // 客户端时间
ClientTime core.TsTime `gorm:"comment:'客户端时间'"` // 客户端时间
CreateTime core.TsTime `gorm:"autoCreateTime;comment:'创建时间'" excel:"name:创建时间;"` // 创建时间
CreateTime core.TsTime `gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
}