/** 方法调用基础返回类型 */ export interface BaseResponse { /** 操作是否成功 */ success: boolean; /** 成功时返回的数据 */ data?: T; /** 错误时的错误信息 */ error?: string; }