添加SQL建表语句;考虑音乐页面多收首歌的情况;Bugfix
This commit is contained in:
@@ -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 () => {
|
||||
|
Reference in New Issue
Block a user