import api from '@/utils/request'

export const iGetList = params => api.post(`/admin/module/list`, params)

export const iChangeShowStatus = ({ id, ...params }) => api.get(`/admin/module/${id}/changeShow`, params)

export const iUpdateItem = ({ id, ...params }) => api.put(`/admin/module/item/${id}`, params)
