import request from '@/common/request' export function addFav(mailId) { return request.post({ url: '/favorite/' + mailId}) } export function delFav(mailId) { return request.del({ url: '/favorite/' + mailId}) } export function listFav(query) { return request.get({ url: '/favorite/list', query}) }