fix[代码生成模块]:配置文件修改
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user