UNPKG

koishi-plugin-pay-tool

Version:

适用于Koishi框架的易支付工具插件,支持订单创建、查询、退款、分配等功能

20 lines (19 loc) 516 B
import { Schema } from 'koishi'; export interface Config { adminQQ: string; callbackRoute: string; devMode: boolean; activeQueryEnabled: boolean; initialWaitTime?: number; pollingInterval?: number; orderExpirationTime?: number; apiUrl: string; merchantPid: string; merchantKey: string; productName: string; paymentMethods: Record<string, string>; defaultPayment: string; notifyUrl: string; returnUrl: string; } export declare const schema: Schema<Config>;