修复缓存
Build docker and publish / build (20.15.1) (push) Successful in 7m26s

This commit is contained in:
2026-03-06 21:58:29 -08:00
parent 19932bb9f7
commit 4d913c1728
175 changed files with 437 additions and 12104 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ func (m *customUserModel) BatchDeleteUser(ctx context.Context, ids []int64, tx .
if len(tx) > 0 {
conn = tx[0]
}
return conn.Where("id in ?", ids).Find(&users).Error
return conn.Where("id in ?", ids).Preload("AuthMethods").Find(&users).Error
})
if err != nil {
return err