/*
 * @Author: your name
 * @Date: 2021-06-23 22:55:07
 * @LastEditTime: 2021-06-24 23:57:20
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \Mina_B_T\miniprogram\utils\type.d.ts
 */

interface responseOptionsType<T = any> {
	errcode?: number
	errmsg?: string
	data?: T
	[name: string]: any
}
type responseOptions<T = any> = responseOptionsType<T> | boolean | string;
interface requestOptionsType<T> {
	url: string
	data?: T | any
	type?: string
	[name: string]: any
	success?: Function
	fail?: Function
}