Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
ef3171ad
Commit
ef3171ad
authored
Feb 25, 2019
by
zhangdaihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jeecg-boot 1.0版本发布
parent
d6ba65a1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
70 deletions
+1
-70
jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java
+1
-1
jeecg-boot/src/main/resources/processes/MyProcess.bpmn
+0
-41
jeecg-boot/src/test/java/org/jeecg/ActivitiTest.java
+0
-28
No files found.
jeecg-boot/src/main/java/org/jeecg/modules/shiro/authc/util/JwtUtil.java
View file @
ef3171ad
...
@@ -18,7 +18,7 @@ import org.jeecg.common.util.oConvertUtils;
...
@@ -18,7 +18,7 @@ import org.jeecg.common.util.oConvertUtils;
public
class
JwtUtil
{
public
class
JwtUtil
{
// 过期时间30分钟
// 过期时间30分钟
public
static
final
long
EXPIRE_TIME
=
1
*
60
*
1000
;
public
static
final
long
EXPIRE_TIME
=
30
*
60
*
1000
;
/**
/**
* 校验token是否正确
* 校验token是否正确
...
...
jeecg-boot/src/main/resources/processes/MyProcess.bpmn
deleted
100644 → 0
View file @
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
deleted
100644 → 0
View file @
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
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment