const { get, post, del } = require('./request'); export function saveDraft(data) { return post('/mail/draft', data) } export function getDraft(id) { return get('/mail/draft/' + id) } export function listDraft(params) { return get(`/mail/draft?size=${params.size}¤t=${params.current}`) } export function delDraft(id) { return del('/mail/draft/' + id) }