feat: modify Features

pull/172/head
LiLittleCat 2 years ago
parent 1afc6675fb
commit c8d2c4a1c0
  1. 2
      data/features.json
  2. 20
      pom.xml
  3. 5
      src/main/java/com.lilittlecat/freechatgpt/Build.java
  4. 13
      src/main/java/com.lilittlecat/freechatgpt/Features.java

@ -1,7 +1,7 @@
{
"free": 2,
"free_quota": 1,
"gpt4_supported": 0.5,
"gpt4_supported": 1,
"more_than_chat": 0.5,
"login_required": -1,
"vpn_required": -1,

@ -31,16 +31,16 @@
<version>1.18.20</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.9.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-grid</artifactId>
<version>4.9.0</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.seleniumhq.selenium</groupId>-->
<!-- <artifactId>selenium-java</artifactId>-->
<!-- <version>4.9.0</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.seleniumhq.selenium</groupId>-->
<!-- <artifactId>selenium-grid</artifactId>-->
<!-- <version>4.9.0</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>

@ -0,0 +1,5 @@
package com.lilittlecat.freechatgpt;
public class Build {
}

@ -1,4 +1,4 @@
package com.lilittlecat.app;
package com.lilittlecat.freechatgpt;
import lombok.Getter;
@ -8,15 +8,16 @@ import lombok.Getter;
*/
@Getter
public enum Features {
FREE("free", "🆓", 2f),
FREE("free", "🎁", 2f),
FREE_QUOTA("free_quota", "🔓", 1f),
GPT4_SUPPORTED("gpt4_supported", "🧠", 0.5f),
MORE_THAN_CHAT("more_than_chat", "💬", 0.5f),
GPT4_SUPPORTED("gpt4_supported", "💪", 1f),
MORE_THAN_CHAT("more_than_chat", "🎶", 0.5f),
LOGIN_REQUIRED("login_required", "🔒", -1f),
VPN_REQUIRED("vpn_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);;
CHARGE_REQUIRED("charge_required", "💰", -2f),
COMMUNITY_RECOMMENDATION("community_recommendation", "🌟", 0.5f);
private final String value;
private final String label;
private final Float score;
Loading…
Cancel
Save