新增前后端分离代码生成器 菜单在维护-》代码生成
This commit is contained in:
@@ -7,7 +7,8 @@ crmeb:
|
||||
wechat-js-api-beta: true #微信js api是否是beta版本
|
||||
asyncConfig: false #是否同步config表数据到redis
|
||||
asyncWeChatProgramTempList: false #是否同步小程序公共模板库
|
||||
imagePath: /www/wwwroot/Crmeb-admin.jar Path/ # 服务器图片路径配置 斜杠结尾
|
||||
imagePath: /你的项目绝对路径/crmebimage/ # 服务器图片路径配置 斜杠结尾
|
||||
database: mysql
|
||||
|
||||
# 配置端口
|
||||
server:
|
||||
@@ -38,16 +39,16 @@ spring:
|
||||
datasource:
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://127.0.0.1:3306/crmeb_java_beta?characterEncoding=utf-8&useSSL=false&serverTimeZone=GMT+8
|
||||
username: root
|
||||
password: 123456
|
||||
url: jdbc:mysql://127.0.0.1:3306/crmeb_java_os?characterEncoding=utf-8&useSSL=false&serverTimeZone=GMT+8
|
||||
username: crmeb_java_os
|
||||
password: 111111
|
||||
|
||||
redis:
|
||||
host: 127.0.0.1 #地址
|
||||
port: 6379 #端口
|
||||
password: 123456
|
||||
password: 111111
|
||||
timeout: 30000 # 连接超时时间(毫秒)
|
||||
database: 3 #默认数据库
|
||||
database: 14 #默认数据库
|
||||
jedis:
|
||||
pool:
|
||||
max-active: 200 # 连接池最大连接数(使用负值表示没有限制)
|
||||
|
||||
65
crmeb/crmeb-admin/src/main/resources/generator.properties
Normal file
65
crmeb/crmeb-admin/src/main/resources/generator.properties
Normal file
@@ -0,0 +1,65 @@
|
||||
#\u4EE3\u7801\u751F\u6210\u5668\uFF0C\u914D\u7F6E\u4FE1\u606F
|
||||
|
||||
mainPath=com.zbkj
|
||||
#\u5305\u540D
|
||||
package=com.zbkj.modules
|
||||
moduleName=autogencode
|
||||
#\u4F5C\u8005
|
||||
author=\u5927\u7CBD\u5B50
|
||||
#Email
|
||||
email=stivepeim@outlook.com
|
||||
#\u8868\u524D\u7F00(\u7C7B\u540D\u4E0D\u4F1A\u5305\u542B\u8868\u524D\u7F00)
|
||||
tablePrefix=tb_
|
||||
|
||||
#\u7C7B\u578B\u8F6C\u6362\uFF0C\u914D\u7F6E\u4FE1\u606F
|
||||
tinyint=Integer
|
||||
smallint=Integer
|
||||
mediumint=Integer
|
||||
int=Integer
|
||||
integer=Integer
|
||||
bigint=Long
|
||||
float=Float
|
||||
double=Double
|
||||
decimal=BigDecimal
|
||||
bit=Boolean
|
||||
|
||||
char=String
|
||||
varchar=String
|
||||
tinytext=String
|
||||
text=String
|
||||
mediumtext=String
|
||||
longtext=String
|
||||
|
||||
|
||||
date=Date
|
||||
datetime=Date
|
||||
timestamp=Date
|
||||
|
||||
NUMBER=Integer
|
||||
INT=Integer
|
||||
INTEGER=Integer
|
||||
BINARY_INTEGER=Integer
|
||||
LONG=String
|
||||
FLOAT=Float
|
||||
BINARY_FLOAT=Float
|
||||
DOUBLE=Double
|
||||
BINARY_DOUBLE=Double
|
||||
DECIMAL=BigDecimal
|
||||
CHAR=String
|
||||
VARCHAR=String
|
||||
VARCHAR2=String
|
||||
NVARCHAR=String
|
||||
NVARCHAR2=String
|
||||
CLOB=String
|
||||
BLOB=String
|
||||
DATE=Date
|
||||
DATETIME=Date
|
||||
TIMESTAMP=Date
|
||||
TIMESTAMP(6)=Date
|
||||
|
||||
int8=Long
|
||||
int4=Integer
|
||||
int2=Integer
|
||||
numeric=BigDecimal
|
||||
|
||||
nvarchar=String
|
||||
Reference in New Issue
Block a user