api.js
4.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import {
get,
post
} from '../https/index';
const obj = {
getWxConfig: p => get('/wx/config/getWxConfig', p),//获取微信配置
getMsgByCode: p => get('/personal/getMsgByCode', p),//通过code获取openid和token
getUserInfo: () => post('/personal/getUserInfo'),//获取用户信息
getMsg: p => post('/sxh/wx/getMsg', p),//绑定手机号用到的验证码
checkPhone: p => post('/personal/checkPhone', p),//绑定手机号
GetSysAreaList: p => get('/h5/MyVoluntary/GetSysAreaList', p),//获取地区列表
GetHighSchoolList: p => get('/h5/MyVoluntary/GetHighSchoolList', p),//获取学校列表
updateUserInfo: p => post('/personal/updateUserInfo', p, 'json'),//完善信息
activeInviteCode: p => get('/sxh/order/activeInviteCode', p),//邀请码激活
exchangeCard: p => get('/sxh/order/exchangeCard', p),//卡密兑换
activeVipPhone: p => post('/sxh/order/activeVipPhone', p),//青春卡激活
getChannelMsg: p => post('/sxh/channel/getMsg', p),//青春卡激活用到的验证码
initSubscribeUser: p => post('/sys/wxUser/checkCode', p, 'json'),//高考季h5填写信息
// initSubscribeUser:p=>post('/sys/wxUser/initSubscribeUser',p,'json'),//高考季h5填写信息
getMsg: p => post('/sxh/wx/getMsg', p),//绑定手机号用到的验证码
getSxhOrderList: p => get('/sxh/order/list', p),//生涯vip订单
getIndexExpertList: p => get('/wx/live/getIndexExpertList', p),//首页获取专家直播
getAllExpertList: p => post('/wx/live/getAllExpertList', p, 'json'),//分页获取更多专家直播
getSchoolList: p => post('/wx/live/getSchoolList', p, 'json'),//分页获取院校直播
GetBannerList: p => post('/admin/Voluntary/GetBannerList', p, 'json'),//轮播
subscribe: p => post('/wx/live/subscribe', p, 'json'),//预约
getAreaList: p => post('/admin/Voluntary/GetAreaList', p, 'json'),//地区列表
getUniParam: p => get('/common/getUniversityParam', p),//院校特性办学性质等
incrByType: p => get('/count/incrByType', p),//计数器
// 数据宝典
getBannerList2: p => get('/mobile/index/getBanner/' + p),//顶部轮播
getBannerDetail: p => get('/mobile/index/getBannerContent/' + p),//顶部轮播详情页
getAllList: p => post('/h5/consult/getAllList', p, 'json'),//底部栏目资讯
getConsultation: p => post('/h5/consult/getConsultation', p, 'json'),//栏目资讯列表
getConsultationDetail: p => get('/h5/consult/getConsultationDetail', p),//栏目资讯详情页
getUniList: p => post('/University/getUniversityList', p, 'json'),//院校大全 列表
getUniDetail: p => get('/University/getUniversityDetail', p),//院校详情
getUniMajor: p => get('/mobile/data/getUniversityMajor/' + p),//院校详情页专业列表
getRecruitDetail: p => get('/University/GetRecruitRulesDetail', p),//章程详情
getEnrollmentPlan: p => post('/mobile/data/getEnrollmentPlan', p, 'json'),//获取该院校招生计划
getMajorPointLine: p => post('/mobile/data/getMajorPointLine', p, 'json'),//获取该院校专业分数线
getPointLine: p => get('/mobile/data/getPointLine/' + p),//获取该院校历年分数线
getMajorTree: p => get('/mobile/data/getMajorTree', p, 'json'),//获取专业列表
getMajorDetail: p => get('/mobile/data/getMajorDetail/' + p),//获取专业详情
getProfessionalEncyclopeList: p => get('/h5/match/getProfessionalEncyclopeList', p, 'json'),//获取职业列表
getProfessionalEncyclope: p => get('/h5/match/getProfessionalEncyclope', p, 'json'),//获取职业详情
getJobByName: p => get('/University/getJobByName', p, 'json'),//获取职业详情2
getSchoolByMajor: p => post('/mobile/data/getSchoolByMajor', p, 'json'),//获取当前专业开设院校
getHistoryData: p => post('/mobile/data/getHistoryData', p, 'json'),//获取历史数据
getHistoryDataYear: p => get('/mobile/data/getHistoryDataYear/' + p),//获取强基 三位年份数据 1-强基 2 名校三位 3 省内三位 4 提前 5艺术 6 体育 7平行 8高职
getAdvanceHistoryData: p => post('/mobile/data/getAdvanceHistoryData', p, 'json'),//获取提前批大数据
getArtHistoryData: p => post('/mobile/data/getArtHistoryData', p, 'json'),//获取艺术大数据
getPhysicalHistoryData: p => post('/mobile/data/getPhysicalHistoryData', p, 'json'),//获取体育大数据
getComprehensiveHistoryData: p => post('/mobile/data/getComprehensiveHistoryData', p, 'json'),//获取平行大数据
getHighVocationHistoryData: p => post('/mobile/data/getHighVocationHistoryData', p, 'json'),//获取高职大数据
getCalendar: p => post('/mobile/data/getCalendar', p),//获取日历,传对应月份
getResult: p => post('/mobile/data/getResult', p),//获取成绩
getRecommendUniverse: p => post('/mobile/data/getRecommendUniverse', p),//获取推荐院校
getSendFlag: () => post('/personal/getSendFlag'),//获取优惠券弹框
}
export default obj;