/** * 接口调用失败时的返回参数 */ interface FailedParams { /** * 错误信息 */ message: string; /** * 错误码 */ code: StatusCode; }