签入版本
This commit is contained in:
@@ -72,6 +72,7 @@ type LoginLogItem struct {
|
|||||||
Error string `json:"error"` // 错误信息
|
Error string `json:"error"` // 错误信息
|
||||||
CreateUser string `json:"createUser"` // 创建人
|
CreateUser string `json:"createUser"` // 创建人
|
||||||
CreateTime *gtime.Time `json:"createTime"` // 创建时间
|
CreateTime *gtime.Time `json:"createTime"` // 创建时间
|
||||||
|
UpdateTime *gtime.Time `json:"updateTime"` // 更新时间
|
||||||
}
|
}
|
||||||
|
|
||||||
// LoginLogPageReq 登录日志分页请求
|
// LoginLogPageReq 登录日志分页请求
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ type OperLogItem struct {
|
|||||||
Error string `json:"error"` // 错误信息
|
Error string `json:"error"` // 错误信息
|
||||||
CreateUser string `json:"createUser"` // 操作人
|
CreateUser string `json:"createUser"` // 操作人
|
||||||
CreateTime *gtime.Time `json:"createTime"` // 创建时间
|
CreateTime *gtime.Time `json:"createTime"` // 创建时间
|
||||||
|
UpdateTime *gtime.Time `json:"updateTime"` // 更新时间
|
||||||
}
|
}
|
||||||
|
|
||||||
// OperLogPageReq 操作日志分页请求
|
// OperLogPageReq 操作日志分页请求
|
||||||
|
|||||||
@@ -146,5 +146,6 @@ func (s *sLoginLog) toItem(ctx context.Context, r gdb.Record) v1.LoginLogItem {
|
|||||||
StatusText: DictGetText(ctx, loginLogSerializeMaps["status"], r["status"].Int()),
|
StatusText: DictGetText(ctx, loginLogSerializeMaps["status"], r["status"].Int()),
|
||||||
Error: r["error"].String(),
|
Error: r["error"].String(),
|
||||||
CreateTime: r["create_time"].GTime(),
|
CreateTime: r["create_time"].GTime(),
|
||||||
|
UpdateTime: r["update_time"].GTime(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user