操作日志查询增加错误,关键字,同步错误返回显示平台名

This commit is contained in:
苏尹岚
2020-02-03 11:49:14 +08:00
parent daabd0ed3f
commit 4439135bbd
14 changed files with 108 additions and 67 deletions

View File

@@ -10,6 +10,9 @@ type OperateEvent struct {
UserID string `orm:"column(user_id)" json:"userID"`
APIFunction string `orm:"column(api_function)" json:"apiFunction"`
JsonData string `orm:"size(3200)" json:"jsonData"`
ErrCode string `orm:"size(32)" json:"errCode"`
ErrMsg string `orm:"size(3200)" json:"errMsg"`
UseTime int `json:"useTime"`
}
func (v *OperateEvent) TableIndex() [][]string {