对接微信支付

This commit is contained in:
2026-07-01 22:41:49 +08:00
parent b78ef8798c
commit ff4622ff6c
14 changed files with 389 additions and 19 deletions
@@ -7,6 +7,14 @@ export class WechatDisabledProvider implements IWechatProvider {
return false;
}
isPayEnabled() {
return false;
}
getMchId() {
return '';
}
private disabled(): never {
throw new NotImplementedException('FEATURE_DISABLED');
}
@@ -34,4 +42,8 @@ export class WechatDisabledProvider implements IWechatProvider {
createJsapiPrepay() {
return this.disabled();
}
parsePayNotification() {
return this.disabled();
}
}