lcl 2 лет назад
Родитель
Сommit
1e7b56acf8
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      AppStart/Tables/MqOrder.cs
  2. 1 1
      Util/Utils.cs

+ 1 - 1
AppStart/Tables/MqOrder.cs

@@ -43,7 +43,7 @@ namespace MySystem
         public DateTime? sendDate { get; set; }
 
         //支付时间
-        public DateTime? payDate { get; set; }
+        public string payDate { get; set; }
 
         //邮政编码
         public string postalCode { get; set; }

+ 1 - 1
Util/Utils.cs

@@ -305,7 +305,7 @@ namespace MySystem
                 refundStatus = order.RefundStatus,
                 payMode = order.PayMode,
                 sendDate = order.SendDate,
-                payDate = order.PayDate,
+                payDate = order.PayDate == null ? "" : order.PayDate.Value.ToString("yyyy-MM-ddTHH:mm:ss"),
                 postalCode = order.PostalCode,
                 address = order.Address,
                 areas = order.Areas,