Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
a99a7283
Commit
a99a7283
authored
Oct 22, 2020
by
wujj
Browse files
配置
parent
77f63cee
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/mcms-5.1.sql
View file @
a99a7283
-- MySQL dump 10.13 Distrib 5.6.40, for Win64 (x86_64)
--
-- Host: 192.168.0.8 Database: mcms-dev-5.1-1
-- ------------------------------------------------------
-- Server version 5.7.31
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
...
@@ -15,14 +10,6 @@
...
@@ -15,14 +10,6 @@
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */
;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */
;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */
;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */
;
--
-- Current Database: `mcms-dev-5.1-1`
--
CREATE
DATABASE
/*!32312 IF NOT EXISTS*/
`mcms-dev-5.1-1`
/*!40100 DEFAULT CHARACTER SET utf8 */
;
USE
`mcms-dev-5.1-1`
;
--
--
-- Table structure for table `app`
-- Table structure for table `app`
--
--
...
...
pom.xml
View file @
a99a7283
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
net.mingsoft
</groupId>
<groupId>
net.mingsoft
</groupId>
<artifactId>
ms-mcms
</artifactId>
<artifactId>
ms-mcms
</artifactId>
<version>
5.
1
</version>
<version>
5.
2-SNAPSHOT
</version>
<name>
ms-mcms
</name>
<name>
ms-mcms
</name>
<!-- 打包jar包 -->
<!-- 打包jar包 -->
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
...
@@ -98,14 +98,13 @@
...
@@ -98,14 +98,13 @@
</plugins>
</plugins>
<resources>
<resources>
<resource>
<resource>
<filtering>
true
</filtering>
<directory>
src/main/webapp
</directory>
<directory>
src/main/webapp
</directory>
<excludes>
<excludes>
<!--打包生产 -->
<!--打包生产 -->
<!--
<exclude>static/</exclude>
-->
<exclude>
static/
</exclude>
<!--
<exclude>html/</exclude>
-->
<exclude>
html/
</exclude>
<!--
<exclude>upload/</exclude>
-->
<exclude>
upload/
</exclude>
<!--
<exclude>templets/</exclude>
-->
<exclude>
templets/
</exclude>
</excludes>
</excludes>
</resource>
</resource>
<resource>
<resource>
...
@@ -113,6 +112,9 @@
...
@@ -113,6 +112,9 @@
</resource>
</resource>
<resource>
<resource>
<directory>
src/main/java
</directory>
<directory>
src/main/java
</directory>
<excludes>
<exclude>
**/*.java
</exclude>
</excludes>
</resource>
</resource>
</resources>
</resources>
<defaultGoal>
compile
</defaultGoal>
<defaultGoal>
compile
</defaultGoal>
...
...
src/main/resources/application-test.yml
View file @
a99a7283
spring
:
spring
:
datasource
:
datasource
:
url
:
jdbc:mysql://192.168.0.8:3316/mcms-5.
1
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://192.168.0.8:3316/mcms-5.
2
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
username
:
mcms
username
:
mcms
password
:
mcms
password
:
mcms
filters
:
wall,mergeStat
filters
:
wall,mergeStat
...
...
src/main/resources/application.yml
View file @
a99a7283
server
:
server
:
port
:
8080
port
:
5107
servlet.session.timeout
:
P0DT60M0S
#D天H小时M分钟S秒,字符T是紧跟在时分秒之前的,每个单位都必须由数字开始,且时分秒顺序不能乱
servlet.session.timeout
:
P0DT60M0S
#D天H小时M分钟S秒,字符T是紧跟在时分秒之前的,每个单位都必须由数字开始,且时分秒顺序不能乱
# ssl: #https证书配置 配置了之后只能通过https访问应用
# ssl: #https证书配置 配置了之后只能通过https访问应用
# key-store: ms.pfx 证书文件
# key-store: ms.pfx 证书文件
...
@@ -23,8 +23,8 @@ ms:
...
@@ -23,8 +23,8 @@ ms:
upload
:
upload
:
enable-web
:
true
#启用web层的上传
enable-web
:
true
#启用web层的上传
template
:
templ
ate
#模板文件夹支持重命名,不支持路径
template
:
templ
ets
#模板文件夹支持重命名,不支持路径
path
:
D:\gitbck
#文件上传路径,可以根据实际写绝对路径
path
:
upload
#文件上传路径,可以根据实际写绝对路径
mapping
:
/upload/**
#修改需要谨慎,系统第一次部署可以随意修改,如果已经有了上传数据,再次修改会导致之前上传的文件404
mapping
:
/upload/**
#修改需要谨慎,系统第一次部署可以随意修改,如果已经有了上传数据,再次修改会导致之前上传的文件404
denied
:
.exe,.jsp
denied
:
.exe,.jsp
back-up
:
/upload_back
back-up
:
/upload_back
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment