Constant.java
1.78 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package cn.fw.rp.common.constant;
/**
* @author 张志伟
* @date 2018-01-27 14:19
* @description
*/
public class Constant {
/**
* 产品名称:云通信隐私保护产品,开发者无需替换
*/
public static final String PRODUCT = "Dyplsapi";
/**
* 营销活动消息通知 topic
*/
public static final String MKT_PUBLISH_TITLE = "MKT_WS_MESSAGE";
/**
* 产品域名,开发者无需替换
*/
public static final String DOMAIN = "dyplsapi.aliyuncs.com";
/**
* 访问ID
*/
public static final String ACCESS_KEY_ID = "LTAIU865lo41xCTI";
/**
* 访问ID对应的KEY
*/
public static final String ACCESS_KEY_SECRET = "C5ilXwesfPV9KtF1V74IQsaXMgR4wC";
/**
* 更新类型
*/
public static final String A = "updateNoA";
public static final String B = "updateNoB";
public static final String T = "updateExpire";
/**
* 此处替换成您所需的消息类型名称
*/
public static final String MESSAGE_TYPE = "SecretReport";
/**
* 在云通信页面开通相应业务消息后,就能在页面上获得对应的queueName
*/
public static final String QUEUE_NAME = "Alicom-Queue-1294201731075657-SecretReport";
/**
* 成功的返回码
*/
public static final String SUCCESS = "OK";
/**
* websocket config
*/
public static class WebSocketConfig {
/**
* ws endpoint
*/
public static final String WS_ENDPOINT = "marketing";
/**
* app destination prefix
*/
public static final String APP_DESTINATION_PREFIX = "/app";
/**
* simple broker destination prefix
*/
public static final String BROKER_DESTINATION_PREFIX = "/activity";
}
}