import request from "@/utils/request" /** 资讯类别 — 树形列表(可选 categoryType 过滤) */ export function listInformationCategoryTree(categoryType) { return request({ url: "/category/informationCategory/tree", method: "get", params: categoryType != null ? { categoryType } : {} }) } /** 资讯类别 — 按上级编码、类型查询直接下级(编号、名称) */ export function listInformationCategoryChildren(parentCode, categoryType) { return request({ url: "/category/informationCategory/children", method: "get", params: { parentCode, categoryType } }) }