初始化项目
This commit is contained in:
@@ -14,6 +14,16 @@ public class SolutionApplication
|
|||||||
{
|
{
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
SpringApplication.run(SolutionApplication.class, args);
|
SpringApplication.run(SolutionApplication.class, args);
|
||||||
|
System.out.println("(♥◠‿◠)ノ゙ 方案自动化生成启动成功 ლ(´ڡ`ლ)゙ \n" +
|
||||||
|
" .-------. ____ __ \n" +
|
||||||
|
" | _ _ \\ \\ \\ / / \n" +
|
||||||
|
" | ( ' ) | \\ _. / ' \n" +
|
||||||
|
" |(_ o _) / _( )_ .' \n" +
|
||||||
|
" | (_,_).' __ ___(_ o _)' \n" +
|
||||||
|
" | |\\ \\ | || |(_,_)' \n" +
|
||||||
|
" | | \\ `' /| `-' / \n" +
|
||||||
|
" | | \\ / \\ / \n" +
|
||||||
|
" ''-' `'-' `-..-' ");
|
||||||
System.out.println("方案自动化生成启动成功");
|
System.out.println("方案自动化生成启动成功");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ public class SwaggerConfig
|
|||||||
// 用ApiInfoBuilder进行定制
|
// 用ApiInfoBuilder进行定制
|
||||||
return new ApiInfoBuilder()
|
return new ApiInfoBuilder()
|
||||||
// 设置标题
|
// 设置标题
|
||||||
.title("标题:若依管理系统_接口文档")
|
.title("标题:自动化管理系统_接口文档")
|
||||||
// 描述
|
// 描述
|
||||||
.description("描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...")
|
.description("描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...")
|
||||||
// 作者信息
|
// 作者信息
|
||||||
|
|||||||
22
solution-ui/.editorconfig
Normal file
22
solution-ui/.editorconfig
Normal file
@@ -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
|
||||||
11
solution-ui/.env.development
Normal file
11
solution-ui/.env.development
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# 页面标题
|
||||||
|
VUE_APP_TITLE = 自动化管理系统
|
||||||
|
|
||||||
|
# 开发环境配置
|
||||||
|
ENV = 'development'
|
||||||
|
|
||||||
|
# 自动化管理系统/开发环境
|
||||||
|
VUE_APP_BASE_API = '/dev-api'
|
||||||
|
|
||||||
|
# 路由懒加载
|
||||||
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||||
8
solution-ui/.env.production
Normal file
8
solution-ui/.env.production
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# 页面标题
|
||||||
|
VUE_APP_TITLE = 自动化管理系统
|
||||||
|
|
||||||
|
# 生产环境配置
|
||||||
|
ENV = 'production'
|
||||||
|
|
||||||
|
# 自动化管理系统/生产环境
|
||||||
|
VUE_APP_BASE_API = '/prod-api'
|
||||||
12
solution-ui/.env.staging
Normal file
12
solution-ui/.env.staging
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# 页面标题
|
||||||
|
VUE_APP_TITLE = 自动化管理系统
|
||||||
|
|
||||||
|
BABEL_ENV = production
|
||||||
|
|
||||||
|
NODE_ENV = production
|
||||||
|
|
||||||
|
# 测试环境配置
|
||||||
|
ENV = 'staging'
|
||||||
|
|
||||||
|
# 自动化管理系统/测试环境
|
||||||
|
VUE_APP_BASE_API = '/stage-api'
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -11,7 +11,7 @@ const name = process.env.VUE_APP_TITLE || '自动化生成系统' // 网页标
|
|||||||
|
|
||||||
const baseUrl = 'http://localhost:1777' // 后端接口
|
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 配置说明
|
||||||
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
//官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
|
||||||
|
|||||||
Reference in New Issue
Block a user