liu
2026-09-29 7a6351a1fa5fc6e67b55c475bcd253d6d3e5d68f
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,
  });
}