From 3634c902d07519d562c63789d95346f4908882f0 Mon Sep 17 00:00:00 2001 From: "meilin.huang" <954537473@qq.com> Date: Fri, 25 Aug 2023 19:41:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +- .../src/views/system/config/ConfigEdit.vue | 46 ++++++++++++++++- server/config.yml.example | 2 + server/go.mod | 6 ++- server/internal/auth/api/form/form.go | 9 ++-- server/internal/auth/api/ldap_login.go | 13 +++-- server/internal/mongo/api/mongo.go | 50 ++++++++++++------- server/internal/mongo/application/mongo.go | 12 ++--- server/internal/sys/api/config.go | 22 +++----- server/internal/sys/api/form/config.go | 13 ++--- server/internal/sys/application/config.go | 9 +++- server/internal/sys/domain/entity/config.go | 11 ++-- .../sys/infrastructure/persistence/config.go | 5 +- server/internal/sys/router/config.go | 8 +-- server/mayfly-go.sql | 3 +- server/pkg/gormx/query.go | 7 +++ server/pkg/ldap/ldap.go | 5 +- 17 files changed, 150 insertions(+), 75 deletions(-) diff --git a/.gitignore b/.gitignore index e59d5de4..9a71d330 100644 --- a/.gitignore +++ b/.gitignore @@ -22,5 +22,5 @@ out server/docs/docker-compose server/config.yml - -mayfly-go.log \ No newline at end of file +server/ip2region.xdb +mayfly-go.log diff --git a/mayfly_go_web/src/views/system/config/ConfigEdit.vue b/mayfly_go_web/src/views/system/config/ConfigEdit.vue index 0af502a8..de144c12 100755 --- a/mayfly_go_web/src/views/system/config/ConfigEdit.vue +++ b/mayfly_go_web/src/views/system/config/ConfigEdit.vue @@ -8,6 +8,20 @@ + + + + + + 新增配置项 @@ -62,7 +76,7 @@