完成songInfo的更新
This commit is contained in:
@@ -31,6 +31,8 @@ async function test() {
|
||||
|
||||
// 不是所有歌手都有个人主页 例如 https://music.163.com/#/artist?id=1079075
|
||||
|
||||
// let res = await songInfoUtils.fetchAll({ args: {} });
|
||||
|
||||
// let res = await albumInfoUtils.fetch({ albumId: "9156", debug: true });
|
||||
// let res = await artistInfoUtils.fetch({ artistId: "12023508" });
|
||||
// let res = await songInfoUtils.fetch({ songId: "437608327" });
|
||||
@@ -40,8 +42,6 @@ async function test() {
|
||||
// let res = await artistInfoUtils.getFromDatabase({ artistId: "12023508" });
|
||||
// let res = await songInfoUtils.getFromDatabase({ songId: "437608327" });
|
||||
|
||||
let res = await dbUtils.query('INSERT IGNORE INTO song (`song_id`, `title`, `image`, `pub_date`) VALUES ?',
|
||||
[[[100, '4', '3', '4'], [200, '23', '4', '5']]]);
|
||||
console.log(res);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user