📝Docs: 完成 T03/集成 Axios 实现 AJAX 提交邮件数据

This commit is contained in:
2025-10-07 22:16:44 +08:00
parent 30ac68ad5c
commit 84ba8ceb06
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
|--------------|------------------------------------------------------------------------------|
| ✅T01 | 搭建 Vue 3 前端项目(使用 Vite) |
| ✅T02 | 开发邮件发送页面(含表单和附件上传功能) |
| T03 | 集成 Axios 实现 AJAX 提交邮件数据 |
| ✅T03 | 集成 Axios 实现 AJAX 提交邮件数据 |
| T04 | 实现邮件发送状态提示(成功/失败) |
| T05 | 创建 Spring Boot 后端项目,集成 Spring Mail 发送邮件功能 |
| T06 | 开发 `/api/email/send` 接口,支持附件上传 |
+1 -1
View File
@@ -168,7 +168,7 @@ const submitForm = async () => {
message.value = ''
// 发送请求
const response = await axios.post('/api/email/send', formData, {
const response = await axios.post('http:localhost:8080/api/email/send', formData, {
headers: {
'Content-Type': 'multipart/form-data'
}