Update soul-content project

This commit is contained in:
卡若
2025-12-29 14:01:37 +08:00
commit 087849d509
1112 changed files with 401606 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import { paymentService } from '../../../services/paymentService';
import { connectDB } from '../../../lib/db';
export async function POST(req) {
await connectDB();
const { orderId, gateway } = await req.json();
const result = await paymentService.pay(orderId, gateway);
return Response.json({ success: true, result });
}