diff --git a/Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatPayService.cs b/Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatPayService.cs
index 04dd1969..a977263c 100644
--- a/Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatPayService.cs
+++ b/Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatPayService.cs
@@ -38,10 +38,10 @@ public class SysWechatPayService : IDynamicApiController, ITransient
///
private WechatTenpayClient CreateTenpayClient()
{
- var cerFilePath = _wechatPayOptions.MerchantCertificatePrivateKey;
+ var cerFilePath = App.WebHostEnvironment.ContentRootPath + _wechatPayOptions.MerchantCertificatePrivateKey;
if (!File.Exists(cerFilePath))
- throw Oops.Oh("商户证书文件不存在:" + cerFilePath);
+ Log.Warning("商户证书文件不存在:" + cerFilePath);
var tenpayClientOptions = new WechatTenpayClientOptions()
{