import request from "@/utils/request"; export function getMonthlyRecord(params) { return request({ url: '/market/monthly/list', method: 'get', params: params }) } export function getMonthlyRecordById(params) { return request({ url: 'market/monthly/listByid', method: 'get', params: params }) } export function addMonthlyRecord(data) { return request({ url: '/market/monthly/insert', method: 'post', data: data }) } export function editMonthlyRecord(params) { return request({ url: `/market/monthly/update`, method: 'post', data: params }) } export function delMonthlyRecord(data) { return request({ url: `/market/monthly/deleted?monthlyId=${data}`, method: 'get' }) }