34 lines
927 B
YAML
34 lines
927 B
YAML
# 使用步骤
|
|
# 01 替换数据库连接信息及对应表 jdbc:*
|
|
# 02 替换模板映射关系 mapperInfos
|
|
# 03 替换作者信息 params:loser
|
|
# 04 替换模块 params:module
|
|
# 05 替换 controller 前缀 params:api
|
|
|
|
# 数据库连接信息
|
|
jdbc:
|
|
dbName: schisandra-cloud-storage
|
|
tableName: schisandra_oss_aws
|
|
url: jdbc:mysql://1.95.0.111:3306/
|
|
username: root
|
|
password: LDQ20020618xxx
|
|
driver: com.mysql.cj.jdbc.Driver
|
|
|
|
# 使用的模板与生成文件映射给关系
|
|
mapperInfos: genCode/Mapper.yml
|
|
|
|
# 全局参数
|
|
params:
|
|
# 作者
|
|
author: landaiqing
|
|
# 模块
|
|
module: oss
|
|
# controller 通用前缀
|
|
api: /oss/aws/
|
|
# 生成对象是否移除前缀
|
|
removePre: false
|
|
# 使用内置函数赋值给变量 FunctionUtils 中替换
|
|
genDate: now()
|
|
# win 需要补充模板具体目录
|
|
templateBasePath: E:/JavaProjects_IDEA/schisandra-cloud-storage/schisandra-cloud-storage-gen/src/main/resources
|