import request from './request.js'; // 手机验证码登录获取验证码 export function getCode(param){ return request.post('/api/sms/send', param) } // 手机验证码登录接口 export function mobileLogin(param){ return request.post('/api/candidate.user/mobilelogin', param) } // //微信授权登录 // export function third(param){ // return request.post('/api/candidate.user/third', param) // } // 职位列表 export function getList(param){ return request.post('/api/candidate.job/get_list', param) } //政治面貌 export function politics(param){ return request.post('/api/commons/get_political_status', param) } //婚姻状态列表 export function marital(param){ return request.post('/api/commons/get_marital_status', param) } //所有地区列表 export function getAllArea(param){ return request.post('/api/commons/getAllArea', param) } //求职状态 export function getjob(param){ return request.post('/api/commons/get_job_status', param) } //求职详情 export function getdetail(param){ return request.post('/api/candidate.job/get_detail', param) } //收藏接口 export function collect(param){ return request.post('/api/candidate.job_collect/collect', param) } //公司简介 export function companydetail(param){ return request.post('/api/company/get_company_detail', param) } //获取招聘职位列表 export function getjoblist(param){ return request.post('/api/company/get_company_job_list', param) } //公司职位统计 export function jobdata(param){ return request.post('/api/company/get_company_job_data', param) } //工作年限列表 export function getexperience(param){ return request.post('/api/commons/get_experience', param) } //获取省市列表 export function getareacity(param){ return request.post('/api/commons/get_area_city', param) } //论坛列表 export function articlelist(param){ return request.get('/api/candidate.forum/article_list', param) } //圈子列表 export function grouplist(param){ return request.get('/api/candidate.forum/group_list', param) } //我的关注-用户列表 export function followuser(param){ return request.post('/api/candidate.forum/mine_follow_user', param) } //关注-取消关注 export function follow(param){ return request.post('/api/candidate.forum/follow', param) } //用户中心 export function index(param){ return request.post('/api/candidate.user/index', param) } //帖子点赞或取消点赞 export function articlelike(param){ return request.post('/api/candidate.forum/article_like', param) } //评论点赞或取消点赞 export function commentlike(param){ return request.post('/api/candidate.forum/comment_like', param) } //评论帖子 export function articlecomment(param){ return request.post('/api/candidate.forum/article_comment', param) } //查看评论 export function readcomment(param){ return request.post('/api/candidate.forum/read_comment', param) } //帖子详情 export function articledetails(param){ return request.post('/api/candidate.forum/article_details', param) } //他人主页 export function homepagearticle(param){ return request.post('/api/candidate.forum/others_homepage_article', param) } //用户关注圈子列表 export function followgrouplist(param){ return request.post('/api/candidate.forum/user_follow_group_list', param) } //用户创建圈子列表 export function usergrouplist(param){ return request.post('/api/candidate.forum/user_group_list', param) } //他人主页 export function others_homepage(param){ return request.post('/api/candidate.forum/others_homepage', param) } //删除帖子 export function del_article(param){ return request.post('/api/candidate.forum/del_article', param) } //圈子主页用户信息 export function group_details_user(param){ return request.post('/api/candidate.forum/group_details_user', param) } //圈子主页 export function group_details_article(param){ return request.post('/api/candidate.forum/group_details_article', param) } //圈子主页 export function message(param){ return request.post('/api/candidate.forum/message', param) }