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 334db6c3..bde44707 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 fbbb14df..00000000 --- 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 c521bb48..00000000 --- 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); - } -}