import { OpenAPIHono } from '@hono/zod-openapi';
import createPaymentRoute from './payment/create.mt.js';
import paymentCallbackRoute from './payment/callback.mt.js';
import paymentStatusRoute from './payment/status.mt.js';

// 支付模块主路由 - 多租户版本
export const PaymentMtRoutes = new OpenAPIHono()
  .route('/payment', createPaymentRoute)
  .route('/payment/callback', paymentCallbackRoute)
  .route('/payment/status', paymentStatusRoute);

// 导出路由配置，用于集成到主应用
export const paymentMtRoutesExport = {
  '/api/v1': PaymentMtRoutes
};