const { get, post, put } = require('./request'); export function addMail(data) { return post('/mail', data) } export function listMail(query) { return get(`/mail?size=${query.size}¤t=${query.current}`) } export function getMail(id) { return get('/mail/' + id) } export function updateEvaluate(data) { return put('/mail/evaluate', data) }