src/main/java/com/fzzy/gateway/hx2023/ScConstant.java
@@ -1,5 +1,7 @@ package com.fzzy.gateway.hx2023; import org.apache.commons.lang.math.RandomUtils; /** * 常量 */ @@ -8,5 +10,13 @@ public static String API_URL_AUTH = "${auth}/authorize/login"; public static String MESSAGE_TYPE_REPORT_PROPERTY = "REPORT_PROPERTY"; public static String getMessageId() { return System.currentTimeMillis() + RandomUtils.nextInt(1000) + ""; } public static int CODE_200 = 200; }