diff --git a/data/features.json b/data/features.json new file mode 100644 index 0000000..e087348 --- /dev/null +++ b/data/features.json @@ -0,0 +1,11 @@ +{ + "free": 2, + "free_quota": 1, + "gpt4_supported": 0.5, + "more_than_chat": 0.5, + "login_required": -1, + "vpn_required": -1, + "api_key_required": -1, + "follow_on_wechat_required": -1, + "community_recommendation": 0.5 +} \ No newline at end of file diff --git a/data/websites.json b/data/websites.json new file mode 100644 index 0000000..0a51ba1 --- /dev/null +++ b/data/websites.json @@ -0,0 +1,6 @@ +{ + "websites": { + "normal": [], + "abnormal": [] + } +} \ No newline at end of file diff --git a/src/main/java/com.lilittlecat/app/Features.java b/src/main/java/com.lilittlecat/app/Features.java new file mode 100644 index 0000000..5066b35 --- /dev/null +++ b/src/main/java/com.lilittlecat/app/Features.java @@ -0,0 +1,30 @@ +package com.lilittlecat.app; + +import lombok.Getter; + +/** + * @author LiLittleCat + * @since 2023/5/7 + */ +@Getter +public enum Features { + FREE("free", "🆓", 2f), + FREE_QUOTA("free_quota", "🔓", 1f), + GPT4_SUPPORTED("gpt4_supported", "🧠", 0.5f), + MORE_THAN_CHAT("more_than_chat", "💬", 0.5f), + LOGIN_REQUIRED("login_required", "🔒", -1f), + VPN_REQUIRED("vpn_required", "🌐", -1f), + API_KEY_REQUIRED("api_key_required", "🔑", -1f), + FOLLOW_ON_WECHAT_REQUIRED("follow_on_wechat_required", "👀", -1f), + COMMUNITY_RECOMMENDATION("community_recommendation", "🌟", 0.5f);; + private final String value; + private final String label; + private final Float score; + + Features(String value, String label, Float score) { + this.value = value; + this.label = label; + this.score = score; + } + +}