合并云商品分支到 master 并适配插件结构
This commit is contained in:
commit
1fa91a9cfb
15 files changed
+968
-48
No files matched your search
@@ -0,0 +1,36 @@
|
||||
namespace Store.Modules.CloudProduct.Dtos;
|
||||
|
||||
public class ViolationReasonDto
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public bool IsViolation { get; set; }
|
||||
}
|
||||
|
||||
public class ReportGoodsViolationItem
|
||||
{
|
||||
public long GoodsId { get; set; }
|
||||
/// <summary>原因名称,例如“出售假冒商品”;新名称默认仅记录字典,不判定违规。</summary>
|
||||
public string Reasons { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public class ReportGoodsViolationsResult
|
||||
{
|
||||
public long GoodsId { get; set; }
|
||||
/// <summary>存在违规记录且已完成索引下架时为 true,否则为 false。</summary>
|
||||
public bool IsOffShelf { get; set; }
|
||||
}
|
||||
|
||||
public class GoodsViolationStatus
|
||||
{
|
||||
public long GoodsId { get; set; }
|
||||
public bool IsViolation { get; set; }
|
||||
}
|
||||
|
||||
public class RemoveGoodsViolationsResult
|
||||
{
|
||||
public int RemovedCount { get; set; }
|
||||
public long[] RestoredGoodsIds { get; set; } = [];
|
||||
public long[] PendingRestoreGoodsIds { get; set; } = [];
|
||||
/// <summary>商品不存在、已删除或恢复期间再次被上报违规的编号。</summary>
|
||||
public long[] SkippedGoodsIds { get; set; } = [];
|
||||
}
|
||||
Reference in new issue
Block a user