稻花香仓库初始化
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.seeyon.apps.daohuaxiangSys.jkts.constants;
|
||||
|
||||
|
||||
public enum DaohuaxiangConstants {
|
||||
|
||||
plugin("daohuaxiang", "插件ID"),
|
||||
url("http://localhost", "接口地址");
|
||||
|
||||
DaohuaxiangConstants(String defaultValue, String description) {
|
||||
this.defaultValue = defaultValue;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
private String defaultValue;
|
||||
private String description;
|
||||
|
||||
public String getDefaultValue() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public static String getPluginId() {
|
||||
return plugin.defaultValue;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user