vue-pro/yudao-ui-app/api/index.js

8 lines
279 B
JavaScript
Raw Normal View History

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