Newer
Older
1、使用xml codetable
1.1、引用jar包
<dependency>
<artifactId>codetable-spring-boot-starter</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>
1.2、追加配置
codetable.enable = true
codetable.xml-file-location=classpath:/codetable/xml-code-table-*.xml
2、如果要使用db codetable
2.1、引用jar包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
<version>1.5.4.RELEASE</version>
</dependency>
2.2、追加配置
codetable.db-file-location=classpath:/codetable/db-code-table-*.xml
3、如果要再画面要使用code table,现在只开发了freemarker版本
3.1、引用jar包
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-freemarker</artifactId>
<version>1.5.4.RELEASE</version>
</dependency>
2.2、追加配置 ,不需要就不要设定
codetable.web-enable = true