前后端一致修复

This commit is contained in:
linwenxiang committed 2021-02-19 16:50:57 +08:00
1 parent a4f8b11925
commit e04b5559bd
19 files changed
+176 -84

No files matched your search

+2 -2
View File
@@ -97,7 +97,7 @@ func (e *SysLoginLog) RemoveSysLoginLog(d *dto.SysLoginLogById, c common.ActiveR
msgID := e.MsgID
db := e.Orm.Model(&data).
Where(d.GetId()).Delete(c)
Where(d.Ids).Delete(c)
if db.Error != nil {
err = db.Error
log.Errorf("MsgID[%s] Delete error: %s", msgID, err)
@@ -108,4 +108,4 @@ func (e *SysLoginLog) RemoveSysLoginLog(d *dto.SysLoginLogById, c common.ActiveR
return err
}
return nil
}
}