From a4366ec93df38e3c6c98c062316b991bf7be6cae Mon Sep 17 00:00:00 2001 From: binaryify Date: Wed, 10 May 2017 18:29:36 +0800 Subject: [PATCH] improve --- router/comment_album.js | 2 -- router/comment_dj.js | 2 -- router/comment_music.js | 2 -- router/comment_mv.js | 2 -- router/comment_playlist.js | 2 -- router/dj_detail.js | 2 -- router/dj_hot.js | 2 -- router/dj_program.js | 2 -- router/dj_program_detail.js | 2 -- router/dj_recommend.js | 2 -- router/likelist.js | 1 - router/simi_playlist.js | 1 - router/simi_song.js | 1 - router/top_album.js | 1 - router/top_playlist_highquality.js | 1 - 15 files changed, 25 deletions(-) diff --git a/router/comment_album.js b/router/comment_album.js index 984cb7d..b63baa4 100644 --- a/router/comment_album.js +++ b/router/comment_album.js @@ -19,8 +19,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/comment_dj.js b/router/comment_dj.js index cd3d26d..1cd18b7 100644 --- a/router/comment_dj.js +++ b/router/comment_dj.js @@ -19,8 +19,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/comment_music.js b/router/comment_music.js index cbfd39e..f0926bd 100644 --- a/router/comment_music.js +++ b/router/comment_music.js @@ -19,8 +19,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/comment_mv.js b/router/comment_mv.js index d99ef02..12779d9 100644 --- a/router/comment_mv.js +++ b/router/comment_mv.js @@ -19,8 +19,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/comment_playlist.js b/router/comment_playlist.js index 16f8371..c2e299b 100644 --- a/router/comment_playlist.js +++ b/router/comment_playlist.js @@ -19,8 +19,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/dj_detail.js b/router/dj_detail.js index c6aee61..6fe2ad8 100644 --- a/router/dj_detail.js +++ b/router/dj_detail.js @@ -17,8 +17,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/dj_hot.js b/router/dj_hot.js index 401f104..36e940f 100644 --- a/router/dj_hot.js +++ b/router/dj_hot.js @@ -22,8 +22,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/dj_program.js b/router/dj_program.js index d23711d..63d054d 100644 --- a/router/dj_program.js +++ b/router/dj_program.js @@ -20,8 +20,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/dj_program_detail.js b/router/dj_program_detail.js index 4faaa23..5bb05a9 100644 --- a/router/dj_program_detail.js +++ b/router/dj_program_detail.js @@ -16,8 +16,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/dj_recommend.js b/router/dj_recommend.js index 45539d1..0658099 100644 --- a/router/dj_recommend.js +++ b/router/dj_recommend.js @@ -15,8 +15,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(Object.keys(JSON.parse(music_req))) - console.log(JSON.parse(music_req).comments.length)//100 }, err => res.status(502).send('fetch error') ) diff --git a/router/likelist.js b/router/likelist.js index 0436314..9589e10 100644 --- a/router/likelist.js +++ b/router/likelist.js @@ -16,7 +16,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - console.log(JSON.parse(music_req).ids.length) }, err => res.status(502).send('fetch error') ) diff --git a/router/simi_playlist.js b/router/simi_playlist.js index 42913ab..b716fc4 100644 --- a/router/simi_playlist.js +++ b/router/simi_playlist.js @@ -17,7 +17,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - // console.log(JSON.parse(music_req).playlists.length) }, err => res.status(502).send('fetch error') ) diff --git a/router/simi_song.js b/router/simi_song.js index 21230ca..cd0c252 100644 --- a/router/simi_song.js +++ b/router/simi_song.js @@ -17,7 +17,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - // console.log(JSON.parse(music_req).playlists.length) }, err => res.status(502).send('fetch error') ) diff --git a/router/top_album.js b/router/top_album.js index cb4f6ea..a4ef24a 100644 --- a/router/top_album.js +++ b/router/top_album.js @@ -21,7 +21,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - // console.log(JSON.parse(music_req).albums.length) }, err => res.status(502).send('fetch error') ) diff --git a/router/top_playlist_highquality.js b/router/top_playlist_highquality.js index 4b05476..0f0f525 100644 --- a/router/top_playlist_highquality.js +++ b/router/top_playlist_highquality.js @@ -17,7 +17,6 @@ router.get("/", (req, res) => { cookie, music_req => { res.send(music_req) - // console.log(JSON.parse(music_req).playlists.length) }, err => res.status(502).send('fetch error') )