| | |
| | | public static final String HK_ROOTORG_CODE ="HK_ROOTORG_CODE" ; |
| | | public static final String HK_ROOTORG_NAME ="HK_ROOTORG_NAME" ; |
| | | public static final String REDIS_TOKEN_KEY = "token_"; |
| | | public static final String CUSTOMER = "CUSTOMER"; |
| | | public static final String BUSINESS = "BUSINESS"; |
| | | |
| | | |
| | | //被拜访人信息校验方式(0手机号单独校验 1手机号和姓名组合校验) |
| | | public static final String ZBOM_CRM_AUTH_API_KEY = "ZBOM_CRM_AUTH_API_KEY"; |
| | | public static final String BEVISITED_USER_VALID = "BEVISITED_USER_VALID"; |
| | | public static final String LW_BEVISITED_USER_VALID = "LW_BEVISITED_USER_VALID"; |
| | | public static final String SELECT_DOORS_VISIT_REQUIRED = "SELECT_DOORS_VISIT_REQUIRED"; |
| | |
| | | public static final String FILE_DIR = ""; |
| | | public static final String INITIAL_PASSWORD = "INITIAL_PASSWORD"; |
| | | public static final String VALIDATE_VISIT = "VALIDATE_VISIT"; |
| | | public static final String PLATFORM = "mp-weixin"; |
| | | |
| | | // 访客来访配置 |
| | | public static final String VISIT_CONFIG = "VISIT_CONFIG"; |
| | |
| | | public static final String WX_PLATFORM = "WX_PLATFORM"; |
| | | public static final String ZBOM_ZHONGTAI_API_URL = "ZBOM_ZHONGTAI_API_URL"; |
| | | public static final String WX_PLATFORM_ACCESS_TOKEN = "WX_PLATFORM_ACCESS_TOKEN"; |
| | | public static final String ZBOM_ENCODE_URL = "ZBOM_ENCODE_URL"; |
| | | public static final String WX_PLATFORM_APPID = "WX_PLATFORM_APPID"; |
| | | public static final String WX_PLATFORM_SECRET = "WX_PLATFORM_SECRET"; |
| | | public static final String WX_PLATFORM_AUDIT_VISIT = "WX_PLATFORM_AUDIT_VISIT"; |
| | |
| | | public static final String WX_SECRET_PERSONNEL = "WX_SECRET_PERSONNEL"; |
| | | |
| | | |
| | | public interface CrmSources{ |
| | | |
| | | |
| | | String SOURCE_DKXD = "DKXD";// 代客下单(DKXD) |
| | | String SOURCE_LYSJ = "LYSJ";// 零元设计(LYSJ) |
| | | String SOURCE_ZBSJSQ = "ZBSJSQ";// 志邦设计申请(ZBSJSQ) |
| | | String SOURCE_ZBDXFX = "ZBDXFX";// 志邦短信分享(ZBDXFX) |
| | | String SOURCE_ZBLLJL = "ZBLLJL";// 志邦浏览记录分享(ZBLLJL) |
| | | String SOURCE_ZBWDSC = "ZBWDSC";// 志邦我的收藏分享(ZBWDSC) |
| | | String SOURCE_ZBLYSJ = "ZBLYSJ";// 志邦零元设计(ZBLYSJ) |
| | | String SOURCE_ZBLDX = "ZBLDX";// 志邦老带新(ZBLDX) |
| | | String SOURCE_ZBFGCS = "ZBFGCS";// 志邦风格测试(ZBFGCS) |
| | | String SOURCE_ZBJX = "DSLX22";// 志邦家选(ZBJX) |
| | | } |
| | | |
| | | public interface RedisKeys { |
| | | String IMPORTING_MEMBER ="IMPORTING_MEMBER"; |
| | | String IMPORTING_SHOP ="IMPORTING_SHOP"; |
| | | String IMPORTING_USERS ="IMPORTING_USERS"; |
| | | String IAM_APPID ="IAM_APPID"; |
| | | String ZBOM_CRM_API_KEY ="ZBOM_CRM_API_KEY"; |
| | | String ZBOM_CRM_AUTH_API_KEY ="ZBOM_CRM_AUTH_API_KEY"; |
| | | String ZBOM_CRM_API_URL ="ZBOM_CRM_API_URL"; |
| | | String ZBOM_ENCODE_URL ="ZBOM_ENCODE_URL"; |
| | | String ZBOM_SMS_API_KEY ="ZBOM_SMS_API_KEY"; |
| | | String ZBOM_ZHONGTAI_API_URL ="ZBOM_ZHONGTAI_API_URL"; |
| | | String ZBOM_SMS_API_URL ="ZBOM_SMS_API_URL"; |
| | |
| | | int otherDeal = 4;//他人已处理 |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 根据配置处理房屋户型信息 |
| | | * @param layout |
| | | * @return |
| | | */ |
| | | public static String getHouseLayout(String layout){ |
| | | if(StringUtils.isBlank(layout)){ |
| | | return null; |
| | | } |
| | | String [] arr = layout.split("-"); |
| | | StringBuffer stringBuffer = new StringBuffer(); |
| | | for (int i = 0; i < arr.length; i++) { |
| | | if(i==0){ |
| | | stringBuffer.append( i + "室"); |
| | | }else if(i==1){ |
| | | stringBuffer.append( i + "厅"); |
| | | }else if(i==2){ |
| | | stringBuffer.append( i + "厨"); |
| | | }else if(i==3){ |
| | | stringBuffer.append( i + "卫"); |
| | | }else if(i==4){ |
| | | stringBuffer.append( i + "阳"); |
| | | }else { |
| | | break; |
| | | } |
| | | |
| | | } |
| | | return stringBuffer.toString(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取车牌类型信息 |
| | | * |