操作日志明细插入优化
This commit is contained in:
@@ -60,10 +60,7 @@ func AddOperateEvent(ctx *jxcontext.Context, accessUUID string) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
func AddOperateEventDetail(db *dao.DaoDB, ctx *jxcontext.Context, operateEventDetail *model.OperateEventDetail) (err error) {
|
||||
if ctx.GetUserName() == "jxadmin" {
|
||||
return err
|
||||
}
|
||||
func AddOperateEventDetail(db *dao.DaoDB, operateEventDetail *model.OperateEventDetail) (err error) {
|
||||
dao.Begin(db)
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
|
||||
Reference in New Issue
Block a user