org.iartisan.runtime.web.contants.ChannelEnum Maven / Gradle / Ivy
The newest version!
package org.iartisan.runtime.web.contants;
/**
* api 请求渠道
*/
public enum ChannelEnum {
PC("PC", "PC"),
APP("APP", "APP"),
H5("H5", "H5"),
MINIAPP("MiniApp", "miniapp");
private String value;
private String text;
private ChannelEnum(String value) {
this.value = value;
}
private ChannelEnum(String value, String text) {
this.value = value;
this.text = text;
}
public String getValue() {
return this.value;
}
public String getText() {
return this.text;
}
}