Browse Source

:construction_worker: 通用地址

lag 1 year ago
parent
commit
5eae868f92

+ 30 - 0
ghjg-item-common/src/main/java/com/shanghaichengdi/ghjgitem/enums/OutsideInterface.java

@@ -0,0 +1,30 @@
+package com.shanghaichengdi.ghjgitem.enums;
+
+import lombok.Getter;
+import lombok.Setter;
+
+/**
+ * @author gengaoliu
+ */
+@Getter
+public enum OutsideInterface {
+
+  /**
+   * 文件存储路径
+   */
+  DEMO("www.baidu.com","百度"),
+  GHJG_FILE_SERVICE("http://10.83.68.109:8080/ghjgWebService/","港航监管文件路径"),
+  GHJG_FILE_LOAD("D:/","港行监管文件加载磁盘路径");
+  /**
+   * 存储表url路径
+   */
+    @Setter private String urlString;
+
+    /** 存储表全称 */
+    @Setter private String describe;
+
+    OutsideInterface(String urlString, String describe) {
+    this.urlString = urlString;
+    this.describe = describe;
+  }
+}