| | |
| | | public static final String FILE_DIR ="FILE_DIR" ; |
| | | public static final String PRIVATE_KEY = "PRIVATE_KEY"; |
| | | public static String REDIS_DEBUG_STR="test_"; |
| | | public interface MqttTopic{ |
| | | //开锁 |
| | | String openLock = "OPENLOCK"; |
| | | //关闭锁头 |
| | | String closeLock = "CLOSELOCK"; |
| | | } |
| | | |
| | | /** |
| | | /** |
| | | * 数据权限范围:0只看自己;1只看自己所在校区;2看全部校区;3看指定校区(多选) |
| | | */ |
| | | public interface PermissionType{ |
| | |
| | | int fail = 3; |
| | | int over = 4; |
| | | } |
| | | public interface goodsorderPayStatus{ |
| | | int waitPay =0; |
| | | int pay =1; |
| | | } |
| | | |
| | | |
| | | public static String getUUID(){ |
| | | return UUID.randomUUID().toString().replace("-",""); |
| | | } |
| | |
| | | public static final Integer ZERO = 0 ; |
| | | public static final Integer ONE = 1 ; |
| | | public static final Integer TWO = 2 ; |
| | | public static final Integer THREE = 3 ; |
| | | |
| | | public static int formatIntegerNum(Integer num){ |
| | | if(num == null){ |