liu
2026-09-15 2d74cdc6f9bc14f54470a1cdde845b83e2155b4d
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,
  });
}