Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import AXIOS from '@/middleware/axios'
- const SONG_SERVICE = {
- async getSongHistory(params) {
- const { res, status } = await AXIOS.get("/song-history", {
- params,
- cache: {
- ttl: 1000 * 60 * 5,
- },
- })
- return { res, status }
- },
- }
- export default SONG_SERVICE
Add Comment
Please, Sign In to add comment