diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml new file mode 100644 index 0000000..6edf93c --- /dev/null +++ b/src/main/resources/application-dev.yml @@ -0,0 +1,19 @@ +spring: + # 配置数据库 + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://mysql8:3306/learning_progress_tracker?allowPublicKeyRetrieval=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 + username: root + password: GUOxy5157 +server: + port: 5157 + +cors: + allowed-origins: + - http://192.168.123.199:5158 + - http://39.105.149.197:8115 + - https://lpt.cat-shark.xyz + +sa-token: + cookie: + secure: true