feat: 支持未登录用户统计
This commit is contained in:
@@ -13,7 +13,7 @@ public class UsageStatisticsAggregateRoot : FullAuditedAggregateRoot<Guid>
|
||||
{
|
||||
}
|
||||
|
||||
public UsageStatisticsAggregateRoot(Guid userId, string modelId)
|
||||
public UsageStatisticsAggregateRoot(Guid? userId, string modelId)
|
||||
{
|
||||
UserId = userId;
|
||||
ModelId = modelId;
|
||||
@@ -22,7 +22,7 @@ public class UsageStatisticsAggregateRoot : FullAuditedAggregateRoot<Guid>
|
||||
/// <summary>
|
||||
/// 用户id
|
||||
/// </summary>
|
||||
public Guid UserId { get; set; }
|
||||
public Guid? UserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 哪个模型
|
||||
|
||||
Reference in New Issue
Block a user