import request from "@/api/request";
|
|
|
|
export default {
|
|
// 首页- 申请成为志愿者
|
|
async applyVolunteer(data) {
|
|
return request({
|
|
url: '/index/applyVolunteer',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
},
|
|
|
|
// 首页- 获取banner图列表
|
|
async queryBannerList() {
|
|
return request({
|
|
url: '/index/queryBannerList',
|
|
method: 'GET'
|
|
})
|
|
},
|
|
|
|
// 首页- 获取公告详情
|
|
async queryNoticeById(data) {
|
|
return request({
|
|
url: '/index/queryNoticeById',
|
|
method: 'GET',
|
|
data
|
|
})
|
|
},
|
|
|
|
// 首页- 获取公告列表
|
|
async queryNoticeList(data) {
|
|
return request({
|
|
url: '/index/queryNoticeList',
|
|
method: 'GET',
|
|
data
|
|
})
|
|
},
|
|
}
|