From 63f5226c0125b43065f41c3b128749f397fb23d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Fri, 14 Mar 2025 11:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dc-App/pages.json | 38 +++--- dc-App/pages/my/Contact.vue | 27 ++-- dc-Vue/dc-admin/pom.xml | 35 +++--- .../dc/app/controller/ContactController.java | 49 ++++++++ .../dc/app/domain/request/ContactRequest.java | 16 +++ .../java/com/dc/common/utils/MailUtils.java | 116 ++++++++++++++++++ 6 files changed, 238 insertions(+), 43 deletions(-) create mode 100644 dc-Vue/dc-admin/src/main/java/com/dc/app/controller/ContactController.java create mode 100644 dc-Vue/dc-admin/src/main/java/com/dc/app/domain/request/ContactRequest.java create mode 100644 dc-Vue/dc-common/src/main/java/com/dc/common/utils/MailUtils.java diff --git a/dc-App/pages.json b/dc-App/pages.json index 67b4461..f4d8ca8 100644 --- a/dc-App/pages.json +++ b/dc-App/pages.json @@ -15,14 +15,14 @@ "navigationStyle": "custom" } }, - { "path": "pages/index/nIndex", "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom" } - }, //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + }, + //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/web", "style": { @@ -36,7 +36,6 @@ "navigationStyle": "custom" } }, - { "path": "pages/Chat/chat", "style": { @@ -63,8 +62,6 @@ "navigationStyle": "custom" } }, - - { "path": "pages/index/navigation", "style": { @@ -87,7 +84,6 @@ "navigationStyle": "custom" } }, - { "path": "pages/login/register", "style": { @@ -182,24 +178,30 @@ } }, { - "path" : "components/bt-cropper/index", - "style" : - { - "navigationBarTitleText" : "" + "path": "components/bt-cropper/index", + "style": { + "navigationBarTitleText": "" } }, { - "path" : "pages/busNavigation/busNavigation", + "path": "pages/busNavigation/busNavigation", "style": { "navigationBarTitleText": "公交导航", "navigationStyle": "custom" } }, { - "path" : "pages/busNavigation/busNavigation", - "style" : - { - "navigationBarTitleText" : "" + "path": "pages/busNavigation/busNavigation", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/my/Contact", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": true, + "navigationBarTitleText": "Contact" } } ], @@ -214,7 +216,8 @@ "selectedColor": "#32714f", "borderStyle": "black", "backgroundColor": "#F8F8F8", - "list": [{ + "list": [ + { "pagePath": "pages/index/nIndex", "iconPath": "/static/imgs/home.png", "selectedIconPath": "/static/imgs/homex.png", @@ -225,7 +228,8 @@ "iconPath": "/static/imgs/circle.png", "selectedIconPath": "/static/imgs/circlex.png", "text": "Chat" - }, { + }, + { "pagePath": "pages/my/my", "iconPath": "/static/imgs/my.png", "selectedIconPath": "/static/imgs/myx.png", diff --git a/dc-App/pages/my/Contact.vue b/dc-App/pages/my/Contact.vue index 5b49f30..825f990 100644 --- a/dc-App/pages/my/Contact.vue +++ b/dc-App/pages/my/Contact.vue @@ -1,14 +1,6 @@