Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
0ae277b9
Commit
0ae277b9
authored
Jul 10, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复启动错误的bug
parent
ac30f2f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
guns-rest/pom.xml
+5
-0
guns-rest/src/main/java/com/stylefeng/guns/rest/GunsRestApplication.java
+1
-1
guns-rest/src/main/resources/application.yml
+2
-2
No files found.
guns-rest/pom.xml
View file @
0ae277b9
...
...
@@ -36,6 +36,11 @@
<groupId>
com.stylefeng
</groupId>
<artifactId>
guns-core
</artifactId>
</dependency>
<dependency>
<groupId>
log4j
</groupId>
<artifactId>
log4j
</artifactId>
<version>
1.2.17
</version>
</dependency>
</dependencies>
<build>
...
...
guns-rest/src/main/java/com/stylefeng/guns/rest/GunsRestApplication.java
View file @
0ae277b9
...
...
@@ -3,7 +3,7 @@ package com.stylefeng.guns.rest;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
@SpringBootApplication
(
scanBasePackages
=
{
"com.stylefeng.guns"
})
@SpringBootApplication
public
class
GunsRestApplication
{
public
static
void
main
(
String
[]
args
)
{
...
...
guns-rest/src/main/resources/application.yml
View file @
0ae277b9
...
...
@@ -10,7 +10,7 @@ jwt:
md5-key
:
randomKey
#md5加密混淆key
server
:
port
:
80
#项目端口
port
:
80
80
#项目端口
mybatis-plus
:
mapper-locations
:
classpath*:com/stylefeng/guns/rest/**/mapping/*.xml
...
...
@@ -28,7 +28,7 @@ mybatis-plus:
spring
:
datasource
:
url
:
jdbc:mysql://127.0.0.1:3306/guns_rest?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=
convertToNull
url
:
jdbc:mysql://127.0.0.1:3306/guns_rest?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=
CONVERT_TO_NULL&useSSL=false&serverTimezone=UTC
username
:
root
password
:
root
filters
:
log4j,wall,mergeStat
...
...
Write
Preview
Markdown
is supported
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