mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
fix(启动报错): 启动报错问题修复
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -39,11 +39,12 @@ spring:
|
||||
|
||||
|
||||
|
||||
# redis 配置
|
||||
# redis 配置
|
||||
spring.data:
|
||||
redis:
|
||||
host: localhost # 地址
|
||||
port: 6379 # 端口,默认为6379
|
||||
database: 15 # 数据库索引
|
||||
database: 10 # 数据库索引
|
||||
password: fastbee # 密码
|
||||
timeout: 10s # 连接超时时间
|
||||
lettuce:
|
||||
|
||||
@@ -38,6 +38,7 @@ spring:
|
||||
# password: fastbee
|
||||
|
||||
# redis 配置
|
||||
spring.data:
|
||||
redis:
|
||||
host: 177.7.0.10 # 地址
|
||||
port: 6379 # 端口,默认为6379
|
||||
|
||||
@@ -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 # 同上,另外增加编号,(可保持默认)
|
||||
|
||||
@@ -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:
|
||||
# 主键类型
|
||||
|
||||
Reference in New Issue
Block a user