mirror of
https://github.com/34892002/edgeKey.git
synced 2026-05-07 23:57:02 +08:00
15 lines
389 B
TypeScript
15 lines
389 B
TypeScript
import { createOrder } from "../../../modules/order/service";
|
|
import type { PaymentProvider } from "../../../modules/payment/types";
|
|
|
|
export async function onCreateOrder(input: {
|
|
productId: number;
|
|
quantity: number;
|
|
paymentProvider: PaymentProvider;
|
|
paymentChannel?: string;
|
|
contactType: "EMAIL";
|
|
contactValue: string;
|
|
buyerNote?: string;
|
|
}) {
|
|
return createOrder(input);
|
|
}
|