mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
30 lines
521 B
TypeScript
30 lines
521 B
TypeScript
|
|
import { request } from "/src/api/service";
|
||
|
|
|
||
|
|
export async function EmailList() {
|
||
|
|
return await request({
|
||
|
|
url: "/mine/email/list",
|
||
|
|
method: "post",
|
||
|
|
data: {},
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
export async function EmailDelete(email: string) {
|
||
|
|
return await request({
|
||
|
|
url: "/mine/email/delete",
|
||
|
|
method: "post",
|
||
|
|
data: {
|
||
|
|
email: email,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
}
|
||
|
|
|
||
|
|
export async function EmailAdd(email: string) {
|
||
|
|
return await request({
|
||
|
|
url: "/mine/email/add",
|
||
|
|
method: "post",
|
||
|
|
data: {
|
||
|
|
email: email,
|
||
|
|
},
|
||
|
|
});
|
||
|
|
}
|