diff --git a/CoreCms.Net.Services/Pay/WeChatPayServices.cs b/CoreCms.Net.Services/Pay/WeChatPayServices.cs index d7a27886652d3128de88a907d3997e45ec9c348a..c586cea338ff40e7d4c3771c8949852d42e657ea 100644 --- a/CoreCms.Net.Services/Pay/WeChatPayServices.cs +++ b/CoreCms.Net.Services/Pay/WeChatPayServices.cs @@ -105,7 +105,7 @@ namespace CoreCms.Net.Services var request = new WeChatPayUnifiedOrderRequest { - Body = entity.payTitle.Length > 127 ? entity.payTitle[..125] : entity.payTitle, + Body = entity.payTitle.Length > 50 ? entity.payTitle[..50] : entity.payTitle, OutTradeNo = entity.paymentId, TotalFee = Convert.ToInt32(entity.money * 100), SpBillCreateIp = entity.ip,