fix(启动报错): 启动报错问题修复

This commit is contained in:
zhuangpeng.li
2025-04-28 10:11:16 +08:00
parent 4d8e1c5167
commit efe562f7e6
9 changed files with 53 additions and 61 deletions

View File

@@ -10,7 +10,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* @author ruoyi
*/
@SpringBootApplication
@ForestScan(basePackages = "com.fastbee")
public class FastBeeApplication
{
public static void main(String[] args)

View File

@@ -39,11 +39,12 @@ spring:
# redis 配置
# redis 配置
spring.data:
redis:
host: localhost # 地址
port: 6379 # 端口默认为6379
database: 15 # 数据库索引
database: 10 # 数据库索引
password: fastbee # 密码
timeout: 10s # 连接超时时间
lettuce:

View File

@@ -38,6 +38,7 @@ spring:
# password: fastbee
# redis 配置
spring.data:
redis:
host: 177.7.0.10 # 地址
port: 6379 # 端口默认为6379

View File

@@ -66,10 +66,11 @@ spring:
# redis 配置
spring.data:
redis:
host: 81.71.97.58 # 地址
host: 192.168.5.12 # 地址
port: 6379 # 端口默认为6379
database: 11 # 数据库索引
database: 11 # 数据库索引
password: fastbee # 密码
timeout: 10s # 连接超时时间
lettuce:
@@ -85,7 +86,7 @@ sip:
## 本地调试时绑定网卡局域网IP设备在同一局域网设备接入IP填写绑定IP
## 部署服务端时默认绑定容器IP设备接入IP填写服务器公网IP
#ip: 177.7.0.13
ip: 192.168.5.27
ip: 192.168.5.12
port: 5061 # SIP端口(保持默认)
domain: 3402000000 # 由省级、市级、区级、基层编号组成
id: 34020000002000000001 # 同上,另外增加编号,(可保持默认)

View File

@@ -35,6 +35,11 @@ spring:
# 环境配置dev=开发环境prod=生产环境
profiles:
active: prod # 环境配置dev=开发环境prod=生产环境
main:
allow-circular-references: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# 资源信息
messages:
# 国际化资源文件路径
@@ -90,15 +95,11 @@ token:
# mybatis-plus配置
mybatis-plus:
# 自定义配置 是否全局开启逻辑删除 关闭后 所有逻辑删除功能将失效
enableLogicDelete: true
# 多包名使用 例如 org.dromara.**.mapper,org.xxx.**.mapper
mapperPackage: com.fastbee.**.mapper
# 对应的 XML 文件位置
# 搜索指定包别名
typeAliasesPackage: com.fastbee.**.domain
# 配置mapper的扫描找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
configLocation: classpath:mybatis/mybatis-config.xml # 加载全局的配置文件
# 实体扫描多个package用逗号或者分号分隔
typeAliasesPackage: org.dromara.**.domain
global-config:
dbConfig:
# 主键类型