liu
2026-09-29 982c97ab82f3beb1b4febcf014562eda34b9fc05
src/api/system/post/index.ts
@@ -61,3 +61,16 @@
    params,
  });
}
/** 下载岗位导入模板 */
export function importPostTemplate() {
  return requestClient.download('/system/post/get-import-template');
}
/** 导入岗位 */
export function importPost(file: File, updateSupport: boolean) {
  return requestClient.upload('/system/post/import', {
    file,
    updateSupport,
  });
}