|
@@ -664,6 +664,22 @@ namespace Hotline.Share.Dtos.Order
|
|
|
return overDays;
|
|
|
}
|
|
|
|
|
|
+ public OrderDto DataMask()
|
|
|
+ {
|
|
|
+ if (this.IsSecret == false) return this;
|
|
|
+ var maskString = "***";
|
|
|
+ this.Contact = maskString;
|
|
|
+ this.FromName = maskString;
|
|
|
+ this.FromGender = EGender.Unknown;
|
|
|
+ this.FromPhone = maskString;
|
|
|
+
|
|
|
+ this.FullAddress = maskString;
|
|
|
+ this.Address = maskString;
|
|
|
+ this.City = maskString;
|
|
|
+ this.Street = maskString;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 中心意见
|
|
|
/// </summary>
|
|
@@ -708,7 +724,8 @@ namespace Hotline.Share.Dtos.Order
|
|
|
/// 退回截至时间
|
|
|
/// </summary>
|
|
|
public DateTime? SendBackAuditEndTime { get; set; }
|
|
|
- }
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
public class UpdateOrderDto : AddOrderDto
|
|
|
{
|