mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-07 07:35:06 +08:00
api按模块单独配置文件
This commit is contained in:
7
yudao-ui-app/api/index.js
Normal file
7
yudao-ui-app/api/index.js
Normal file
@ -0,0 +1,7 @@
|
||||
//请求工具参考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 })
|
Reference in New Issue
Block a user