added radio model

This commit is contained in:
SrGooglo 2025-03-25 22:54:36 +00:00
parent dcf99c57e9
commit aeb1e73f9b
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,11 @@
import request from "../../../request"
export default async ({ limit = 50, offset = 0 } = {}) => {
const { data } = await request({
method: "GET",
url: "/music/radio/list",
params: { limit, offset },
})
return data
}

View File

@ -0,0 +1,5 @@
import getRadioList from "./getters/list"
export default class Radio {
static getRadioList = getRadioList
}