mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:43:26 +08:00
【优化】微信建立支付请求失败增加后台日志处理,方便后台查询构建支付失败的原因。
This commit is contained in:
@@ -15,6 +15,7 @@ using CoreCms.Net.Auth.HttpContextUser;
|
||||
using CoreCms.Net.Caching.AccressToken;
|
||||
using CoreCms.Net.Configuration;
|
||||
using CoreCms.Net.IServices;
|
||||
using CoreCms.Net.Loging;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
using CoreCms.Net.Model.ViewModels.UI;
|
||||
using CoreCms.Net.Utility.Extensions;
|
||||
@@ -250,6 +251,7 @@ namespace CoreCms.Net.Services
|
||||
jm.status = false;
|
||||
jm.msg = "微信建立支付请求失败";
|
||||
//jm.otherData = response;
|
||||
NLogUtil.WriteAll(NLog.LogLevel.Error, LogType.Web, "微信支付失败", JsonConvert.SerializeObject(response));
|
||||
}
|
||||
return jm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user