feat(torrents): add torrent_vip method of client side

This commit is contained in:
OldHawk
2017-09-21 12:37:28 +08:00
parent a22a98bb6e
commit 703003cd16

View File

@@ -61,6 +61,13 @@
torrentId: '@_id'
}
},
toggleVIPStatus: {
method: 'PUT',
url: '/api/torrents/:torrentId/toggleVIPStatus',
params: {
torrentId: '@_id'
}
},
thumbsUp: {
method: 'PUT',
url: '/api/torrents/:torrentId/thumbsUp',