You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
586 B
28 lines
586 B
var fly = require('./request.js')
|
|
module.exports = {
|
|
getActivityList: getActivityList,
|
|
bannerList,
|
|
bannerListV2,
|
|
volunteerlist,
|
|
getImgUrl
|
|
}
|
|
|
|
function getActivityList(params) {
|
|
return fly.get('heart/act/list', params)
|
|
}
|
|
|
|
function bannerList() {
|
|
return fly.get('heart/act/banner/list')
|
|
}
|
|
|
|
function bannerListV2() {
|
|
return fly.get('heart/actbanner/banner/list')
|
|
}
|
|
// 志愿者列表
|
|
function volunteerlist(params) {
|
|
return fly.get('app-user/volunteer/list',params)
|
|
}
|
|
// 获取配置图片
|
|
function getImgUrl(imgType) {
|
|
return fly.get(`imgConfig/getImgUrl/${imgType}`)
|
|
}
|