💥 Switch all id to uuid

This commit is contained in:
2025-05-14 20:03:47 +08:00
parent aeeed24290
commit 9576870373
53 changed files with 765 additions and 24171 deletions

View File

@ -41,7 +41,7 @@ public class CloudFile : ModelBase
public int UsedCount { get; set; } = 0;
[JsonIgnore] public Account.Account Account { get; set; } = null!;
public long AccountId { get; set; }
public Guid AccountId { get; set; }
}
public enum CloudFileSensitiveMark

View File

@ -55,7 +55,7 @@ public class FileService(
case "image":
stream.Position = 0;
// We still need ImageSharp for blurhash calculation
using (var imageSharp = await SixLabors.ImageSharp.Image.LoadAsync<Rgba32>(stream))
using (var imageSharp = await Image.LoadAsync<Rgba32>(stream))
{
var blurhash = Blurhasher.Encode(imageSharp, 3, 3);