This commit is contained in:
eric
2026-03-10 09:03:17 -05:00
parent 1ef2c612a9
commit eb33ed9360
4 changed files with 8 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ export interface PaymentConfig {
apiUrl: string;
provider: "zpay" | "xorpay";
zpaySubmitUrl: string;
/** 默认金额8.8 元 = 880 */
/** 默认金额88 元 = 8800 */
defaultAmount?: number;
/** nomadvip 专用接口路径 */
nomadvipPayPath: string;
@@ -56,7 +56,7 @@ export function getPaymentConfig(): PaymentConfig {
provider: (process.env.PAYMENT_PROVIDER as "zpay" | "xorpay") || "zpay",
zpaySubmitUrl:
process.env.ZPAY_SUBMIT_URL || "https://zpayz.cn/submit.php",
defaultAmount: 880,
defaultAmount: 8800,
nomadvipPayPath: "/nomadvip/payh5",
};
}