chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
// IotChannelStatusCache 资源通道表状态缓存
|
||||
type IotChannelStatusCache struct {
|
||||
ChannelId int64 `json:"channelId"`
|
||||
ConnectTime int64 `json:"connectTime"` // 连接时间戳(秒)
|
||||
}
|
||||
|
||||
// 数据库变动更新广播消息 obj{table_name,pk,type:add/edit/del,data:{}}
|
||||
type BroadcastDbChgCache struct {
|
||||
TableName string `json:"table_name"` // 表名
|
||||
PK []int64 `json:"pk"` // 主键
|
||||
Type string `json:"type"` // 类型:add/edit/del
|
||||
Data map[string]interface{} `json:"data"` // 变动数据,只需要包含主要字段数据
|
||||
}
|
||||
Reference in New Issue
Block a user