add email module

This commit is contained in:
maplepie
2020-09-08 15:57:46 +08:00
parent be9c85ae42
commit 6631aa35db
10 changed files with 186 additions and 3 deletions

15
web/src/api/email.js Normal file
View File

@@ -0,0 +1,15 @@
import service from '@/utils/request'
// @Tags email
// @Summary 发送测试邮件
// @Security ApiKeyAuth
// @Produce application/json
// @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}"
// @Router /email/emailTest [post]
export const emailTest = (data) => {
return service({
url: "/email/emailTest",
method: 'post',
data
})
}