| | |
| | | pyModule: string |
| | | remark?: string |
| | | modelMethods: object |
| | | filePath: string |
| | | filePath: string, |
| | | menuAndGroup: any |
| | | } |
| | | |
| | | export const getPage = async (params: PageParam) => { |
| | |
| | | } |
| | | |
| | | 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}) |
| | | } |