Constants.java
2.6 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
68
69
70
71
72
73
74
75
package com.bsth.common;
/**
*
* @ClassName: Constants
* @Description: TODO(常量类)
* @author PanZhao
* @date 2016年3月18日 下午11:06:53
*
*/
public class Constants {
/**
* 不需要拦截的资源
*/
public static final String LOGIN = "/user/login/**";
public static final String ORIGINAL_LOGIN_PAGE = "/login.html";
public static String LOGIN_PAGE = "/login.html";
public static final String ASSETS_URL = "/login_assets/**";
public static final String FAVICON_URL = "/favicon.ico";
public static final String LOGIN_FAILURE = "/user/loginFailure";
public static final String CAPTCHA = "/captcha.jpg";
// springboot manage health的检测url
public static final String ACTUATOR_MANAGEMENT_HEALTH = "/manage/health";
// 车辆数据同步url
public static final String VEHICLE_DATA_SYNC_URL = "/dataSync/vehicle/api/**";
//对外的营运数据接口
public static final String SERVICE_INTERFACE = "/companyService/**";
/**
* 线调部分子页面不做拦截,便于浏览器缓存
*/
public static final String XD_CHILD_PAGES = "/real_control_v2/**";
public static final String XD_REAL_GPS = "/gps/real/line";
//public static final String XD_TEMPS = "/pages/control/line/temps/**";
//车载网关上行接口
public static final String UPSTREAM_URL = "/control/upstream";
//rfid 上传入口
public static final String UP_RFID_URL = "/rfid/**";
public static final String SESSION_USERNAME = "sessionUserName";
public static final String COMPANY_AUTHORITYS = "cmyAuths";
public static final String STATION_AND_SECTION_COUNT = "/station/updateStationAndSectionCode";
public static final String OUT_URL = "/out/**";
public static final String DIFYINTER_URL = "/difyinter/**";
public static final String NOTICE_URL = "/notice/**";
public static final String PROFILE = "/profile/**";
/**
* 解除调度指令和班次的外键约束
*/
public static final String REMOVE_DIRECTIVE_SCH_FK = "update bsth_v_directive_60 set sch=NULL where sch=?";
/**
* 批量解除调度指令和班次的外键约束
*/
public static final String MULTI_REMOVE_DIRECTIVE_SCH_FK = "update bsth_v_directive_60 set sch=NULL where sch in ";
/**
* 批量解除子任务和班次的外键约束
*/
public static final String MULTI_REMOVE_CHILDTASK_SCH_FK = "update bsth_c_s_child_task set schedule=NULL where schedule in ";
public static final String WEAK_CIPHER = "weakCipher";
public static final String FILE_AUTH = "/.well-known/pki-validation/fileauth.txt";
public static final String SSO_TOKEN = "ssoToken";
public static final String RESOURCE_AUTHORITYS = "resourceAuthoritys";
}