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

完成songInfo的更新

This commit is contained in:
2022-10-17 21:29:23 +08:00
parent 7b866cdaf9
commit ade6e4f9e9
3 changed files with 80 additions and 48 deletions

View File

@@ -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);
}