| | |
| | | public class Constant {
|
| | | public static boolean IS_TASK = false;
|
| | | // 外网环境
|
| | | public static boolean IS_OUTNET = false;
|
| | | public static boolean IS_OUTNET = true;
|
| | |
|
| | | public static boolean IS_TEST = true;
|
| | | public static boolean IS_TEST = false;
|
| | |
|
| | | public static int PAGE_SIZE = 20;
|
| | | public static int[] TASK_TYPE = { 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1008// 微信任务类型编号
|
| | | };
|
| | |
|
| | | |
| | | public final static String UIDAESKEY = "WW782ss@8*px/%2v";
|
| | |
|
| | | public final static String ADMINH5_AESKEY = "WW782Ss@0*px/,2v";
|
New file |
| | |
| | | package com.yeshi.fanli.util;
|
| | |
|
| | | public class VersionUtil {
|
| | |
|
| | | public static boolean greaterThan_1_5_40(String platform, String versionCode) {
|
| | | if ((("android".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 40))
|
| | | || (("ios".equalsIgnoreCase(platform) && Integer.parseInt(versionCode) >= 49)))
|
| | | return true;
|
| | | else
|
| | | return false;
|
| | | }
|
| | |
|
| | | }
|