mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-17 12:35:07 +08:00
1.静态页面: 首页 个人中心 登录 注册账号 忘记重置密码 2.引入vuex 加入http请求工具luch-request并设置请求和响应过滤器
This commit is contained in:
7
yudao-ui-app/common/api.js
Normal file
7
yudao-ui-app/common/api.js
Normal file
@ -0,0 +1,7 @@
|
||||
const { http } = uni.$u
|
||||
|
||||
/* index */
|
||||
// 获取滚动图数据
|
||||
export const getBannerData = params => http.get('/api/index', params)
|
||||
// 获取滚动通知数据
|
||||
export const getNoticeData = params => http.get('/api/notice', params)
|
Reference in New Issue
Block a user