model.js 322 Bytes
Newer Older
wangdanlei's avatar
wangdanlei committed
1 2 3 4 5 6 7 8 9 10 11 12
import {
  get
//   post,
//   put
  //  del
} from '../utils/http'

// 查询模型配置信息
export function getModelTree(params) {
  return get('/ModelDefinition/all/base/tree', params)
}

wangdanlei's avatar
wangdanlei committed
13 14
export function getSubTypeName(packageId, clsName) {
  return get('/ModelDefinition/select/children', { packageId, clsName })
wangdanlei's avatar
wangdanlei committed
15
}