Commit c15ab4ba authored by xiaoyu's avatar xiaoyu
Browse files

优化支付宝服务商沙箱环境获取redirectUrl地址

parent 36aeafff
......@@ -60,6 +60,9 @@ public class AlipayChannelUserService implements IChannelUserService {
throw new BizException("服务商支付宝接口没有配置!");
}
appId = isvParams.getAppId();
if(isvParams.getSandbox() != null && isvParams.getSandbox() == CS.YES){
oauthUrl = AlipayConfig.SANDBOX_OAUTH_URL;
}
}else{
//获取商户配置信息
AlipayNormalMchParams normalMchParams = (AlipayNormalMchParams) configContextQueryService.queryNormalMchParams(mchAppConfigContext.getMchNo(), mchAppConfigContext.getAppId(), getIfCode());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment