import axios from './instance' import { GET_SCENE_LIST } from './constant' export interface Scene { id: string num: string title: string cover: string time: string } export type Scenes = Scene[] export const fetchScenes = async () => { return [ { id: '1', num: 't-cc', time: '2020-03-02', cover: 'https://4dkk.4dage.com/head/18819272208/head_1662022947583.png', title: '田心村' }, { id: '2', num: 't-cc2', time: '2020-03-02', cover: 'https://4dkk.4dage.com/head/18819272208/head_1662022947583.png', title: '田心村' }, { id: '3', num: 't-cc3', time: '2020-03-02', cover: 'https://4dkk.4dage.com/head/18819272208/head_1662022947583.png', title: '田心村' }, { id: '4', num: 't-cc4', time: '2020-03-02', cover: 'https://4dkk.4dage.com/head/18819272208/head_1662022947583.png', title: '田心村' } ] // return axios.get(GET_SCENE_LIST) }