dl_site_nuxt/middleware/footer.js
2025-08-25 21:37:09 +08:00

9 lines
314 B
JavaScript

export default async function ({
$axios,
store
}) {
const footerInfo = await $axios.$get('/web/footerInfo')
store.commit('SET_FOOTER_INFO', footerInfo)
const pordCategory = await $axios.$get('/web/prodCategory?catgId=660179025d0e2e0e4263db0eec86a8cc')
store.commit('SET_FOOTER_PRODCAT', pordCategory)
}