gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
39 lines (38 loc) • 926 B
TypeScript
import { Request } from '../../utils';
import { type StyleValue } from 'vue';
export interface PayDisCountInterface {
desc: string;
amount: number;
serialNo: string;
}
export interface MiniappPayProps {
rootStyle?: StyleValue;
rootClass?: string;
mobile: string;
userCode: string;
prodId: string;
prodName: string;
prodPeriod: number;
prodPrice: number;
prodType: string;
orderType: string;
merchantId: string;
issueId?: string;
orderDesc?: string;
remark?: string;
recommendor?: string;
specifyLink?: string;
discountINfo?: PayDisCountInterface[];
successPath: string;
failPath: string;
appName?: string;
isDoc?: boolean;
}
export interface MiniappPaySlots {
default?(props: Record<string, never>): any;
}
export interface MiniappPayEmits {
}
export interface MiniappPayExpose {
}
export declare const request: Request<any>;