This repository has been archived by the owner on Jul 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修改软件包位置 整理代码 /api/reLogin -> /api/getLoginCount
- Loading branch information
Showing
17 changed files
with
60 additions
and
63 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/main/java/catx/feitu/coze_discord_bridge/Config/ConfigBotsData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/catx/feitu/coze_discord_bridge/Config/ConfigData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/java/catx/feitu/coze_discord_bridge/Config/ConfigManage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/main/java/catx/feitu/coze_discord_bridge/DockerHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/main/java/catx/feitu/coze_discord_bridge/HttpServer/api/api/Protocol/GetLoginCount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package catx.feitu.coze_discord_bridge.HttpServer.api.api.Protocol; | ||
|
||
import catx.feitu.coze_discord_bridge.HttpServer.APIHandler; | ||
import catx.feitu.coze_discord_bridge.HttpServer.HandleType; | ||
import catx.feitu.coze_discord_bridge.HttpServer.ResponseType; | ||
import com.alibaba.fastjson.JSONObject; | ||
|
||
public class GetLoginCount implements APIHandler { | ||
@Override | ||
public ResponseType handle(HandleType Handle) { | ||
ResponseType Response = new ResponseType(); | ||
JSONObject json = new JSONObject(true); | ||
|
||
Response.code = 200; | ||
json.put("code", 200); | ||
json.put("message", "获取成功"); | ||
JSONObject json_data = new JSONObject(true); | ||
json_data.put("count", Handle.CozeGPT.getLoginCount()); | ||
json.put("data", json_data); | ||
|
||
Response.msg = json.toJSONString(); | ||
return Response; | ||
} | ||
} |
32 changes: 0 additions & 32 deletions
32
src/main/java/catx/feitu/coze_discord_bridge/HttpServer/api/api/Protocol/ReLogin.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/catx/feitu/coze_discord_bridge/KeepaliveTimer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...eitu/coze_discord_bridge/Misc/Random.java → ...oze_discord_bridge/utils/RandomUtils.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...d_bridge/Config/YmalReslove/ReadFile.java → ...e_discord_bridge/utils/ymal/ReadFile.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...bridge/Config/YmalReslove/YamlConfig.java → ...discord_bridge/utils/ymal/YamlConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters