|
@@ -6,14 +6,14 @@ import * as common from './common.js' //引入common
|
|
|
import * as db from './db.js' //引入common
|
|
|
// 需要登陆的,都写到这里,否则就是不需要登陆的接口
|
|
|
let methodsToken = ['profile', 'refreshUser', 'wxLogin', 'changeMobile', 'addCart',
|
|
|
- 'previewOrder', 'getWuyuanUser', 'archives_post', 'get_channel_fields', 'get_channel', 'lists', 'details',
|
|
|
+ 'previewOrder', 'getWuyuanUser', 'archives_post', 'get_channel_fields', 'get_channel', 'lists', 'details', 'daishenhe',
|
|
|
'logOffVolunteer', 'getCrProperty', 'joinTeam', 'getTeamMember', 'getPatrolTask', 'claimCr',
|
|
|
'getPatrolLog', 'claimCrList', 'claimCrDetails', 'editMainBodyUser', , 'contribute',
|
|
|
'getPatrolTaskDetails', 'getContentDetail', 'examineVolunteer', 'userManageRegionCrAuth', 'applyVolunteer',
|
|
|
'getPhoneNumber', 'editApplyVolunteer', 'mobileBindVolunteer', 'getTeamDetails', 'examineTask', 'removeMemberm',
|
|
|
'getScoreLog', 'rankingList', 'getMainBodyColumnContentList', 'regionData', 'cityData', 'checkIn',
|
|
|
'getMainBodyUser', 'getUserContribute', 'getUserHonor', 'submitTask', 'exportPatrolRecord', 'userManageCrAuth',
|
|
|
- 'getDevices', 'submitIdentityInfo', 'submitActivitySignupInfo'
|
|
|
+ 'getDevices', 'submitIdentityInfo', 'submitActivitySignupInfo','getUserSignupActivity', 'getUserSignupActivityDetails'
|
|
|
];
|
|
|
const post = (method, data, callback, type, orgurl) => {
|
|
|
//填入默认主体id为1
|
|
@@ -461,6 +461,8 @@ export const applyVolunteer = (data, callback) => post('applyVolunteer', data, c
|
|
|
export const lists = (data, callback) => post('lists', data, callback, '', 'api/volunteer/volunteer/lists');
|
|
|
// 志愿者详情
|
|
|
export const details = (data, callback) => post('details', data, callback, '', 'api/volunteer/volunteer/details');
|
|
|
+//待审核志愿者数量
|
|
|
+export const daishenhe = (data, callback) => post('daishenhe', data, callback, 'volunteer/volunteer');
|
|
|
// 注销志愿者
|
|
|
export const logOffVolunteer = (data, callback) => post('logOffVolunteer', data, callback, '',
|
|
|
'api/volunteer/volunteer/logOffVolunteer');
|
|
@@ -554,6 +556,10 @@ export const submitActivitySignupInfo = (data, callback) => post('submitActivity
|
|
|
export const getXuanjiangList = (data, callback) => get('api/volunteer/volunteer/getXuanjiangList' + queryParams(data, true), callback);
|
|
|
// 获取志愿者宣讲员详情
|
|
|
export const getXuanjiangDetails = (data, callback) => get('api/volunteer/volunteer/getXuanjiangDetails' + queryParams(data, true), callback);
|
|
|
+// 获取用户报名活动列表
|
|
|
+export const getUserSignupActivity = (data, callback) => post('getUserSignupActivity', data, callback, 'content/main_body_user');
|
|
|
+// 获取用户报名活动详情
|
|
|
+export const getUserSignupActivityDetails = (data, callback) => post('getUserSignupActivityDetails', data, callback, 'content/main_body_user');
|
|
|
|
|
|
|
|
|
|