😎代码优化
This commit is contained in:
parent
bda4a683ea
commit
b05d692919
@ -5,7 +5,6 @@
|
|||||||
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
|
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
|
||||||
|
|
||||||
using Furion.Logging.Extensions;
|
using Furion.Logging.Extensions;
|
||||||
using NewLife;
|
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace Admin.NET.Core.Service;
|
namespace Admin.NET.Core.Service;
|
||||||
@ -545,7 +544,7 @@ public class SysWechatPayService : IDynamicApiController, ITransient
|
|||||||
{
|
{
|
||||||
await this.GetPayInfoFromWechat(input.OutTradeNumber);
|
await this.GetPayInfoFromWechat(input.OutTradeNumber);
|
||||||
}
|
}
|
||||||
catch (Exception ex) { }
|
catch { }
|
||||||
throw Oops.Oh<Exception>($"JSAPI 退款申请失败(状态码:{response.GetRawStatus()},错误代码:{response.ErrorCode},错误描述:{response.ErrorMessage})");
|
throw Oops.Oh<Exception>($"JSAPI 退款申请失败(状态码:{response.GetRawStatus()},错误代码:{response.ErrorCode},错误描述:{response.ErrorMessage})");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -721,7 +720,7 @@ public class SysWechatPayService : IDynamicApiController, ITransient
|
|||||||
/// 根据支付Id获取退款信息列表 🔖
|
/// 根据支付Id获取退款信息列表 🔖
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="transactionId"></param>
|
/// <param name="transactionId"></param>
|
||||||
/// <param name="outTradeNumber"><</param>
|
/// <param name="outTradeNumber"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[DisplayName("根据支付Id获取退款信息列表")]
|
[DisplayName("根据支付Id获取退款信息列表")]
|
||||||
public async Task<List<SysWechatRefund>> GetRefundList([FromQuery] string transactionId, [FromQuery] string outTradeNumber)
|
public async Task<List<SysWechatRefund>> GetRefundList([FromQuery] string transactionId, [FromQuery] string outTradeNumber)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user