1:修改点歌房出现的错误

2:修改进入家族详情页面
This commit is contained in:
2025-12-03 20:02:14 +08:00
parent 8e9f6fa23c
commit 0d5e64e31a
12 changed files with 85 additions and 55 deletions

View File

@@ -22,7 +22,9 @@ class ForegroundService : Service() {
timer?.schedule(object : TimerTask() {
override fun run() {
Log.d("ForegroundService", "Timer task ${logInt++}")
RetrofitClient.getInstance().keepXintiao(CommonAppContext.getInstance().playId);
if (CommonAppContext.getInstance().playId!= null && CommonAppContext.getInstance().playId .isNotEmpty()) {
RetrofitClient.getInstance().keepXintiao(CommonAppContext.getInstance().playId);
}
}
}, 0L, 60000L)
}