| | |
| | | public static final String ZBOM = "ZBOM" ; |
| | | public static final String ZBOM_IAM_APPKEY = "ZBOM_IAM_APPKEY"; |
| | | public static final String ZBOM_IAM_APPID = "ZBOM_IAM_APPID"; |
| | | public static final String ZBOM_PAD_INTERFACE_KEY = "ZBOM_PAD_INTERFACE_KEY"; |
| | | public static final String USER_CARD_HEADER_IMG ="USER_CARD_HEADER_IMG" ; |
| | | public static final String USER_CARD_PHONE_IMG ="USER_CARD_PHONE_IMG" ; |
| | | public static final String USER_CARD_ADDR_IMG ="USER_CARD_ADDR_IMG" ; |
| | |
| | | public static final String SHARES_FILE = "SHARES_FILE"; |
| | | public static final String NEWS_FILE = "NEWS_FILE"; |
| | | public static final String USER_LABEL = "USER_LABEL"; |
| | | public static final String USERS_MANAGE_CODE = "USERS_MANAGE_CODE"; |
| | | //发送会议开始 定时提前多少分钟发送 |
| | | |
| | | public static final String SYSTEM ="SYSTEM"; |
| | |
| | | } |
| | | |
| | | public static String desensitizationPhone(String phone) { |
| | | return phone.replaceAll("(d{3})d{4}(d{4})", "$1****$2"); |
| | | if (phone == null || phone.length() != 11) { |
| | | return phone; |
| | | } |
| | | return phone.substring(0, 3) + "****" + phone.substring(7); |
| | | } |
| | | |
| | | |
| | |
| | | // 正式版为 "release",体验版为 "trial",开发版为 "develop"。默认是正式版。 |
| | | String env_version = "trial"; |
| | | body.put("env_version", env_version); |
| | | if(env_version.equals("release")){ |
| | | if(env_version.equals("release")&&StringUtils.isNotBlank(page)){ |
| | | body.put("page", page); |
| | | } |
| | | // body.put("page", "pages/index/index"); |
| | | // 透明,根据你的场景自行设置body参数 |
| | | body.put("is_hyaline", true); |
| | | OkHttpClient client = new OkHttpClient().newBuilder().build(); |