修复白名单数据库类型映射问题

This commit is contained in:
2025-11-28 18:35:33 +08:00
parent cb2a963a37
commit ab8873f2ea
4 changed files with 13 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ func ListResourceShort(c *fiber.Ctx) error {
do.Where(q.ResourceShort.As(q.Resource.Short.Name()).Expire.Lte(*req.ExpireBefore))
}
resource, err := q.Resource.Debug().Where(do).
resource, err := q.Resource.Where(do).
Joins(q.Resource.Short).
Order(q.Resource.CreatedAt.Desc()).
Offset(req.GetOffset()).