云库增加 AI识图,缓存,我的云库收藏增加安全标志

调用外部API 扣费
This commit is contained in:
chfei committed 2026-11-06 19:25:36 +08:00
1 parent 7c29e57623
commit 150e8644b7
49 files changed
+1069 -28

No files matched your search

@@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations;
namespace Store.Modules.CloudProduct.Dtos;
/// <summary>单张商品图片,使用 multipart/form-data 上传。</summary>
public sealed class InspectImageRequest
{
[Required] public string UserName { get; set; } = "";
/// <summary>客户端指定的 32 位十六进制 MD5 缓存键,大小写均可。</summary>
[Required] public string Md5 { get; set; } = "";
/// <summary>图片原始字节的 Base64 字符串,不含 Data URL 前缀。</summary>
[Required] public string Image { get; set; } = "";
}
///// <summary>在当前登录用户和指定平台内按商品 ID 批量查询。</summary>
//public sealed class QueryProductSafetyRequest
//{
// [Required] public string UserName { get; set; } = "";
// [Required] public string[] ProductIds { get; set; } = [];
//}
//public sealed record ProductSafetyDto(string ProductId, bool IsSafe);