新会员页面
This commit is contained in:
+24
-2
@@ -131,8 +131,8 @@ export function fetchAgentRecommend(params: AgentRecommendParams = {}) {
|
||||
|
||||
/** 岗位投递请求参数 */
|
||||
export interface JobApplyParams {
|
||||
/** 岗位 ID */
|
||||
jobId: number
|
||||
/** 岗位 ID(支持字符串避免大整数精度丢失) */
|
||||
jobId: number | string
|
||||
/** 投递状态:-1=待投递 0=已投递 1=面试中 2=有Offer 3=未通过 4=已结束,null=取消 */
|
||||
status: number | null
|
||||
}
|
||||
@@ -278,3 +278,25 @@ export interface AgentChatResponse {
|
||||
export function sendAgentChat(params: AgentChatParams) {
|
||||
return aiService.post<any, { data: AiResult<AgentChatResponse> }>('/job-agent/chat', params).then(res => res.data)
|
||||
}
|
||||
|
||||
// ==================== 求职助手优化简历(Python 后端) ====================
|
||||
|
||||
/** 优化简历请求参数 */
|
||||
export interface OptimizeResumeParams {
|
||||
/** 简历 ID */
|
||||
resumeId: string | number
|
||||
/** 岗位 ID */
|
||||
jobId: string | number
|
||||
}
|
||||
|
||||
/**
|
||||
* 求职助手岗位优化简历
|
||||
* POST /job-agent/optimize-resume
|
||||
*/
|
||||
export function optimizeAgentResume(params: OptimizeResumeParams) {
|
||||
return aiService.post('/job-agent/optimize-resume', params, {
|
||||
headers: {
|
||||
Token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjIwMzUyNTM4OTg5MTk4NzA0NjUsInV1SWQiOiI2MmQ5MDE2NTcyNzY0ZmNjODNjZTIyYjRjODA5ZmU5MiJ9.eE-Q5rio5J5kxkS-XPYdmk-1Tgvg6kj6NGoKWMFNU14',
|
||||
},
|
||||
}).then(res => res.data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user