定义第三方接口信息

This commit is contained in:
lin
2025-09-29 16:15:32 +08:00
parent 85d47af644
commit eff1773101
16 changed files with 394 additions and 31 deletions

View File

@@ -48,7 +48,7 @@ import {
stopPlayback,
pausePlayback,
resumePlayback,
seekPlayback, speedPlayback, getAllForMap
seekPlayback, speedPlayback, getAllForMap, test
} from '@/api/commonChannel'
const actions = {
@@ -571,6 +571,16 @@ const actions = {
reject(error)
})
})
},
test({ commit }) {
return new Promise((resolve, reject) => {
test().then(response => {
const { data } = response
resolve(data)
}).catch(error => {
reject(error)
})
})
}
}