1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

添加SQL建表语句;考虑音乐页面多收首歌的情况;Bugfix

This commit is contained in:
2022-10-28 01:14:44 +08:00
parent 6ce6b0cd46
commit ddde1b28f9
3 changed files with 98 additions and 31 deletions

View File

@@ -15,8 +15,8 @@ module.exports = {
return await insertCollectionTemplate("hifini_thread", threadList);
},
update: async (threadId, threadInfo) => {
return await dbUtils.query(`UPDATE hifini_thread SET ? WHERE thread_id = ${threadId}`, threadInfo);
update: async (threadId, musicIndex, threadInfo) => {
return await dbUtils.query(`UPDATE hifini_thread SET ? WHERE thread_id = ${threadId} and music_index = ${musicIndex}`, threadInfo);
},
getIdsToFetch: async () => {