zhengyiming
2025-03-11 f2025539d8bf4798b90a5ab8a47c5a379ab68e9b
apps/taro/src/utils/request/index.ts
@@ -49,7 +49,7 @@
  REDIRECT = 9,
}
// 与后端约定的响应数据格式
interface ResponseStructure {
export interface ResponseStructure {
  success: boolean;
  data: any;
  /**
@@ -94,7 +94,7 @@
  withCredentials: true,
};
const config: RequestConfig<ResponseStructure, IRequestOptions> = {
export const config: RequestConfig<ResponseStructure, IRequestOptions> = {
  ...AxiosOptions,
  errorConfig: {