|
|
@ -136,7 +136,7 @@ namespace GDZZ.Application.Service.WXPay
|
|
|
|
Config.SenparcWeixinSetting.TenPayV3_MchId,"余额充值", sp_billno,
|
|
|
|
Config.SenparcWeixinSetting.TenPayV3_MchId,"余额充值", sp_billno,
|
|
|
|
pMoney,
|
|
|
|
pMoney,
|
|
|
|
"127.0.0.1",
|
|
|
|
"127.0.0.1",
|
|
|
|
Config.SenparcWeixinSetting.TenPayV3_WxOpenTenpayNotify, TenPayV3Type.JSAPI, authUserInput.OpenID,
|
|
|
|
Config.SenparcWeixinSetting.TenPayV3_TenpayNotify, TenPayV3Type.JSAPI, authUserInput.OpenID,
|
|
|
|
Config.SenparcWeixinSetting.TenPayV3_Key, nonceStr, null, null, null, null, payTake.OrderId.ToString());
|
|
|
|
Config.SenparcWeixinSetting.TenPayV3_Key, nonceStr, null, null, null, null, payTake.OrderId.ToString());
|
|
|
|
Console.WriteLine(xmlDataInfo.PackageRequestHandler.ParseXML());
|
|
|
|
Console.WriteLine(xmlDataInfo.PackageRequestHandler.ParseXML());
|
|
|
|
var result = TenPayOldV3.Unifiedorder(xmlDataInfo);//调用统一订单接口
|
|
|
|
var result = TenPayOldV3.Unifiedorder(xmlDataInfo);//调用统一订单接口
|
|
|
@ -164,7 +164,7 @@ namespace GDZZ.Application.Service.WXPay
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost]
|
|
|
|
[HttpPost]
|
|
|
|
[Route("api/Mini/v1/NotifyUrl")]
|
|
|
|
[Route("/Mini/NotifyUrl")]
|
|
|
|
[UnifyResult(typeof(string))]
|
|
|
|
[UnifyResult(typeof(string))]
|
|
|
|
[AllowAnonymous]
|
|
|
|
[AllowAnonymous]
|
|
|
|
public async Task<string> NotifyUrl()
|
|
|
|
public async Task<string> NotifyUrl()
|
|
|
|