修改了首页
This commit is contained in:
8
app/composables/useSiteInfo.ts
Normal file
8
app/composables/useSiteInfo.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { ApiEnvelope } from '~/types/api'
|
||||
import { useFetch } from '#imports'
|
||||
|
||||
export function useSiteInfo() {
|
||||
return useFetch<ApiEnvelope>('/api/cms/cms-website/getSiteInfo', {
|
||||
key: 'cms-website-getSiteInfo'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user