src/api/model/sche/scheme/index.ts
@@ -45,3 +45,16 @@ export const deleteScheduleScheme = (id: number) => { return request.delete({ url: '/model/sche/scheme/delete?id=' + id }) } // 启用 export const enable = (ids) => { const data = ids return request.put({ url: '/model/sche/scheme/enable', data }) } // 禁用 export const disable = (ids) => { const data = ids return request.put({ url: '/model/sche/scheme/disable', data }) }