Skip to content

Home > sic-util > author_traceId

author_traceId() function

生成TraceId

Signature:

typescript
author_traceId: (origin: string, url: string) => string

Parameters

Parameter

Type

Description

origin

string

请求源(请求发起方)

url

string

请求url

**Returns:**

string

  • traceId,例如 "os-os-1d677771-4e85-460d-b669-682077a5067f"

Released under the MIT License.