Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
szpt
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
以墨为白
szpt
Commits
2cc89a89
Commit
2cc89a89
authored
Feb 24, 2025
by
以墨为白
🎧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flyway
parent
3ca79c8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
pom.xml
pom.xml
+5
-5
src/main/java/com/zksy/szpt/config/SwaggerConfig.java
src/main/java/com/zksy/szpt/config/SwaggerConfig.java
+2
-0
src/main/resources/application-dev.yml
src/main/resources/application-dev.yml
+4
-4
No files found.
pom.xml
View file @
2cc89a89
...
...
@@ -139,11 +139,11 @@
<version>
1.3.7
</version>
</dependency>
<dependency
>
<groupId>
org.flywaydb
</groupId
>
<artifactId>
flyway-core
</artifactId
>
<version>
9.0.0
</version
>
</dependency
>
<!-- <dependency>--
>
<!-- <groupId>org.flywaydb</groupId>--
>
<!-- <artifactId>flyway-core</artifactId>--
>
<!-- <version>9.0.0</version>--
>
<!-- </dependency>--
>
</dependencies>
...
...
src/main/java/com/zksy/szpt/config/SwaggerConfig.java
View file @
2cc89a89
...
...
@@ -3,6 +3,7 @@ package com.zksy.szpt.config;
import
com.zksy.szpt.util.SignatureUtil
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Profile
;
import
springfox.documentation.builders.ApiInfoBuilder
;
import
springfox.documentation.builders.ParameterBuilder
;
import
springfox.documentation.builders.PathSelectors
;
...
...
@@ -24,6 +25,7 @@ import java.util.List;
*/
@Configuration
@EnableSwagger2
@Profile
(
"dev"
)
public
class
SwaggerConfig
{
@Bean
...
...
src/main/resources/application-dev.yml
View file @
2cc89a89
...
...
@@ -12,7 +12,7 @@ spring:
timeout
:
1000
host
:
192.168.168.110
flyway
:
user
:
root
password
:
123456
url
:
jdbc:mysql://192.168.168.110:3306/szpt?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=GMT%2B8
\ No newline at end of file
# flyway:
# user: root
# password: 123456
# url: jdbc:mysql://192.168.168.110:3306/szpt?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&failOverReadOnly=false&serverTimezone=GMT%2B8
\ No newline at end of file
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