2020-07-03 23:40:14 +08:00
|
|
|
spring:
|
|
|
|
# Application 的配置项
|
|
|
|
application:
|
|
|
|
name: system-service
|
|
|
|
# Profile 的配置项
|
|
|
|
profiles:
|
|
|
|
active: local
|
|
|
|
|
|
|
|
# MyBatis Plus 配置项
|
|
|
|
mybatis-plus:
|
|
|
|
configuration:
|
|
|
|
map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
|
|
|
|
global-config:
|
|
|
|
db-config:
|
|
|
|
id-type: auto
|
|
|
|
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
|
|
|
|
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
|
|
|
|
mapper-locations: classpath*:mapper/*.xml
|
|
|
|
type-aliases-package: cn.iocoder.mall.systemservice.dal.mysql.dataobject
|
|
|
|
|
|
|
|
# Dubbo 配置项
|
|
|
|
dubbo:
|
|
|
|
# Spring Cloud Alibaba Dubbo 专属配置
|
|
|
|
cloud:
|
|
|
|
subscribed-services: '' # 设置订阅的应用列表,默认为 * 订阅所有应用
|
|
|
|
# Dubbo 提供者的协议
|
|
|
|
protocol:
|
|
|
|
name: dubbo
|
|
|
|
port: -1
|
|
|
|
# Dubbo 提供服务的扫描基础包
|
|
|
|
scan:
|
|
|
|
base-packages: cn.iocoder.mall.systemservice.rpc
|
|
|
|
# Dubbo 服务提供者的配置
|
|
|
|
provider:
|
|
|
|
filter: -exception
|
|
|
|
OAuth2Rpc:
|
|
|
|
version: 1.0.0
|
2020-07-04 16:20:33 +08:00
|
|
|
AdminRpc:
|
|
|
|
version: 1.0.0
|
2020-07-04 21:00:34 +08:00
|
|
|
SystemLogRPC:
|
|
|
|
version: 1.0.0
|
2020-07-07 21:14:35 +08:00
|
|
|
ResourceRpc:
|
|
|
|
version: 1.0.0
|
2020-07-08 13:07:12 +08:00
|
|
|
RoleRpc:
|
|
|
|
version: 1.0.0
|
2020-07-13 07:50:07 +08:00
|
|
|
PermissionRpc:
|
|
|
|
version: 1.0.0
|
2020-07-14 19:31:27 +08:00
|
|
|
DepartmentRpc:
|
|
|
|
version: 1.0.0
|