西藏巴青项目

informationCategory.js 619B

1234567891011121314151617181920
  1. import request from "@/utils/request"
  2. /** 资讯类别 — 树形列表(可选 categoryType 过滤) */
  3. export function listInformationCategoryTree(categoryType) {
  4. return request({
  5. url: "/category/informationCategory/tree",
  6. method: "get",
  7. params: categoryType != null ? { categoryType } : {}
  8. })
  9. }
  10. /** 资讯类别 — 按上级编码、类型查询直接下级(编号、名称) */
  11. export function listInformationCategoryChildren(parentCode, categoryType) {
  12. return request({
  13. url: "/category/informationCategory/children",
  14. method: "get",
  15. params: { parentCode, categoryType }
  16. })
  17. }