支付宝请求添加

This commit is contained in:
xiaoyu 2023-03-30 14:11:36 +08:00
parent 17db78d34b
commit 6761b75e96

View File

@ -79,8 +79,11 @@ public class AlipayKit {
((AlipayTradeOrderSettleRequest)req).putOtherTextParam("app_auth_token", isvsubMchParams.getAppAuthToken()); ((AlipayTradeOrderSettleRequest)req).putOtherTextParam("app_auth_token", isvsubMchParams.getAppAuthToken());
} else if(req instanceof AlipayTradeCloseRequest) { } else if(req instanceof AlipayTradeCloseRequest) {
((AlipayTradeCloseRequest)req).putOtherTextParam("app_auth_token", isvsubMchParams.getAppAuthToken()); ((AlipayTradeCloseRequest)req).putOtherTextParam("app_auth_token", isvsubMchParams.getAppAuthToken());
} else if(req instanceof AlipayTradeOrderSettleQueryRequest) {
((AlipayTradeOrderSettleQueryRequest)req).putOtherTextParam("app_auth_token", isvsubMchParams.getAppAuthToken());
} }
// 服务商信息 // 服务商信息
ExtendParams extendParams = new ExtendParams(); ExtendParams extendParams = new ExtendParams();
extendParams.setSysServiceProviderId(isvParams.getPid()); extendParams.setSysServiceProviderId(isvParams.getPid());