Merge pull request '更新 Admin.NET/Admin.NET.Core/Service/Wechat/SysWechatPayService.cs' (#371) from coolcalf/Admin.NET.Pro:v2 into v2
Reviewed-on: https://code.adminnet.top/Admin.NET/Admin.NET.Pro/pulls/371
This commit is contained in:
commit
39ee166179
@ -92,7 +92,7 @@ public class SysWechatPayService : IDynamicApiController, ITransient
|
|||||||
SysWechatPay wechatPay = null;
|
SysWechatPay wechatPay = null;
|
||||||
if (!string.IsNullOrEmpty(input.OrderId))
|
if (!string.IsNullOrEmpty(input.OrderId))
|
||||||
{
|
{
|
||||||
wechatPay = await _sysWechatPayRep.GetFirstAsync(u => u.OrderId == input.OrderId && u.OrderStatus == input.OrderStatus);
|
wechatPay = await _sysWechatPayRep.GetFirstAsync(u => u.OrderId == input.OrderId && u.OrderStatus == input.OrderStatus && input.Total == u.Total);
|
||||||
if (wechatPay != null)
|
if (wechatPay != null)
|
||||||
{
|
{
|
||||||
outTradeNumber = wechatPay.OutTradeNumber;
|
outTradeNumber = wechatPay.OutTradeNumber;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user