|
@@ -59,10 +59,10 @@ export function hirePostCandidate(data: PostCandidateHireForm) {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export function downloadResume(studentId: string | number) {
|
|
|
|
|
|
|
+export function downloadCandidateResume(candidateId: string | number) {
|
|
|
return import('@/utils/request').then(({ default: req }) => {
|
|
return import('@/utils/request').then(({ default: req }) => {
|
|
|
return req({
|
|
return req({
|
|
|
- url: `/main/student/downloadResume/${studentId}`,
|
|
|
|
|
|
|
+ url: `/main/postCandidate/resume/${candidateId}`,
|
|
|
method: 'get',
|
|
method: 'get',
|
|
|
responseType: 'blob'
|
|
responseType: 'blob'
|
|
|
});
|
|
});
|