mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-18 20:34:19 +08:00
(improvement)(Headless) Refactor service package of Headless-Server module (#1228)
Co-authored-by: lxwcodemonkey
This commit is contained in:
@@ -30,4 +30,8 @@ public class ItemResp {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public boolean isRoot() {
|
||||
return parentId == null || parentId == 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user