fix: wxpay_direct supportedTypes 修正,避免与易支付 wxpay 冲突
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -23,9 +23,9 @@ import type { WxpayNotifyPayload, WxpayNotifyResource } from './types';
|
||||
export class WxpayProvider implements PaymentProvider {
|
||||
readonly name = 'wxpay-direct';
|
||||
readonly providerKey = 'wxpay';
|
||||
readonly supportedTypes: PaymentType[] = ['wxpay'];
|
||||
readonly supportedTypes: PaymentType[] = ['wxpay_direct'];
|
||||
readonly defaultLimits = {
|
||||
wxpay: { singleMax: 1000, dailyMax: 10000 },
|
||||
wxpay_direct: { singleMax: 1000, dailyMax: 10000 },
|
||||
};
|
||||
|
||||
async createPayment(request: CreatePaymentRequest): Promise<CreatePaymentResponse> {
|
||||
|
||||
Reference in New Issue
Block a user