Skip to content

Commit cbab0b0

Browse files
committed
[ohscript] 修改ohscript生成随机uuid方式
1 parent 02fef53 commit cbab0b0

File tree

1 file changed

+1
-1
lines changed
  • framework/ohscript/src/main/java/modelengine/fit/ohscript/util

1 file changed

+1
-1
lines changed

framework/ohscript/src/main/java/modelengine/fit/ohscript/util/Tool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public static void grammarError(String info) {
9696
* @return 返回生成的UUID
9797
*/
9898
public static String uuid() {
99-
return UUIDUtil.fastUuid();
99+
return String.valueOf(newId());
100100
}
101101

102102
/**

0 commit comments

Comments
 (0)