import request from '@/utils/request' import { upFilse } from '@/utils/request'; //上传救护者信息 export function addrescuer(data){ return request({ url:'/api/add_rescuer', method:'post', data }) } //上传图片 export function upload(data){ return upFilse({ url:'/api/upload/image', method:'post', data }) } //发表文章 export function articlesave(data) { return request({ url: '/api/circle/articlesave', method: 'post', data }); } //我发表的文章 export function myarticle(data) { return request({ url: '/api/circle/myarticle', method: 'post', data }); } //发表评论 export function replyask(data) { return request({ url: '/api/add_a', method: 'post', data }); } //问答详情 export function replylist(data) { return request({ url: '/api/q_list', method: 'get', data }); } //评论列表 export function myreplylist(data) { return request({ url: '/api/a_list', method: 'get', data }); }