/** * Http请求服务 */ declare class HttpService { /** * GET请求 */ static get(url: string, params?: any, headers?: object): Promise; /** * POST请求 */ static post(url: string, body?: any, config?: any): Promise; /** * PATCH请求 */ static patch(url: string, body?: any, config?: any): Promise; /** * 处理响应体 */ static handleResponseBody: (body: any, tip?: boolean) => Promise; } export default HttpService;