mirror of
https://gitee.com/huoyo/ko-time.git
synced 2025-12-07 17:28:27 +08:00
add freemarker
This commit is contained in:
parent
7c727bc291
commit
44ea4dbd77
13
README.md
13
README.md
@ -107,8 +107,19 @@ public class RunTimeHandler implements ComputeTimeHandlerInterface {
|
|||||||
> V1.4:添加koTime.pointcut配置
|
> V1.4:添加koTime.pointcut配置
|
||||||
|
|
||||||
> V1.5:剔除lombok
|
> V1.5:剔除lombok
|
||||||
|
|
||||||
#### 特别说明
|
#### 特别说明
|
||||||
|
|
||||||
本项目使用java8开发,其他版本未曾试验,如有什么bug还请告知!
|
1.本项目使用java8开发,其他版本未曾试验,如有什么bug还请告知!
|
||||||
|
|
||||||
|
2.项目中使用了freemarker模板,v1.5及一下版本需要自行引入
|
||||||
|
|
||||||
|
```
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||||||
|
<version>xxxx</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
12
pom.xml
12
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>cn.langpy</groupId>
|
<groupId>cn.langpy</groupId>
|
||||||
<artifactId>ko-time</artifactId>
|
<artifactId>ko-time</artifactId>
|
||||||
<version>1.5</version>
|
<version>1.6</version>
|
||||||
<name>koTime</name>
|
<name>koTime</name>
|
||||||
<description>koTime</description>
|
<description>koTime</description>
|
||||||
<licenses>
|
<licenses>
|
||||||
@ -29,11 +29,6 @@
|
|||||||
<version>5.2.7.RELEASE</version>
|
<version>5.2.7.RELEASE</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.projectlombok</groupId>
|
|
||||||
<artifactId>lombok</artifactId>
|
|
||||||
<version>1.16.20</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.aspectj</groupId>
|
<groupId>org.aspectj</groupId>
|
||||||
<artifactId>aspectjweaver</artifactId>
|
<artifactId>aspectjweaver</artifactId>
|
||||||
@ -52,6 +47,11 @@
|
|||||||
<version>2.3.1.RELEASE</version>
|
<version>2.3.1.RELEASE</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||||||
|
<version>2.3.6.RELEASE</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.tomcat.embed</groupId>
|
<groupId>org.apache.tomcat.embed</groupId>
|
||||||
<artifactId>tomcat-embed-core</artifactId>
|
<artifactId>tomcat-embed-core</artifactId>
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
package cn.langpy.kotime.service;
|
package cn.langpy.kotime.service;
|
||||||
|
|
||||||
|
|
||||||
import cn.langpy.kotime.handler.ComputeTimeHandler;
|
|
||||||
import cn.langpy.kotime.model.RunTimeNode;
|
import cn.langpy.kotime.model.RunTimeNode;
|
||||||
import cn.langpy.kotime.util.Common;
|
import cn.langpy.kotime.util.Common;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.aopalliance.intercept.MethodInvocation;
|
import org.aopalliance.intercept.MethodInvocation;
|
||||||
import org.aspectj.lang.ProceedingJoinPoint;
|
import org.aspectj.lang.ProceedingJoinPoint;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
package cn.langpy.kotime.util;
|
package cn.langpy.kotime.util;
|
||||||
import cn.langpy.kotime.model.KoTimeConfig;
|
import cn.langpy.kotime.model.KoTimeConfig;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
|
|
||||||
public class Context {
|
public class Context {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user