更新日志信息

This commit is contained in:
yuguojian 2025-01-14 15:10:34 +08:00
parent 91324cd225
commit 7c6e1ba3a8

4
log.go
View File

@ -12,10 +12,10 @@ const (
type LogInfo struct { type LogInfo struct {
InfoType LogInfoType `json:"info_type"` // 类型 InfoType LogInfoType `json:"info_type"` // 类型
ID int `json:"id"` // ID订单ID商品ID商品SKUID之类的id ID int `json:"id"` // ID订单ID商品ID商品SKUID之类的id
Operator interface{} `json:"operator"` // 操作人 Operator interface{} `json:"operator"` // 操作人商家用户对象admin对象或者是系统关闭订单消费队列等
Title string `json:"title"` // 标题,做什么事情 Title string `json:"title"` // 标题,做什么事情
Param interface{} `json:"param"` // 参数,请求参数,函数、方法就是参数 Param interface{} `json:"param"` // 参数,请求参数,函数、方法就是参数
Result interface{} `json:"result"` // 结果,返回值 Result interface{} `json:"result"` // 结果,返回值
Err error `json:"err"` // 错误 ErrStr string `json:"err_str"` // 错误信息json转义error没有自动存储需要手动转义
At time.Time `json:"at"` // 记录时间 At time.Time `json:"at"` // 记录时间
} }