This commit is contained in:
eric
2026-05-09 18:22:08 -05:00
parent 05610e48b8
commit e4cd2a991e
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ import { queryXorPayOrderStatus } from "@/app/lib/xorpayStatus";
import { queryZPayOrderStatus } from "@/app/lib/zpayStatus"; import { queryZPayOrderStatus } from "@/app/lib/zpayStatus";
const getDefaultTotalFee = () => const getDefaultTotalFee = () =>
getPaymentConfig().defaultAmount ?? Number(process.env.PAYMENT_DEFAULT_AMOUNT) ?? 8800; getPaymentConfig().defaultAmount ?? Number(process.env.PAYMENT_DEFAULT_AMOUNT) ?? 18800;
function parsePayPriceToCents(payPrice: unknown): number | null { function parsePayPriceToCents(payPrice: unknown): number | null {
if (payPrice == null) return null; if (payPrice == null) return null;

View File

@@ -107,7 +107,7 @@ export function getPaymentConfig(): PaymentConfig {
zpaySubmitUrl: zpaySubmitUrl:
process.env.ZPAY_SUBMIT_URL || "https://zpayz.cn/submit.php", process.env.ZPAY_SUBMIT_URL || "https://zpayz.cn/submit.php",
/** 支付价格 188 元=18800 分 */ /** 支付价格 188 元=18800 分 */
defaultAmount: Number(process.env.PAYMENT_DEFAULT_AMOUNT) || 18800, defaultAmount: Number(process.env.PAYMENT_DEFAULT_AMOUNT) || 28800,
nomadvipPayPath: "/nomadvip/payh5", nomadvipPayPath: "/nomadvip/payh5",
}; };
} }