mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-09 18:10:45 +08:00
优化错误收集
This commit is contained in:
@@ -6,19 +6,18 @@ import (
|
||||
|
||||
// MonitorClient 监控-客户端信息实体
|
||||
type MonitorClient struct {
|
||||
Id int `gorm:"primarykey;comment:'uuid'"` // uuid
|
||||
ProjectKey string `gorm:"comment:'项目key'"` // 项目key
|
||||
ClientId string `gorm:"comment:'sdk生成的客户端id'"` // sdk生成的客户端id
|
||||
UserId string `gorm:"comment:'用户id'"` // 用户id
|
||||
Os string `gorm:"comment:'系统'"` // 系统
|
||||
Browser string `gorm:"comment:'浏览器'"` // 浏览器
|
||||
Country string `gorm:"comment:'国家'"` // 国家
|
||||
Province string `gorm:"comment:'省份'"` // 省份
|
||||
City string `gorm:"comment:'城市'"` // 城市
|
||||
Operator string `gorm:"comment:'电信运营商'"` // 电信运营商
|
||||
Ip string `gorm:"comment:'ip'"` // ip
|
||||
Width core.NullInt `gorm:"comment:'屏幕'"` // 屏幕
|
||||
Height core.NullInt `gorm:"comment:'屏幕高度'"` // 屏幕高度
|
||||
Id int `gorm:"primarykey;comment:'uuid'"` // uuid
|
||||
ProjectKey string `gorm:"comment:'项目key'"` // 项目key
|
||||
ClientId string `gorm:"comment:'sdk生成的客户端id'"` // sdk生成的客户端id
|
||||
UserId string `gorm:"comment:'用户id'"` // 用户id
|
||||
Os string `gorm:"comment:'系统'"` // 系统
|
||||
Browser string `gorm:"comment:'浏览器'"` // 浏览器
|
||||
Country string `gorm:"comment:'国家'"` // 国家
|
||||
Province string `gorm:"comment:'省份'"` // 省份
|
||||
City string `gorm:"comment:'城市'"` // 城市
|
||||
Operator string `gorm:"comment:'电信运营商'"` // 电信运营商
|
||||
Ip string `gorm:"comment:'ip'"` // ip
|
||||
|
||||
Ua string `gorm:"comment:'ua记录'"` // ua记录
|
||||
CreateTime core.NullTime `gorm:"autoCreateTime;comment:'创建时间'"` // 创建时间
|
||||
// ClientTime core.NullTime `gorm:"comment:'更新时间'"` // 更新时间
|
||||
|
Reference in New Issue
Block a user