导师相关接口换offer派接口,职位列表和职位详情,Nova聊天侧边栏UI重写

This commit is contained in:
2026-07-03 19:55:53 +08:00
parent a1a27073e4
commit f90c8be2a9
26 changed files with 896 additions and 1129 deletions
+7 -7
View File
@@ -1,4 +1,4 @@
import jianshiRequest from '@/utils/jianshiRequest'
import request from '@/utils/request'
/**
* 分页查询导师列表请求参数
@@ -81,10 +81,10 @@ export interface MentorPageResult {
/**
* 分页查询导师列表
* POST /public/website/pageSelectMentor
* POST /public/mentor/pageofferpai 后端)
*/
export function fetchMentorList(params: MentorListParams): Promise<MentorPageResult> {
return jianshiRequest.post('/public/website/pageSelectMentor', params)
return request.post('/public/mentor/page', params)
}
// ==================== 导师详情接口 ====================
@@ -189,16 +189,16 @@ export interface MentorTalk {
/**
* 获取导师详情信息
* GET /public/website/selectMentorFullInfo?mentorId=xxx
* GET /public/mentor/info?mentorId=xxxofferpai 后端)
*/
export function fetchMentorFullInfo(mentorId: string): Promise<MentorFullInfo> {
return jianshiRequest.get('/public/website/selectMentorFullInfo', { params: { mentorId } })
return request.get('/public/mentor/info', { params: { mentorId } })
}
/**
* 获取导师话题列表
* GET /public/website/selectTalk?teacherId=xxx
* GET /public/mentor/talk?teacherId=xxxofferpai 后端)
*/
export function fetchMentorTalks(teacherId: string): Promise<MentorTalk[]> {
return jianshiRequest.get('/public/website/selectTalk', { params: { teacherId } })
return request.get('/public/mentor/talk', { params: { teacherId } })
}