import http from '@/http/api.js' export const getList = (current, size, params) => { return http.request({ url: '/taskInfo/taskinfo/page', method: 'get', params: { ...params, current, size, } }) } export const getDetail = (id) => { return http.request({ url: '/taskInfo/taskinfo/detail', method: 'get', params: { id } }) } export const update = (row) =>{ return http.request({ url:'/taskInfo/taskinfo/submit', method:'POST', data:row }) }