|
|
spring:
|
|
|
application:
|
|
|
name: ms-user
|
|
|
profiles:
|
|
|
active: dev
|
|
|
http:
|
|
|
multipart:
|
|
|
enabled: true
|
|
|
max-file-size: 100MB
|
|
|
max-request-size: 100MB
|
|
|
server:
|
|
|
port: 7022
|
|
|
|
|
|
#mybatis
|
|
|
mybatis-plus:
|
|
|
mapper-locations: classpath*:mapper/*Mapper.xml,classpath*:com/charge/saas/mapper/xml/*Mapper.xml
|
|
|
#实体扫描,多个package用逗号或者分号分隔
|
|
|
typeAliasesPackage: com.charge.user.entity,com.charge.saas.entity
|
|
|
global-config:
|
|
|
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
|
|
|
id-type: 2
|
|
|
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
|
|
|
field-strategy: 1
|
|
|
#驼峰下划线转换
|
|
|
db-column-underline: true
|
|
|
#刷新mapper 调试神器
|
|
|
refresh-mapper: true
|
|
|
#数据库大写下划线转换
|
|
|
#capital-mode: true
|
|
|
#序列接口实现类配置,不在推荐使用此方式进行配置,请使用自定义bean注入
|
|
|
# key-generator: com.baomidou.mybatisplus.incrementer.H2KeyGenerator
|
|
|
#逻辑删除配置(下面3个配置)
|
|
|
logic-delete-value: 0
|
|
|
logic-not-delete-value: 1
|
|
|
#自定义sql注入器,不在推荐使用此方式进行配置,请使用自定义bean注入
|
|
|
sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
|
|
|
#自定义填充策略接口实现,不在推荐使用此方式进行配置,请使用自定义bean注入
|
|
|
# meta-object-handler: com.baomidou.springboot.MyMetaObjectHandler
|
|
|
#自定义SQL注入器
|
|
|
#sql-injector: com.baomidou.springboot.xxx
|
|
|
# SQL 解析缓存,开启后多租户 @SqlParser 注解生效
|
|
|
sql-parser-cache: true
|
|
|
configuration:
|
|
|
map-underscore-to-camel-case: true
|
|
|
cache-enabled: false
|
|
|
|
|
|
# 分页插件
|
|
|
pagehelper:
|
|
|
helperDialect: mysql
|
|
|
reasonable: true
|
|
|
supportMethodsArguments: true
|
|
|
params: count=countSql
|
|
|
|
|
|
# 阿里云短信
|
|
|
aliSms:
|
|
|
product: Dysmsapi
|
|
|
domain: dysmsapi.aliyuncs.com
|
|
|
accessKeyId: LTAI4G3v2pxUaSTbuiHH2FCy
|
|
|
accessKeySecret: PMXAuT3fiknhtM3YlR59SfW9BFXu62
|
|
|
regionId: cn-hangzhou
|
|
|
endponitName: cn-hangzhou
|
|
|
companyBalance:
|
|
|
signName: 快卜新能源
|
|
|
templateCode: SMS_200181031 |