update
This commit is contained in:
@@ -29,6 +29,7 @@ async function fetchAll({ args = {} }) {
|
||||
|
||||
var songIds = await dbUtils.query(sql, []);
|
||||
songIds = songIds.map(item => item.song_id);
|
||||
songIds = Array.from(new Set(songIds)); // 去重
|
||||
|
||||
// 0 - 100, 200 - 399, 400 - ..., ... - songIds.length-1
|
||||
// 0 1 2 count-1
|
||||
|
Reference in New Issue
Block a user