新版改版:

新增B站接口
测试直播WebSocket
This commit is contained in:
2024-07-02 10:01:10 +08:00
parent b178010f8f
commit 54ac47c8b4
27 changed files with 1768 additions and 36 deletions

View File

@@ -35,12 +35,16 @@ public class BiliBiliLoginDatabase extends SQLiteManager {
return this;
}
public List<LoginCookie> get() {
return super.get(cookie.getTableName(), LoginCookie.class);
public LoginCookie get() {
List<LoginCookie> list = super.get(cookie.getTableName(), LoginCookie.class);
if (!list.isEmpty()) {
return list.get(0);
}
return null;
}
@Override
protected LoginCookie getDataBean() {
protected LoginCookie getDataBean() {
return new LoginCookie();
}
}