Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jeecg
jeecg-boot
提交
ef3171ad
J
jeecg-boot
项目概览
jeecg
/
jeecg-boot
上一次同步 3 年多
通知
865
Star
24375
Fork
84
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jeecg-boot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ef3171ad
编写于
2月 25, 2019
作者:
JEECG低代码平台
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
jeecg-boot 1.0版本发布
上级
d6ba65a1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
1 addition
and
69 deletion
+1
-69
jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java
...main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java
+1
-1
jeecg-boot/src/main/resources/processes/MyProcess.bpmn
jeecg-boot/src/main/resources/processes/MyProcess.bpmn
+0
-40
jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java
jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java
+0
-28
未找到文件。
jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java
浏览文件 @
ef3171ad
...
...
@@ -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是否正确
...
...
jeecg-boot/src/main/resources/processes/MyProcess.bpmn
已删除
100644 → 0
浏览文件 @
d6ba65a1
<?xml version="1.0" encoding="UTF-8"?>
<definitions
xmlns=
"http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:activiti=
"http://activiti.org/bpmn"
xmlns:bpmndi=
"http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:omgdc=
"http://www.omg.org/spec/DD/20100524/DC"
xmlns:omgdi=
"http://www.omg.org/spec/DD/20100524/DI"
typeLanguage=
"http://www.w3.org/2001/XMLSchema"
expressionLanguage=
"http://www.w3.org/1999/XPath"
targetNamespace=
"http://www.activiti.org/test"
>
<process
id=
"myProcess"
name=
"My process"
isExecutable=
"true"
>
<endEvent
id=
"endevent1"
name=
"End"
></endEvent>
<userTask
id=
"zongtask"
name=
"总经理审批"
activiti:assignee=
"admin"
></userTask>
<sequenceFlow
id=
"flow2"
sourceRef=
"zongtask"
targetRef=
"endevent1"
></sequenceFlow>
<userTask
id=
"departtask"
name=
"部门经理审批"
activiti:assignee=
"scott"
></userTask>
<startEvent
id=
"startevent1"
name=
"Start"
activiti:initiator=
"applyUserId"
></startEvent>
<sequenceFlow
id=
"flow3"
sourceRef=
"startevent1"
targetRef=
"departtask"
></sequenceFlow>
<sequenceFlow
id=
"flow4"
sourceRef=
"departtask"
targetRef=
"zongtask"
></sequenceFlow>
</process>
<bpmndi:BPMNDiagram
id=
"BPMNDiagram_myProcess"
>
<bpmndi:BPMNPlane
bpmnElement=
"myProcess"
id=
"BPMNPlane_myProcess"
>
<bpmndi:BPMNShape
bpmnElement=
"endevent1"
id=
"BPMNShape_endevent1"
>
<omgdc:Bounds
height=
"35.0"
width=
"35.0"
x=
"810.0"
y=
"250.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"zongtask"
id=
"BPMNShape_zongtask"
>
<omgdc:Bounds
height=
"55.0"
width=
"105.0"
x=
"626.0"
y=
"240.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"departtask"
id=
"BPMNShape_departtask"
>
<omgdc:Bounds
height=
"55.0"
width=
"105.0"
x=
"422.0"
y=
"240.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape
bpmnElement=
"startevent1"
id=
"BPMNShape_startevent1"
>
<omgdc:Bounds
height=
"35.0"
width=
"35.0"
x=
"250.0"
y=
"250.0"
></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge
bpmnElement=
"flow2"
id=
"BPMNEdge_flow2"
>
<omgdi:waypoint
x=
"731.0"
y=
"267.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"810.0"
y=
"267.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow3"
id=
"BPMNEdge_flow3"
>
<omgdi:waypoint
x=
"285.0"
y=
"267.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"422.0"
y=
"267.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge
bpmnElement=
"flow4"
id=
"BPMNEdge_flow4"
>
<omgdi:waypoint
x=
"527.0"
y=
"267.0"
></omgdi:waypoint>
<omgdi:waypoint
x=
"626.0"
y=
"267.0"
></omgdi:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
\ No newline at end of file
jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java
已删除
100644 → 0
浏览文件 @
d6ba65a1
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
<
String
,
Object
>
variables
=
new
HashMap
<>();
variables
.
put
(
"applyUserId"
,
"admin"
);
variables
.
put
(
"email"
,
"john.doe@activiti.com"
);
variables
.
put
(
"phoneNumber"
,
"123456789"
);
runtimeService
.
startProcessInstanceByKey
(
"myProcess"
,
variables
);
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录