import request from '@/utils/request' // 查询数据 export function listMarry(query) { return request({ url: '/marrySelf', method: 'get', // params: query }) } //新增信息 export function addMarry(data) { return request({ url: '/zMarry', method: 'post' }) } // 删除资产信息 export function delMarry(id) { return request({ url: '/zMarry/' + id, method: 'delete' }) } //修改信息 export function updateMarry(data) { return request({ url: '/marrySelf', method: 'post', data: data }) } //上传文件 export function uploadPic(data) { return request({ url: '/common/upload', method: 'post', data: data }) } //下载文件 export function download(data) { return request({ url: '/common/downLoadFile', method: 'get', params: data, responseType: 'blob' }) } //拿到类别 export function getCategory() { return request({ url: '/zDict/byId', method: 'get', params: {'id':22} }) } //上传文件 export function enload(data) { return request({ url: '/family/property/importData', method: 'post', data: data }) }