8 lines
295 B
JavaScript
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 })
|