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.
39 lines
861 B
39 lines
861 B
var fly = require("./request.js")
|
|
module.exports = {
|
|
getActivityList: getActivityList,
|
|
bannerList,
|
|
bannerListV2,
|
|
volunteerlist,
|
|
volunteerV2list,
|
|
getImgUrl,
|
|
getBannerDetail
|
|
}
|
|
|
|
function getActivityList (params) {
|
|
return fly.get("heart/act/list", params)
|
|
}
|
|
|
|
function bannerList (params) {
|
|
return fly.get("heart/act/banner/list",params)
|
|
}
|
|
|
|
function bannerListV2 () {
|
|
return fly.get("heart/actbanner/banner/list")
|
|
}
|
|
// 志愿者列表
|
|
function volunteerlist (params) {
|
|
return fly.get("app-user/volunteer/list",params)
|
|
}
|
|
// 志愿者列表v2
|
|
function volunteerV2list (params) {
|
|
return fly.get("app-user/volunteer/v2/list",params)
|
|
}
|
|
// 获取配置图片
|
|
function getImgUrl (imgType) {
|
|
return fly.get(`imgConfig/getImgUrl/${imgType}`)
|
|
}
|
|
|
|
//banner跳转详情
|
|
function getBannerDetail (id) {
|
|
return fly.get(`heart/act/banner/detail/${id}`)
|
|
}
|