fix[代码生成模块]:配置文件修改
This commit is contained in:
@@ -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: 代码生成器接口文档
|
||||
swagger-model-name: 代码生成器接口文档
|
||||
|
||||
@@ -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
|
||||
timestamp=Date
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user