From ef3171adf8bd6a7bb93f134459463da14d7a14d2 Mon Sep 17 00:00:00 2001 From: zhangdaihao Date: Mon, 25 Feb 2019 16:51:16 +0800 Subject: [PATCH] =?UTF-8?q?jeecg-boot=201.0=E7=89=88=E6=9C=AC=E5=8F=91?= =?UTF-8?q?=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/shiro/authc/util/JwtUtil.java | 2 +- .../main/resources/processes/MyProcess.bpmn | 40 ------------------- .../src/test/java/org/jeecg/ActivitiTest.java | 28 ------------- 3 files changed, 1 insertion(+), 69 deletions(-) delete mode 100644 jeecg-boot/src/main/resources/processes/MyProcess.bpmn delete mode 100644 jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java diff --git a/jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java b/jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java index 334db6c..bde4470 100644 --- a/jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java +++ b/jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java @@ -18,7 +18,7 @@ import org.jeecg.common.util.oConvertUtils; public class JwtUtil { // 过期时间30分钟 - public static final long EXPIRE_TIME = 1 * 60 * 1000; + public static final long EXPIRE_TIME = 30 * 60 * 1000; /** * 校验token是否正确 diff --git a/jeecg-boot/src/main/resources/processes/MyProcess.bpmn b/jeecg-boot/src/main/resources/processes/MyProcess.bpmn deleted file mode 100644 index fbbb14d..0000000 --- a/jeecg-boot/src/main/resources/processes/MyProcess.bpmn +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java b/jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java deleted file mode 100644 index c521bb4..0000000 --- a/jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.jeecg; - -import java.util.HashMap; -import java.util.Map; - -import org.activiti.engine.RuntimeService; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; - -@RunWith(SpringJUnit4ClassRunner.class) -@SpringBootTest(classes = JeecgApplication.class) -public class ActivitiTest { - - @Autowired - RuntimeService runtimeService; - - @Test - public void TestStartProcess() { - Map variables = new HashMap<>(); - variables.put("applyUserId", "admin"); - variables.put("email", "john.doe@activiti.com"); - variables.put("phoneNumber", "123456789"); - runtimeService.startProcessInstanceByKey("myProcess", variables); - } -} -- GitLab