email.js 376 B

1234567891011121314
  1. import service from '@/utils/request'
  2. // @Tags email
  3. // @Summary 发送测试邮件
  4. // @Security ApiKeyAuth
  5. // @Produce application/json
  6. // @Success 200 {string} string "{"success":true,"data":{},"msg":"返回成功"}"
  7. // @Router /email/emailTest [post]
  8. export const emailTest = (data) => {
  9. return service({
  10. url: '/email/emailTest',
  11. method: 'post',
  12. data
  13. })
  14. }