🆕 #3077【小程序】增加openApi管理的接口支持
This commit is contained in:
@@ -209,9 +209,11 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
|
||||
@Override
|
||||
public String getPayBaseUrl() {
|
||||
if (this.getConfig().isUseSandboxEnv()) {
|
||||
if (StringUtils.isNotBlank(this.getConfig().getApiV3Key())) {
|
||||
throw new WxRuntimeException("微信支付V3 目前不支持沙箱模式!");
|
||||
}
|
||||
return this.getConfig().getPayBaseUrl() + "/xdc/apiv2sandbox";
|
||||
}
|
||||
|
||||
return this.getConfig().getPayBaseUrl();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user