UNPKG

hy-app

Version:

fix: 修复text和tag换掉

18 lines (15 loc) 410 B
export interface HttpRequestConfig extends UniNamespace.RequestOptions { /** 请求基地址 */ baseURL?: string; } export interface HttpResponse<T = any> { config: HttpRequestConfig; statusCode: number; cookies: Array<string>; data: T; errMsg: string; header: AnyObject; } export interface HttpInterceptorManager<V, E = V> { onFulfilled?: (config: V) => Promise<V> | V; }