二次调研功能开发
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
This commit is contained in:
@@ -57,6 +57,16 @@ export async function exportCmsJobCandidates(ids: string) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function importJobRow(file: File) {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
return request('/api/app/script/importRow/v2', {
|
||||
method: 'POST',
|
||||
// 不显式设置 Content-Type,交由浏览器按 multipart/form-data 边界自动设置
|
||||
data: formData,
|
||||
});
|
||||
}
|
||||
|
||||
export async function getJobTrend(params) {
|
||||
return request(`/api/cms/jobTrend/list`, {
|
||||
method: 'GET',
|
||||
|
||||
Reference in New Issue
Block a user