| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- package cn.com.goldenwater.dcproj.constValue;
- import java.util.HashMap;
- import java.util.Map;
- public class CommonLabel {
- public final static String channel = "channel";
- /**
- * 用于数据初始化
- */
- public final static String INIT_DATA = "0";
- /**
- * 系统token
- */
- public final static String ACCESS_TOKEN = "accessToken";
- /**
- * 用户id
- */
- public final static String PERSID = "persId";
- /**
- * 前端会给你传一个tabType (0,全部,不做处理,1当前数据,2历史数据)
- */
- public final static String TAB_TYPE = "0";
- /**
- * 机构id
- */
- public final static String ORGId = "orgId";
- /**
- * 无权限提示
- */
- public final static String NO_PREMISSION = "no permission";
- /**
- * 同步用户到activiti标识
- */
- public static final String ACTIVITI = "activiti";
- /**
- * 同步用户登录标识,同步后信息需要返回公司方便公司数据统计
- */
- public static final String SEND_TO_CENTER = "sendToCenter";
- public static final String SEND_TO_UPDATE = "sendToUpdate";
- public static final String SEND_TO_START = "sendToStart";
- public static final String SEND_TO_RUN = "sendToRun";
- public static final String SEND_TO_WEI_XIN = "sendToWeiXin";//发送微信聊天记录;
- public static final String SYS_NAME = "省级督查";
- private static Map<String, String> areaMap = new HashMap<>();
- static {
- areaMap.put("黄河流域", "001010");
- areaMap.put("长江流域", "001009");
- areaMap.put("珠江流域", "001013");
- areaMap.put("海河流域", "001012");
- areaMap.put("松花江流域", "001014");
- areaMap.put("淮河流域", "001011");
- areaMap.put("太湖流域", "001015");
- }
- public static Map<String, String> getAreaMap() {
- return areaMap;
- }
- public static final String badStr = "'|and|exec|execute|insert|select|delete|update|count|drop|mid|master|truncate|" +
- "char|declare|sitename|net user|xp_cmdshell|;|-|+|,|like'|dual|" +
- "table|from|grant|use|group_concat|column_name|" +
- "information_schema.columns|table_schema|union|where|order|by|count|" +
- "chr|mid|master|or|--|like|(|//|/|%|#|frame|style|etc|expression|script|>|..";
- }
|