diff --git a/Services/Hncore.Pass.Sells/Controllers/TaoBaoController.cs b/Services/Hncore.Pass.Sells/Controllers/TaoBaoController.cs index dd59262..5b2d32b 100644 --- a/Services/Hncore.Pass.Sells/Controllers/TaoBaoController.cs +++ b/Services/Hncore.Pass.Sells/Controllers/TaoBaoController.cs @@ -34,7 +34,7 @@ namespace Hncore.Pass.Live.Controllers } /// - /// 查询 + /// 锟斤拷询 /// /// /// @@ -78,19 +78,19 @@ namespace Hncore.Pass.Live.Controllers }; var title = new List(){ - new ExcelTitle { Property = "Created", Title = "创建日期" ,Format=(val)=>((DateTime) val).ToString("yyyy-MM-dd hh:mm:ss")}, - new ExcelTitle { Property = "Tid", Title = "订单号" }, - new ExcelTitle { Property = "SellerNick", Title = "销售人" }, - new ExcelTitle { Property = "BuyerNick", Title = "购买人" }, - new ExcelTitle { Property = "Phone", Title = "购买人手机号" }, - new ExcelTitle { Property = "Price", Title = "单价" }, - new ExcelTitle { Property = "Num", Title = "数量" }, - new ExcelTitle { Property = "TotalFee", Title = "订单金额" }, - new ExcelTitle { Property = "Payment", Title = "实付金额" } + new ExcelTitle { Property = "CreateDate", Title = "鏀粯鏃堕棿" ,Format=(val)=>((DateTime) val).ToString("yyyy-MM-dd HH:mm:ss")}, + new ExcelTitle { Property = "Tid", Title = "璁㈠崟鍙" }, + new ExcelTitle { Property = "SellerNick", Title = "浜у搧" }, + new ExcelTitle { Property = "BuyerNick", Title = "璐拱浜" }, + new ExcelTitle { Property = "Phone", Title = "鐐硅瘽" }, + new ExcelTitle { Property = "Price", Title = "鍗曚环" }, + new ExcelTitle { Property = "Num", Title = "鏁伴噺" }, + new ExcelTitle { Property = "TotalFee", Title = "璁㈠崟閲戦" }, + new ExcelTitle { Property = "Payment", Title = "瀹炰粯閲戦" } }; var fileBytes = ExcelHelper.ExportListToExcel(data, title); - var fileName = $"{DateTime.Now.ToString("yyyyMMdd")}淘宝订单明细.xlsx"; + var fileName = $"{DateTime.Now.ToString("yyyyMMdd")}娣樺疂璁㈠崟.xlsx"; Response.Headers.Add("X-Suggested-Filename", fileName.UrlEncode()); return File(fileBytes, "application/octet-stream", fileName); diff --git a/Services/Hncore.Pass.Vpn/Controllers/ProductOrderController.cs b/Services/Hncore.Pass.Vpn/Controllers/ProductOrderController.cs index 8b21552..1378b9f 100644 --- a/Services/Hncore.Pass.Vpn/Controllers/ProductOrderController.cs +++ b/Services/Hncore.Pass.Vpn/Controllers/ProductOrderController.cs @@ -345,7 +345,7 @@ namespace Hncore.Pass.Vpn.Controllers }; var title = new List(){ - new ExcelTitle { Property = "CreateTime", Title = "鍒涘缓鏃ユ湡" , Format=(val)=>((DateTime) val).ToString("yyyy-MM-dd hh:mm:ss") }, + new ExcelTitle { Property = "UpdateTime", Title = "鏀粯鏃ユ湡" , Format=(val)=>((DateTime) val).ToString("yyyy-MM-dd HH:mm:ss") }, new ExcelTitle { Property = "OrderNo", Title = "璁㈠崟鍙" }, new ExcelTitle { Property = "OrderType", Title = "绫诲瀷", Format=(val)=>((OrderType)val).GetEnumDisplayName() }, new ExcelTitle { Property = "UserName", Title = "鐢ㄦ埛" },