Jelajahi Sumber

Merge branch 'test' of http://110.188.24.182:10023/Fengwo/hotline into test

tangjiang 1 bulan lalu
induk
melakukan
1b31475e0f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/Hotline.Share/Dtos/Snapshot/OrderDto.cs

+ 1 - 1
src/Hotline.Share/Dtos/Snapshot/OrderDto.cs

@@ -1439,7 +1439,7 @@ public class GetOrderSnapshotPublishItemsOutDto
     /// <summary>
     /// 公开状态
     /// </summary>
-    public string? PublishStatusTxt => PublishStatus?.GetDescription() ?? "";
+    public string? PublishStatusTxt =>  PublishStatus.HasValue && PublishStatus.Value == EOrderSnapshotPublishStatus.Agree ? "公开" : PublishStatus?.GetDescription() ?? "";
 
     /// <summary>
     /// 信件状态