fix: remove dead zpay/client, fix zpay notify route type imports

This commit is contained in:
erio
2026-03-01 14:27:49 +08:00
parent 9c80d519b1
commit dadf7b228f
7 changed files with 35 additions and 166 deletions

View File

@@ -1,12 +1,12 @@
import { NextRequest } from 'next/server';
import { handlePaymentNotify } from '@/lib/order/service';
import type { ZPayNotifyParams } from '@/lib/zpay/types';
import type { EasyPayNotifyParams } from '@/lib/easy-pay/types';
export async function GET(request: NextRequest) {
try {
const searchParams = request.nextUrl.searchParams;
const params: ZPayNotifyParams = {
const params: EasyPayNotifyParams = {
pid: searchParams.get('pid') || '',
name: searchParams.get('name') || '',
money: searchParams.get('money') || '',