mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-12-24 08:12:55 +08:00
重要:更新TsTime,excel2导出不使用tag
This commit is contained in:
@@ -8,20 +8,20 @@ import (
|
||||
|
||||
// MonitorProject 错误项目实体
|
||||
type MonitorProject struct {
|
||||
Id int `gorm:"primarykey;comment:'项目id'" excel:"name:项目id;"` // 项目id
|
||||
Id int `gorm:"primarykey;comment:'项目id'"` // 项目id
|
||||
|
||||
ProjectKey string `gorm:"comment:'项目uuid'" excel:"name:项目uuid;"` // 项目uuid
|
||||
ProjectKey string `gorm:"comment:'项目uuid'"` // 项目uuid
|
||||
|
||||
ProjectName string `gorm:"comment:'项目名称'" excel:"name:项目名称;"` // 项目名称
|
||||
ProjectName string `gorm:"comment:'项目名称'"` // 项目名称
|
||||
|
||||
ProjectType string `gorm:"comment:'项目类型go java web node php 等'" excel:"name:项目类型"` // 项目类型go java web node php 等
|
||||
ProjectType string `gorm:"comment:'项目类型go java web node php 等'"` // 项目类型go java web node php 等
|
||||
|
||||
IsDelete soft_delete.DeletedAt `gorm:"not null;default:0;softDelete:flag,DeletedAtField:DeleteTime;comment:'是否删除: 0=否, 1=是'"`
|
||||
|
||||
UpdateTime core.TsTime `gorm:"autoUpdateTime;comment:'更新时间'" excel:"name:更新时间;"` // 更新时间
|
||||
UpdateTime core.TsTime `gorm:"autoUpdateTime;comment:'更新时间'"` // 更新时间
|
||||
|
||||
CreateTime core.TsTime `gorm:"autoCreateTime;comment:'创建时间'" excel:"name:创建时间;"` // 创建时间
|
||||
CreateTime core.TsTime `gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
|
||||
|
||||
DeleteTime core.TsTime `gorm:"default:null;comment:'删除时间'" excel:"name:删除时间;"` // 删除时间
|
||||
DeleteTime core.TsTime `gorm:"default:null;comment:'删除时间'"` // 删除时间
|
||||
|
||||
}
|
||||
|
||||
@@ -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:'创建时间'"` // 创建时间
|
||||
|
||||
}
|
||||
|
||||
@@ -6,13 +6,13 @@ import (
|
||||
|
||||
// SystemLogSms 系统短信日志实体
|
||||
type SystemLogSms struct {
|
||||
Id int `json:"id" gorm:"primarykey;" excel:"name:id;"` // id
|
||||
Scene int `json:"scene" excel:"name:场景编号;"` // 场景编号
|
||||
Mobile string `json:"mobile" excel:"name:手机号码;"` // 手机号码
|
||||
Content string `json:"content" excel:"name:发送内容;"` // 发送内容
|
||||
Status int `json:"status" excel:"name:发送状态:[0=发送中, 1=发送成功, 2=发送失败];"` // 发送状态:[0=发送中, 1=发送成功, 2=发送失败]
|
||||
Results string `json:"results" excel:"name:短信结果;"` // 短信结果
|
||||
SendTime int `mapstructure:"send_time" excel:"name:发送时间;"` // 发送时间
|
||||
CreateTime core.TsTime `json:"CreateTime" gorm:"autoCreateTime;comment:'创建时间'" excel:"name:创建时间;"` // 创建时间
|
||||
UpdateTime core.TsTime `json:"UpdateTime" gorm:"autoUpdateTime;comment:'更新时间'" excel:"name:更新时间;"` // 更新时间
|
||||
Id int `json:"id" gorm:"primarykey;"` // id
|
||||
Scene int `json:"scene"` // 场景编号
|
||||
Mobile string `json:"mobile"` // 手机号码
|
||||
Content string `json:"content"` // 发送内容
|
||||
Status int `json:"status"` // 发送状态:[0=发送中, 1=发送成功, 2=发送失败]
|
||||
Results string `json:"results"` // 短信结果
|
||||
SendTime int `json:"send_time" mapstructure:"send_time"` // 发送时间
|
||||
CreateTime core.TsTime `json:"CreateTime" gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
|
||||
UpdateTime core.TsTime `json:"UpdateTime" gorm:"autoUpdateTime;comment:'更新时间'"` // 更新时间
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user