Skip to content

查询产品分类树 API

PathMethodCreated At
/api/products/categories/treeGET2025-11-29 00:39:11

Request

KeyRuleDescription

Response

KeyTypeExampleComment
idint1上级ID
titlestring网络设备名称
pidint2上级ID
childrenarray[]子树

TypeScript Result Example:

TypeScript
interface Result {
  /** 上级ID */
  id: number;
  /** 名称 */
  title: string;
  /** 上级ID */
  pid: number;
  /** 子树 */
  children: any;
}