You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
354 B
16 lines
354 B
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) |
|
} |