's'
This commit is contained in:
@@ -106,7 +106,7 @@ export async function POST(request: NextRequest) {
|
||||
const apiUrl = payConfig.apiUrl.replace(/\/$/, "");
|
||||
const user_id = String(body?.user_id || "").trim();
|
||||
const return_url = String(body?.return_url || "").trim();
|
||||
const total_fee = Number(body?.total_fee) || 18800;
|
||||
const total_fee = Number(body?.total_fee) || 180;
|
||||
const type = String(body?.type || "vip");
|
||||
const channel = String(body?.channel || "alipay");
|
||||
const device = String(body?.device || "pc");
|
||||
|
||||
@@ -146,7 +146,7 @@ export default function Home() {
|
||||
redirectToPay({
|
||||
user_id: userId,
|
||||
return_url: returnUrl,
|
||||
total_fee: 18800,
|
||||
total_fee: 180,
|
||||
type: "vip",
|
||||
channel,
|
||||
device,
|
||||
|
||||
Reference in New Issue
Block a user