vince
2023-11-09 29bd44e8648aa2df488f94e7a947ed6839a33877
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.fzzy.gateway.hx2023;
 
import org.apache.commons.lang.math.RandomUtils;
 
/**
 * 常量
 */
public class ScConstant {
 
    public static String API_URL_AUTH = "${auth}/authorize/login";
 
 
    public static String MESSAGE_TYPE_REPORT_PROPERTY = "REPORT_PROPERTY";
 
    public static String MESSAGE_TYPE_INVOKE_FUNCTION = "INVOKE_FUNCTION";
 
    /**
     * 粮情采指令
     */
    public static String FUNCTION_getTAndRHInfo = "getTAndRHInfo";
 
 
    public static String getMessageId() {
        return System.currentTimeMillis() + RandomUtils.nextInt(1000) + "";
    }
 
 
    public static int CODE_200 = 200;
}