Files
wxSend/src/main/java/cn/van333/wxsend/util/SourceForQLUtil.java
2023-11-28 17:03:17 +08:00

30 lines
670 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package cn.van333.wxsend.util;
/**
* @author Leo
* @version 1.0
* @create 2023/10/09 0009 下午 02:48
* @description
*/
public class SourceForQLUtil {
private static final String QH = "QH";
private static final String QH_UBUNTU = "QH_UBUNTU";
public static final String XZJ_UBUNTU = "XZJ_UBUNTU";
public static String transferSource(String source){
if (source.equals(QH)){
return "群晖";
}else if (source.equals(QH_UBUNTU)){
return "群晖-Ubuntu";
}else if (source.equals(XZJ_UBUNTU)){
return "小主机-Ubuntu";
}else {
return "未知";
}
}
}