ABS v1 test

This commit is contained in:
mubai
2023-12-24 23:22:20 +08:00
parent b48e53a637
commit 86e0501d2f
59 changed files with 538 additions and 1699 deletions

View File

@@ -115,7 +115,7 @@ const nav = reactive({
// 获取站点信息
const getBasicInfo = ()=>{
ApiGet(`/manage/config/basic`).then((resp: any) => {
ApiGet(`/config/basic`).then((resp: any) => {
if (resp.code === 0) {
data.site = resp.data
} else {
@@ -126,13 +126,9 @@ const getBasicInfo = ()=>{
onMounted(() => {
ApiGet('/navCategory').then((resp: any) => {
if (resp.status === 'ok') {
// nav.tv = resp.data.tv
// nav.film = resp.data.film
// nav.cartoon = resp.data.cartoon
// nav.variety = resp.data.variety
data.nav = resp.data
} else {
ElMessage.error({message: "请先输入影片名称关键字再进行搜索", duration: 1000})
ElMessage.error({message: "导航分类信息获取失败", duration: 1000})
}
})
getBasicInfo()