云库增加 AI识图,缓存,我的云库收藏增加安全标志
调用外部API 扣费
This commit is contained in:
1 parent
7c29e57623
commit
150e8644b7
49 files changed
+1069
-28
No files matched your search
@@ -0,0 +1,17 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace Store.Modules.CloudProduct.Entities;
|
||||
|
||||
/// <summary>跨用户复用的图片识别数据,仅存储成功识别结果。</summary>
|
||||
[Table(Name = "image_analysis_cache")]
|
||||
public sealed class ImageAnalysisCache
|
||||
{
|
||||
/// <summary>客户端指定的 MD5 缓存键,统一保存为 32 位小写十六进制。</summary>
|
||||
[Column(IsPrimary = true, StringLength = 32)]
|
||||
public string CacheKey { get; set; } = "";
|
||||
/// <summary>模型识别结果的 JSON 字符串数组,空数组表示未识别到文字或品牌。</summary>
|
||||
[Column(DbType = "longtext")]
|
||||
public string RecognitionResult { get; set; } = "";
|
||||
/// <summary>缓存最近更新时间,UTC。</summary>
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user