From 5ebd05f0bbb5509dba3a7d5c576307b7b19adf78 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Wed, 12 Jul 2023 10:22:00 +0800
Subject: [PATCH] fix: 修补bug
---
screen-api/src/main/resources/application-dev.yml | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/screen-api/src/main/resources/application-dev.yml b/screen-api/src/main/resources/application-dev.yml
index d1498d7..ae6cbd3 100644
--- a/screen-api/src/main/resources/application-dev.yml
+++ b/screen-api/src/main/resources/application-dev.yml
@@ -13,13 +13,13 @@
spring:
profiles:
active: dev
- include: specialCity
+ include: bulletin, specialCity, announcement
application:
name: screen-api
redis:
host: r-bp1xdlb9wfc6zt0msp.redis.rds.aliyuncs.com
port: 6379
- password: moral_123456
+ password: moral_qx_12345
timeout: 30000
jedis:
pool:
@@ -36,7 +36,7 @@
tokenRedis:
host: r-bp1xdlb9wfc6zt0msp.redis.rds.aliyuncs.com
port: 6379
- password: moral_123456
+ password: moral_qx_12345
timeout: 30000
database: 15
pool:
@@ -55,8 +55,8 @@
type: com.alibaba.druid.pool.DruidDataSource
max-wait: 60000
url: jdbc:mysql://rm-bp1pr3rx9m3fnkwsk.mysql.rds.aliyuncs.com:3306/moral?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
- username: root
- password: moral_123456
+ username: moral_qx
+ password: moral_qx_12345
test-on-borrow: false
sql-script-encoding: utf-8
pool-prepared-statements: true
@@ -65,6 +65,12 @@
driver-class-name: com.mysql.cj.jdbc.Driver
max-conn-lifetime-millis: 20
test-on-return: false
+
+ servlet:
+ multipart:
+ enabled: true
+ max-file-size: 2MB
+ max-request-size: 2MB
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
@@ -116,6 +122,7 @@
- /swagger-ui.html/**
- /webjars/**
- /verificationCode/**
+ - /static/**
AES:
KEY:
--
Gitblit v1.8.0