| | |
| | | public static final String FALSE = "f"; |
| | | public static final String TOKEN ="TOKEN" ; |
| | | public static final String SYSTEM ="SYSTEM" ; |
| | | public static final String MINI_PROGRAMME ="MINI_PROGRAMME" ; |
| | | public static final String IMG_DIR = "IMG_DIR"; |
| | | public static final String FILE_DIR ="FILE_DIR" ; |
| | | public static final String PRIVATE_KEY = "PRIVATE_KEY"; |
| | | public static final String MINI_PROGRAMME ="MINI_PROGRAMME" ; |
| | | public static String REDIS_DEBUG_STR="test_"; |
| | | public interface MqttTopic{ |
| | | //开锁 |
| | | String openLock = "OPENLOCK"; |
| | | //关闭锁头 |
| | | String closeLock = "CLOSELOCK"; |
| | | } |
| | | |
| | | /** |
| | | /** |
| | | * 数据权限范围:0只看自己;1只看自己所在校区;2看全部校区;3看指定校区(多选) |
| | | */ |
| | | public interface PermissionType{ |
| | |
| | | int all =2; |
| | | int partful = 3; |
| | | } |
| | | public interface goodsorderStatus{ |
| | | int waitPay =0; |
| | | int pay =1; |
| | | int cancel =2; |
| | | 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 interface RedisKeys { |
| | | public static final String submission_period_key = "sp_"; |
| | | } |
| | |
| | | public static final String RESOURCE_PATH = "RESOURCE_PATH"; |
| | | public static final String UPLOAD_FILE = "UPLOAD_FILE"; |
| | | public static final String AVATAR_FILE = "AVATAR_FILE"; |
| | | //用户协议 |
| | | public static final String AGREEMENT = "AGREEMENT"; |
| | | //计价规则 |
| | | public static final String PRICING_RULE = "PRICING_RULE"; |
| | | //小程序主题名称 |
| | | public static final String PROJECT_NAME = "PROJECT_NAME"; |
| | | //小程序服务端电话 |
| | | public static final String SERVER_PHONE = "SERVER_PHONE"; |
| | | //小程序租赁流程视频 |
| | | public static final String RENT_TIPS_VIDEO = "RENT_TIPS_VIDEO"; |
| | | //租赁须知 |
| | | public static final String LEASE_NOTICE = "LEASE_NOTICE"; |
| | | //租赁须知图片 |
| | | public static final String LEASE_NOTICE_URL = "LEASE_NOTICE_URL"; |
| | | //押金 |
| | | public static final String RENT_DEPOSIT = "RENT_DEPOSIT"; |
| | | //温馨提示 |
| | | public static final String TIPS = "TIPS"; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | public static final String FILES_DIR = "FILES_DIR"; |
| | | public static final String SCRATCH_REDIRECT_URL = "SCRATCH_REDIRECT_URL"; |
| | | 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){ |