fix[代码生成模块]:配置文件修改

This commit is contained in:
2024-12-24 17:52:21 +08:00
parent d097180549
commit db17e4c6e9
3 changed files with 6 additions and 6 deletions
@@ -1,6 +1,6 @@
spring: spring:
datasource: 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}:3306/tourist-center?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai
username: ${zlt.datasource.username} username: ${zlt.datasource.username}
password: ${zlt.datasource.password} password: ${zlt.datasource.password}
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
@@ -1,9 +1,9 @@
#包前缀 #包前缀
package=com.central package=com.central
#模块名,生成的类的package为:com.central.generator #模块名,生成的类的package为:com.central.generator
moduleName=generator moduleName=tourist
#作者名 #作者名
author=zlt author=lsl
#Email #Email
email= email=
#表前缀,如表tb_sys_user 生成类 sys_user #表前缀,如表tb_sys_user 生成类 sys_user
@@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement; import org.springframework.transaction.annotation.EnableTransactionManagement;
/** /**
* @author 作者 owen E-mail: 624191343@qq.com * @author 作者 lsl E-mail: 624191343@qq.com
*/ */
@EnableDiscoveryClient @EnableDiscoveryClient
@EnableSearchClient @EnableSearchClient