/*
 * @Author: chris
 * @Date: 2026-01-19 15:55:45
 * @LastEditors: chris
 * @LastEditTime: 2026-01-19 16:30:25
 */
import { http } from '@/http/http'

export interface IOrchardInfo {
  deptId: number
  deptName: string
  email: string
  leader: string
  parentId: number
  parentName: string
  phone: string
  plantingArea: string
  plantingNum: string
  remark: string
  status: string
  terrain: string
  updateBy: string
  updateTime: string
  variety: string
}

// 获取果园信息
export async function getOrchardInfo(orchardId: string) {
  return await http.get<IOrchardInfo>(`/system/dept/${orchardId}`)
}
