diff --git a/zlt-business/code-generator/src/main/resources/application.yml b/zlt-business/code-generator/src/main/resources/application.yml index 3f985645..3fee8fa2 100644 --- a/zlt-business/code-generator/src/main/resources/application.yml +++ b/zlt-business/code-generator/src/main/resources/application.yml @@ -1,6 +1,6 @@ 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}:3306/tourist-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 @@ -19,4 +19,4 @@ springdoc: knife4j: enable: true setting: - swagger-model-name: 代码生成器接口文档 \ No newline at end of file + swagger-model-name: 代码生成器接口文档 diff --git a/zlt-business/code-generator/src/main/resources/generator.properties b/zlt-business/code-generator/src/main/resources/generator.properties index 2bf5e525..b23544ed 100644 --- a/zlt-business/code-generator/src/main/resources/generator.properties +++ b/zlt-business/code-generator/src/main/resources/generator.properties @@ -1,9 +1,9 @@ #包前缀 package=com.central #模块名,生成的类的package为:com.central.generator -moduleName=generator +moduleName=tourist #作者名 -author=zlt +author=lsl #Email email= #表前缀,如表tb_sys_user 生成类 sys_user @@ -30,4 +30,4 @@ longtext=String date=Date datetime=Date -timestamp=Date \ No newline at end of file +timestamp=Date diff --git a/zlt-business/tourist-center/src/main/java/com/central/TouristCenterApp.java b/zlt-business/tourist-center/src/main/java/com/central/TouristCenterApp.java index d55abc93..9d67146b 100644 --- a/zlt-business/tourist-center/src/main/java/com/central/TouristCenterApp.java +++ b/zlt-business/tourist-center/src/main/java/com/central/TouristCenterApp.java @@ -8,7 +8,7 @@ import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.transaction.annotation.EnableTransactionManagement; /** - * @author 作者 owen E-mail: 624191343@qq.com + * @author 作者 lsl E-mail: 624191343@qq.com */ @EnableDiscoveryClient @EnableSearchClient