zhengyiming
2025-03-25 dca624a7e4c877dc4bfd8c496a6c2a6b29ad4b46
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: {