潘志宝
2025-02-05 3e5f6c444a32a66a6111aacd3a4c5212c32bdf9e
src/api/model/mpk/mpk.ts
@@ -10,7 +10,8 @@
  pyModule: string
  remark?: string
  modelMethods: object
  filePath: string
  filePath: string,
  menuAndGroup: any
}
export const getPage = async (params: PageParam) => {
@@ -38,9 +39,13 @@
}
export const modelRun = (params) => {
  return request.post({ url: '/model/mpk/api/run', data: params })
  return request.post({ url: '/model/mpk/api/test', data: params })
}
export const list = () => {
  return request.get({ url: '/model/mpk/file/list'})
export const list = (params) => {
  return request.get({ url: '/model/mpk/file/list',  params})
}
export const publish = (params) => {
  return request.post({ url: '/model/mpk/file/publish', data: params})
}