FlowPacs/yudao-ui-app/api/index.js
2022-05-01 22:39:16 +08:00

8 lines
295 B
JavaScript

//请求工具参考https://ext.dcloud.net.cn/plugin?id=392
const { http } = uni.$u
// 获取滚动图数据
export const getBannerData = params => http.get('/app-api/index', { params })
// 获取滚动通知数据
export const getNoticeData = params => http.get('/app-api/notice', { params })