18 changed files with 259 additions and 80 deletions
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1,54 @@ |
|||
var fly = require('../../../utils/request') |
|||
module.exports = { |
|||
getVolunteerDetail, |
|||
getOrgList, |
|||
applyVolunteer, |
|||
applyActivity, |
|||
getActivityDetail, |
|||
getActivityList, |
|||
} |
|||
// 互帮互助-志愿组织认证详情
|
|||
function getVolunteerDetail() { |
|||
return fly.get('heart/volunteer/getVolunteerDetail') |
|||
} |
|||
|
|||
// 互帮互助-志愿组织列表
|
|||
function getOrgList() { |
|||
return fly.get('heart/volunteer/getAppVolunteerOrgList') |
|||
} |
|||
|
|||
// 互帮互助-志愿组织认证
|
|||
function applyVolunteer({ |
|||
id, |
|||
realName, |
|||
idCard, |
|||
mobile, |
|||
volunteerOrgIds, |
|||
introduceInfo, |
|||
}) { |
|||
return fly.post('heart/volunteer/applyVolunteer', { |
|||
id, |
|||
realName, |
|||
idCard, |
|||
mobile, |
|||
volunteerOrgIds, |
|||
introduceInfo, |
|||
}) |
|||
} |
|||
|
|||
// 志愿活动-申请(新增修改)
|
|||
function applyActivity({ id, title, actStartTime, actEndTime, actLatitude, actLongitude, actAddress, headPic, requirement, actContent, volunteerFlag, contacts, tel }) { |
|||
return fly.post('heart/volunteer/applyActivity', { |
|||
id, title, actStartTime, actEndTime, actLatitude, actLongitude, actAddress, headPic, requirement, actContent, volunteerFlag, contacts, tel |
|||
}) |
|||
} |
|||
// 志愿活动-详情
|
|||
function getActivityDetail(id) { |
|||
return fly.get('heart/volunteer/getActivityDetail', { |
|||
id: id |
|||
}) |
|||
} |
|||
// 志愿活动-活动列表
|
|||
function getActivityList(params) { |
|||
return fly.get('heart/volunteer/getActivityList', params) |
|||
} |
|||
Loading…
Reference in new issue