Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhangbo1_wd
2024-04-30 10:01:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
73ca62fd6e02bbf37580c4fb6089979f4063de0d
73ca62fd
1 parent
c7efaeda
TraceID取值优化 【replace】
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/commons/wdKit/src/main/ets/utils/DeviceUtil.ets
sight_harmony/commons/wdKit/src/main/ets/utils/DeviceUtil.ets
View file @
73ca62f
...
...
@@ -73,6 +73,6 @@ export class DeviceUtil {
* 客户端日志链路追踪traceid生成:在每个请求头加上参数Key:EagleEye-TraceID ,value为32位生成随机值
*/
static getRandomUUIDForTraceID(): string {
return util.generateRandomUUID().toUpperCase().replace(
'-'
, '')
return util.generateRandomUUID().toUpperCase().replace(
/-/g
, '')
}
}
...
...
Please
register
or
login
to post a comment