jiangping
2023-10-09 5e66e66dc2561c86893d483cab57128ebbd9bc5b
server/services/src/main/java/com/doumee/core/constants/Constants.java
@@ -28,8 +28,14 @@
    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{
@@ -45,6 +51,12 @@
        int fail = 3;
        int over = 4;
    }
    public interface goodsorderPayStatus{
        int waitPay =0;
        int pay =1;
    }
public static  String getUUID(){
      return UUID.randomUUID().toString().replace("-","");
}
@@ -99,6 +111,7 @@
  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){