import { NextResponse } from 'next/server'; export async function GET() { const config = { paymentMethods: { wechat: { enabled: true, qrCode: "/images/wechat-pay.png", account: "卡若", appId: process.env.TENCENT_APP_ID || "1251077262", // From .env or default // 敏感信息后端处理,不完全暴露给前端 }, alipay: { enabled: true, qrCode: "/images/alipay.png", account: "卡若", appId: process.env.ALIPAY_ACCESS_KEY_ID || "LTAI5t9zkiWmFtHG8qmtdysW", // Using Access Key as placeholder ID }, usdt: { enabled: true, network: "TRC20", address: process.env.USDT_WALLET_ADDRESS || "TWeq9xxxxxxxxxxxxxxxxxxxx", exchangeRate: 7.2 }, paypal: { enabled: false, email: process.env.PAYPAL_CLIENT_ID || "", exchangeRate: 7.2 } }, marketing: { partyGroup: { url: "https://soul.cn/party", liveCodeUrl: "https://soul.cn/party-live", qrCode: "/images/party-group-qr.png" }, banner: { text: "每日早上6-9点,Soul派对房不见不散", visible: true } }, authorInfo: { name: "卡若", description: "私域运营与技术公司主理人", liveTime: "06:00-09:00", platform: "Soul" }, system: { version: "1.0.0", maintenance: false } }; return NextResponse.json(config); }