123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- import request from "@/utils/request"
- // 获取精选企业列表
- export const getHotEnterprise = (params) => {
- return request({
- url: '/app-api/menduner/system/job/advertised/get/hot/enterprise',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- auth: false
- }
- })
- }
- // 更新员工信息
- export const updateStaffInfo = (data) => {
- return request({
- url: '/app-api/menduner/system/recruit/user/save',
- method: 'POST',
- data,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 获取企业基本信息
- export const getEnterpriseInfo = () => {
- return request({
- url: '/app-api/menduner/system/recruit/enterprise/get',
- method: 'GET',
- custom: {
- showLoading: false,
- auth: false
- }
- })
- }
- // 更新企业基本信息
- export const updateEnterpriseInfo = (data) => {
- return request({
- url: '/app-api/menduner/system/recruit/enterprise/update',
- method: 'POST',
- data,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 更新企业LOGO
- export const updateEnterpriseLogo = (url) => {
- return request({
- url: `/app-api/menduner/system/recruit/enterprise/logo/update?logoUrl=${url}`,
- method: 'POST',
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 获取人才的在线简历详情
- export const getPersonCvDetail = (userId) => {
- return request({
- url: '/app-api/menduner/system/recruit/person-cv/detail?userId=' + userId,
- method: 'GET',
- custom: {
- openEncryption: true,
- showLoading: false,
- auth: false
- }
- })
- }
- // 企业注册
- export const enterpriseRegisterApply = (data) => {
- return request({
- url: `/app-api/menduner/system/enterprise-register/apply`,
- method: 'POST',
- data,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 获取当前用户提交的企业申请
- export const getUserRegisterEnterpriseApply = () => {
- return request({
- url: '/app-api/menduner/system/enterprise-register/by/user',
- method: 'GET',
- custom: {
- openEncryption: true,
- showLoading: false,
- auth: false
- }
- })
- }
- // 根据邮箱获取企业注册申请
- export const getEnterpriseRegisterApply = (email) => {
- return request({
- url: '/app-api/menduner/system/enterprise-register/by/email?email=' + email,
- method: 'GET',
- custom: {
- openEncryption: true,
- showLoading: false,
- auth: false
- }
- })
- }
- // 修改密码
- export const entUpdatePassword = (data) => {
- return request({
- url: '/app-api/menduner/system/recruit/user/update-password',
- method: 'PUT',
- data,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 重置密码
- export const resetPassword = (data) => {
- return request({
- url: '/app-api/menduner/system/recruit/enterprise/auth/reset-password',
- method: 'PUT',
- data,
- custom: {
- showLoading: false,
- auth: false
- }
- })
- }
- // 发送邮箱验证码
- export const getEnterpriseEmailCode = (email) => {
- return request({
- url: `/app-api/menduner/system/recruit/enterprise/auth/send-email-code?email=${email}`,
- method: 'POST',
- custom: {
- showLoading: false,
- auth: false
- }
- })
- }
|