明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
letian_backend
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengfanpei
letian_backend
Commits
67f82500
Commit
67f82500
authored
Oct 09, 2024
by
zengfanpei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
c513d055
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
1 deletion
+49
-1
README.md
README.md
+6
-0
production.json
config/production.json
+36
-1
flowRouter.js
router/flowRouter.js
+7
-0
No files found.
README.md
View file @
67f82500
...
@@ -36,6 +36,12 @@
...
@@ -36,6 +36,12 @@
--近期更新
--近期更新
1. 简单的流程结构flowDef,不暴露给前端,等用户给定流程审批信息,接口创建流程模板
1. 简单的流程结构flowDef,不暴露给前端,等用户给定流程审批信息,接口创建流程模板
2. 从入库逻辑开始 入库单增删改查、入库单开启流程......
2. 从入库逻辑开始 入库单增删改查、入库单开启流程......
```
```
config/production.json
View file @
67f82500
{
{
"tokenEx"
:
86400
,
"tokenEx"
:
86400
,
"cron"
:
{
"dbURI"
:
"mongodb://root:letian2024.@127.0.0.1:27017/letian?authSource=admin"
,
"file"
:
{
"storagePath"
:
"/uploadfiles"
},
"device"
:
{
"secretKey"
:
"EB29BBD58E06997E"
,
"getDeviceList"
:
"http://open.sennor.net:8088/device/getDeviceList"
,
"getDeviceInfo"
:
"http://open.sennor.net:8088/device/getDeviceInfo"
,
"upDeviceInfo"
:
"http://open.sennor.net:8088/device/upDeviceInfo"
,
"fileBaseUrl"
:
"http://insect.sennor.net:1881/openFile/"
,
"token"
:
"24a2232a85bd4ce7a846c460ff3b34c2"
,
"userName"
:
"cqwangfeng1"
,
"password"
:
"b5be656a7060dd3525027d6763c33ca0"
,
"getAllDevice"
:
"http://open.sennor.net:1881/getAllDevice"
,
"getInsectNewCollectionResult"
:
"http://open.sennor.net:1881/getInsectNewCollectionResult"
,
"uploadCameraPhoto"
:
"http://open.sennor.net:1881/uploadCameraPhoto"
,
"getPreventionToInsectName"
:
"http://open.sennor.net:1881/getPreventionToInsectName"
,
"typeName"
:
{
"1"
:
"采集点"
,
"2"
:
"气象站"
,
"3"
:
"全景相机"
,
"4"
:
"细节相机"
},
"typeCount"
:
{
"1"
:
100
,
"2"
:
100
,
"3"
:
100
,
"4"
:
100
}
},
"cron"
:
{
"getDeviceList"
:
false
,
"getAllDevice"
:
false
,
"collectDeviceInfo"
:
false
}
}
}
}
\ No newline at end of file
router/flowRouter.js
View file @
67f82500
...
@@ -15,4 +15,11 @@ const flowDefController = require('../controller/flowDefController');
...
@@ -15,4 +15,11 @@ const flowDefController = require('../controller/flowDefController');
*/
*/
router
.
post
(
'/flowDef/update'
,
flowDefController
.
updateFlowDef
);
router
.
post
(
'/flowDef/update'
,
flowDefController
.
updateFlowDef
);
/**
* 流程
*/
// router.post('/flow/start', flowController.startFlow);
module
.
exports
=
router
;
module
.
exports
=
router
;
\ No newline at end of file
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