feat(react-web-next): 新增.editorconfig和.prettierrc配置文件,添加public/.gitkeep占位文件
This commit is contained in:
@@ -1,75 +1,75 @@
|
||||
spring:
|
||||
datasource:
|
||||
# url: jdbc:mysql://${zlt.datasource.ip}:3306/user-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
||||
url: jdbc:mysql://${zlt.datasource.ip}/user-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
||||
username: ${zlt.datasource.username}
|
||||
password: ${zlt.datasource.password}
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath:/mapper/*Mapper.xml
|
||||
#实体扫描,多个package用逗号或者分号分隔
|
||||
typeAliasesPackage: com.central.common.model
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
|
||||
springdoc:
|
||||
group-configs:
|
||||
- group: 'default'
|
||||
paths-to-match: '/**'
|
||||
packages-to-scan: com.central.user.controller
|
||||
|
||||
knife4j:
|
||||
enable: true
|
||||
setting:
|
||||
swagger-model-name: 用户中心接口文档
|
||||
|
||||
zlt:
|
||||
cache-manager:
|
||||
configs:
|
||||
- key: menu
|
||||
second: 300
|
||||
- key: user
|
||||
second: 1800
|
||||
#多租户配置
|
||||
tenant:
|
||||
enable: true
|
||||
ignoreTables:
|
||||
- sys_user
|
||||
- sys_role_user
|
||||
- sys_role_menu
|
||||
- wechat_config
|
||||
ignoreSqls:
|
||||
# 用户关联角色时,显示所有角色
|
||||
- com.central.user.mapper.SysRoleMapper.findAll
|
||||
# 用户列表显示用户所关联的所有角色
|
||||
- com.central.user.mapper.SysUserRoleMapper.findRolesByUserIds
|
||||
# 数据权限
|
||||
datascope:
|
||||
enabled: false
|
||||
ignoreTables:
|
||||
- sys_role_user
|
||||
- sys_role_menu
|
||||
includeSqls:
|
||||
# 用户列表
|
||||
- com.central.user.mapper.SysUserMapper.findList
|
||||
# 角色列表
|
||||
- com.central.user.mapper.SysRoleMapper.findList
|
||||
# 菜单列表
|
||||
- com.central.user.mapper.SysMenuMapper.selectList
|
||||
|
||||
tencent:
|
||||
app-id: ${zlt.security.tencent.app-id}
|
||||
app-secret: ${zlt.security.tencent.app-secret}
|
||||
access-token-url: https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=
|
||||
get-phonenumber-url: https://api.weixin.qq.com/cgi-bin/token
|
||||
#审计日志
|
||||
# audit-log:
|
||||
# enabled: true
|
||||
# log-type: db
|
||||
# datasource:
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# jdbc-url: jdbc:mysql://${zlt.datasource.ip}:3306/logger-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
||||
# username: ${zlt.datasource.username}
|
||||
# password: ${zlt.datasource.password}
|
||||
#spring:
|
||||
# datasource:
|
||||
## url: jdbc:mysql://${zlt.datasource.ip}:3306/user-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
||||
# url: jdbc:mysql://${zlt.datasource.ip}/user-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
||||
# username: ${zlt.datasource.username}
|
||||
# password: ${zlt.datasource.password}
|
||||
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
#
|
||||
#mybatis-plus:
|
||||
# mapper-locations: classpath:/mapper/*Mapper.xml
|
||||
# #实体扫描,多个package用逗号或者分号分隔
|
||||
# typeAliasesPackage: com.central.common.model
|
||||
# global-config:
|
||||
# db-config:
|
||||
# id-type: auto
|
||||
#
|
||||
#springdoc:
|
||||
# group-configs:
|
||||
# - group: 'default'
|
||||
# paths-to-match: '/**'
|
||||
# packages-to-scan: com.central.user.controller
|
||||
#
|
||||
#knife4j:
|
||||
# enable: true
|
||||
# setting:
|
||||
# swagger-model-name: 用户中心接口文档
|
||||
#
|
||||
#zlt:
|
||||
# cache-manager:
|
||||
# configs:
|
||||
# - key: menu
|
||||
# second: 300
|
||||
# - key: user
|
||||
# second: 1800
|
||||
# #多租户配置
|
||||
# tenant:
|
||||
# enable: true
|
||||
# ignoreTables:
|
||||
# - sys_user
|
||||
# - sys_role_user
|
||||
# - sys_role_menu
|
||||
# - wechat_config
|
||||
# ignoreSqls:
|
||||
# # 用户关联角色时,显示所有角色
|
||||
# - com.central.user.mapper.SysRoleMapper.findAll
|
||||
# # 用户列表显示用户所关联的所有角色
|
||||
# - com.central.user.mapper.SysUserRoleMapper.findRolesByUserIds
|
||||
# # 数据权限
|
||||
# datascope:
|
||||
# enabled: false
|
||||
# ignoreTables:
|
||||
# - sys_role_user
|
||||
# - sys_role_menu
|
||||
# includeSqls:
|
||||
# # 用户列表
|
||||
# - com.central.user.mapper.SysUserMapper.findList
|
||||
# # 角色列表
|
||||
# - com.central.user.mapper.SysRoleMapper.findList
|
||||
# # 菜单列表
|
||||
# - com.central.user.mapper.SysMenuMapper.selectList
|
||||
#
|
||||
# tencent:
|
||||
# app-id: ${zlt.security.tencent.app-id}
|
||||
# app-secret: ${zlt.security.tencent.app-secret}
|
||||
# access-token-url: https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=
|
||||
# get-phonenumber-url: https://api.weixin.qq.com/cgi-bin/token
|
||||
##审计日志
|
||||
## audit-log:
|
||||
## enabled: true
|
||||
## log-type: db
|
||||
## datasource:
|
||||
## driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
## jdbc-url: jdbc:mysql://${zlt.datasource.ip}:3306/logger-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
|
||||
## username: ${zlt.datasource.username}
|
||||
## password: ${zlt.datasource.password}
|
||||
|
||||
@@ -4,10 +4,10 @@ server:
|
||||
spring:
|
||||
application:
|
||||
name: user-center
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
ip: 124.222.128.40
|
||||
# cloud:
|
||||
# nacos:
|
||||
# discovery:
|
||||
# ip: 124.222.128.40
|
||||
# cloud:
|
||||
# nacos:
|
||||
# discovery:
|
||||
|
||||
Reference in New Issue
Block a user