commit | author | age
|
9bcb19
|
1 |
import { axios } from '@/utils/request' |
I |
2 |
|
|
3 |
/** |
|
4 |
* 发送邮件 |
|
5 |
* |
|
6 |
* @author yubaoshan |
|
7 |
* @date 2020/7/3 23:22 |
|
8 |
*/ |
|
9 |
export function emailSendEmail (parameter) { |
|
10 |
return axios({ |
|
11 |
url: '/email/sendEmail', |
|
12 |
method: 'post', |
|
13 |
data: parameter |
|
14 |
}) |
|
15 |
} |
|
16 |
|
|
17 |
/** |
|
18 |
* 发送html邮件 |
|
19 |
* |
|
20 |
* @author yubaoshan |
|
21 |
* @date 2020/7/3 23:23 |
|
22 |
*/ |
|
23 |
export function emailSendEmailHtml (parameter) { |
|
24 |
return axios({ |
|
25 |
url: '/email/sendEmailHtml', |
|
26 |
method: 'post', |
|
27 |
data: parameter |
|
28 |
}) |
|
29 |
} |