(url: string, config?: FullRequestConfig)
| 296 | |
| 297 | // GET request |
| 298 | public get<T = any>(url: string, config?: FullRequestConfig): Promise<T> { |
| 299 | return this.request({ ...config, method: 'GET', url }) |
| 300 | } |
| 301 | |
| 302 | // POST request |
| 303 | public post<T = any>(url: string, data?: any, config?: FullRequestConfig): Promise<T> { |