修改回调链接

development
温天培 2 years ago
parent b103d34c2a
commit 744725938b

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

@ -154,7 +154,7 @@
*/
"TenPayV3_CertPath": "#{TenPayV3_CertPath}#", //V3 API 使
"TenPayV3_CertSecret": "#{TenPayV3_CertSecret}#", //V3 API 使 MchId
"TenPayV3_TenpayNotify": "https://admin.gdzongzhi.com/Mini/v1/NotifyUrl", // http://YourDomainName/TenpayApiV3/PayNotifyUrl
"TenPayV3_TenpayNotify": "https://admin.gdzongzhi.com/api/Mini/NotifyUrl", // http://YourDomainName/TenpayApiV3/PayNotifyUrl
/*
* 1
* 2~/App_Data/cert/apiclient_key.pem App_Data
@ -163,7 +163,7 @@
"TenPayV3_SerialNumber": "#{TenPayV3_SerialNumber}#", //
"TenPayV3_ApiV3Key": "#{TenPayV3_APIv3Key}#", //APIv3
//TenPayV3_WxOpenTenpayNotify TenPayV3_TenpayNotify "WxOpen"
"TenPayV3_WxOpenTenpayNotify": "https://admin.gdzongzhi.com/Mini/v1/NotifyUrlWxOpen", //http://YourDomainName/TenpayV3/PayNotifyUrlWxOpen
"TenPayV3_WxOpenTenpayNotify": "https://admin.gdzongzhi.com/api/Mini/NotifyUrlWxOpen", //http://YourDomainName/TenpayV3/PayNotifyUrlWxOpen
//
"Component_Appid": "#{Component_Appid}#",

Loading…
Cancel
Save