refactor: 支付宝 providerKey 改为 alipay

This commit is contained in:
erio
2026-03-05 01:52:59 +08:00
parent 55756744a1
commit 8746f474d1
4 changed files with 9 additions and 9 deletions

View File

@@ -14,8 +14,8 @@ import { getEnv } from '@/lib/config';
import type { AlipayTradeQueryResponse, AlipayTradeRefundResponse, AlipayTradeCloseResponse } from './types';
export class AlipayProvider implements PaymentProvider {
readonly name = 'alipay-direct';
readonly providerKey = 'alipaydirect';
readonly name = 'alipay';
readonly providerKey = 'alipay';
readonly supportedTypes: PaymentType[] = ['alipay'];
readonly defaultLimits = {
alipay: { singleMax: 1000, dailyMax: 10000 },