From 0bf9a5da94f8ce793c6307d0c1ad9f1da9c42f35 Mon Sep 17 00:00:00 2001 From: zouju <2393724835@qq.com> Date: Thu, 5 Feb 2026 16:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/solution/SolutionApplication.java | 10 + .../web/core/config/SwaggerConfig.java | 2 +- solution-ui/.editorconfig | 22 + solution-ui/.env.development | 11 + solution-ui/.env.production | 8 + solution-ui/.env.staging | 12 + solution-ui/src/views/index.vue | 1084 ----------------- solution-ui/vue.config.js | 2 +- 8 files changed, 65 insertions(+), 1086 deletions(-) create mode 100644 solution-ui/.editorconfig create mode 100644 solution-ui/.env.development create mode 100644 solution-ui/.env.production create mode 100644 solution-ui/.env.staging diff --git a/auto-solution-admin/src/main/java/com/solution/SolutionApplication.java b/auto-solution-admin/src/main/java/com/solution/SolutionApplication.java index b5a4355..281bd06 100644 --- a/auto-solution-admin/src/main/java/com/solution/SolutionApplication.java +++ b/auto-solution-admin/src/main/java/com/solution/SolutionApplication.java @@ -14,6 +14,16 @@ public class SolutionApplication { public static void main(String[] args) { SpringApplication.run(SolutionApplication.class, args); + System.out.println("(♥◠‿◠)ノ゙ 方案自动化生成启动成功 ლ(´ڡ`ლ)゙ \n" + + " .-------. ____ __ \n" + + " | _ _ \\ \\ \\ / / \n" + + " | ( ' ) | \\ _. / ' \n" + + " |(_ o _) / _( )_ .' \n" + + " | (_,_).' __ ___(_ o _)' \n" + + " | |\\ \\ | || |(_,_)' \n" + + " | | \\ `' /| `-' / \n" + + " | | \\ / \\ / \n" + + " ''-' `'-' `-..-' "); System.out.println("方案自动化生成启动成功"); } } diff --git a/auto-solution-admin/src/main/java/com/solution/web/core/config/SwaggerConfig.java b/auto-solution-admin/src/main/java/com/solution/web/core/config/SwaggerConfig.java index a57ef79..93c945c 100644 --- a/auto-solution-admin/src/main/java/com/solution/web/core/config/SwaggerConfig.java +++ b/auto-solution-admin/src/main/java/com/solution/web/core/config/SwaggerConfig.java @@ -113,7 +113,7 @@ public class SwaggerConfig // 用ApiInfoBuilder进行定制 return new ApiInfoBuilder() // 设置标题 - .title("标题:若依管理系统_接口文档") + .title("标题:自动化管理系统_接口文档") // 描述 .description("描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...") // 作者信息 diff --git a/solution-ui/.editorconfig b/solution-ui/.editorconfig new file mode 100644 index 0000000..7034f9b --- /dev/null +++ b/solution-ui/.editorconfig @@ -0,0 +1,22 @@ +# 告诉EditorConfig插件,这是根文件,不用继续往上查找 +root = true + +# 匹配全部文件 +[*] +# 设置字符集 +charset = utf-8 +# 缩进风格,可选space、tab +indent_style = space +# 缩进的空格数 +indent_size = 2 +# 结尾换行符,可选lf、cr、crlf +end_of_line = lf +# 在文件结尾插入新行 +insert_final_newline = true +# 删除一行中的前后空格 +trim_trailing_whitespace = true + +# 匹配md结尾的文件 +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false diff --git a/solution-ui/.env.development b/solution-ui/.env.development new file mode 100644 index 0000000..86f0e17 --- /dev/null +++ b/solution-ui/.env.development @@ -0,0 +1,11 @@ +# 页面标题 +VUE_APP_TITLE = 自动化管理系统 + +# 开发环境配置 +ENV = 'development' + +# 自动化管理系统/开发环境 +VUE_APP_BASE_API = '/dev-api' + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/solution-ui/.env.production b/solution-ui/.env.production new file mode 100644 index 0000000..48cb173 --- /dev/null +++ b/solution-ui/.env.production @@ -0,0 +1,8 @@ +# 页面标题 +VUE_APP_TITLE = 自动化管理系统 + +# 生产环境配置 +ENV = 'production' + +# 自动化管理系统/生产环境 +VUE_APP_BASE_API = '/prod-api' diff --git a/solution-ui/.env.staging b/solution-ui/.env.staging new file mode 100644 index 0000000..4f5809e --- /dev/null +++ b/solution-ui/.env.staging @@ -0,0 +1,12 @@ +# 页面标题 +VUE_APP_TITLE = 自动化管理系统 + +BABEL_ENV = production + +NODE_ENV = production + +# 测试环境配置 +ENV = 'staging' + +# 自动化管理系统/测试环境 +VUE_APP_BASE_API = '/stage-api' diff --git a/solution-ui/src/views/index.vue b/solution-ui/src/views/index.vue index e211a1b..42268e7 100644 --- a/solution-ui/src/views/index.vue +++ b/solution-ui/src/views/index.vue @@ -1,1092 +1,8 @@ diff --git a/solution-ui/vue.config.js b/solution-ui/vue.config.js index 94186fd..e6d30d7 100644 --- a/solution-ui/vue.config.js +++ b/solution-ui/vue.config.js @@ -11,7 +11,7 @@ const name = process.env.VUE_APP_TITLE || '自动化生成系统' // 网页标 const baseUrl = 'http://localhost:1777' // 后端接口 -const port = process.env.port || process.env.npm_config_port || 80 // 端口 +const port = process.env.port || process.env.npm_config_port || 1776 // 端口 // vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions