guozhi-wechat/common/api/recruit.js
2025-07-22 18:31:50 +08:00

36 lines
783 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import utils from "../js/utils.js";
/**
* 证书相关接口
*/
module.exports = {
/**
* 获取列表
* @returns {Promise<*>}
* 获取招聘信息列表
// https://exam-zp.chaohang.gd.cn/addons/exam/recruit/index
// keyword=关键词,搜职位
// wage=薪资范围直接传文本面议或1-3k这样
// bonus=福利,也是直接传文本,多个逗号隔开
*/
getRecruitIndex(handler, data = {}) {
return utils.http(handler, 'recruit/index', data)
},
/**
* 获取详情
* @returns {Promise<*>}
*/
getRecruitDetail(handler, data = {}) {
return utils.http(handler, 'recruit/detail', data)
},
/**
* 获取详情
* @returns {Promise<*>}
*/
getRecruitCommon(handler, data = {}) {
return utils.http(handler, 'recruit/common', data)
},
}