refactor(trace): 前端 Result/DaxResult TS 类型移除 traceId

- web.d.ts Result 移除 traceId 字段(后端已不返回, 由 x-trace-id 响应头透传)
- unipay-request DaxResult 接口移除 traceId 字段
- DevelopTrade/DevelopGateway 的 traceId 展示已随 54350648 一并移除
This commit is contained in:
DaxPay Dev
2026-07-20 08:27:47 +08:00
parent 543506489a
commit d38356945b
2 changed files with 2 additions and 3 deletions

View File

@@ -23,7 +23,6 @@ export interface DaxResult<T = unknown> {
resTime?: string;
/** 请求ID(回显) */
reqId?: string;
traceId?: string;
}
function createUnipayClient(baseURL: string, options?: RequestClientOptions) {

View File

@@ -10,14 +10,14 @@ export interface PageParam {
/**
* 通用响应类
*
* traceId 不再通过响应体返回, 改由响应头 `x-trace-id` 透传, 用于排障关联。
*/
export interface Result<T = any> {
/** 响应码 */
code: number;
/** 响应消息 */
msg: string;
/** 追踪ID */
traceId: null | string | undefined;
/** 响应数据 */
data: T;
}