import { AnyFunction } from '@4a/http'; export type Item = Record; export interface Options { url: string; desKey: string; private: string; customer_code: string; axiosConfig?: any; someError?: AnyFunction; } export interface Response { code: string; message: string; out_trade_no: string; tran_amt: string; tran_time: string; sign: string; } export interface TopResponse { result: string; resultMsg: string; data: T; }