diff --git a/GDZZ.Application/Service/WXPay/WXPayService.cs b/GDZZ.Application/Service/WXPay/WXPayService.cs index 05079d8..7272690 100644 --- a/GDZZ.Application/Service/WXPay/WXPayService.cs +++ b/GDZZ.Application/Service/WXPay/WXPayService.cs @@ -124,13 +124,15 @@ namespace GDZZ.Application.Service.WXPay PayStatus = (int)PayStatusEnum.NotPaying }); + Console.WriteLine((int)authUserInput.Money * 100); + string sp_billno = $"{Config.SenparcWeixinSetting.TenPayV3_MchId}{SystemTime.Now:yyyyMMddHHmmss}{TenPayV3Util.BuildRandomStr(6)}"; string timeStamp = TenPayV3Util.GetTimestamp(); string nonceStr = TenPayV3Util.GetNoncestr(); TenPayV3UnifiedorderRequestData xmlDataInfo = new TenPayV3UnifiedorderRequestData(Config.SenparcWeixinSetting.WxOpenAppId, - Config.SenparcWeixinSetting.TenPayV3_MchId,null, sp_billno, + Config.SenparcWeixinSetting.TenPayV3_MchId,"余额充值", sp_billno, (int)authUserInput.Money * 100, "127.0.0.1", Config.SenparcWeixinSetting.TenPayV3_WxOpenTenpayNotify, TenPayV3Type.JSAPI, authUserInput.OpenID,