Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniZeroHall
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
uniZeroHall
Commits
89246caf
Commit
89246caf
authored
May 21, 2026
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
c402ed7d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
device.ts
src/biz/device.ts
+0
-0
device.ts
src/routers/device.ts
+4
-4
No files found.
src/biz/device.ts
View file @
89246caf
This diff is collapsed.
Click to expand it.
src/routers/device.ts
View file @
89246caf
...
@@ -22,7 +22,7 @@ export function setRouter(httpServer) {
...
@@ -22,7 +22,7 @@ export function setRouter(httpServer) {
/**运行分析-弹窗 */
/**运行分析-弹窗 */
httpServer
.
post
(
'/api/zc/run/analysis/pop'
,
asyncHandler
(
getRunAnalysisPop
));
httpServer
.
post
(
'/api/zc/run/analysis/pop'
,
asyncHandler
(
getRunAnalysisPop
));
/** 智能监控弹窗 */
/** 智能监控
-
弹窗 */
httpServer
.
post
(
'/api/zc/smart/monitor/pop'
,
asyncHandler
(
getSmartMonitorPop
));
httpServer
.
post
(
'/api/zc/smart/monitor/pop'
,
asyncHandler
(
getSmartMonitorPop
));
}
}
...
@@ -79,7 +79,7 @@ async function deviceFaultPush(req, res) {
...
@@ -79,7 +79,7 @@ async function deviceFaultPush(req, res) {
* 运行分析-弹窗
* 运行分析-弹窗
*/
*/
async
function
getRunAnalysisPop
(
req
,
res
)
{
async
function
getRunAnalysisPop
(
req
,
res
)
{
let
reqConf
=
{
regionKey
:
'
Number
'
};
let
reqConf
=
{
regionKey
:
'
String
'
};
const
NotMustHaveKeys
=
[];
const
NotMustHaveKeys
=
[];
let
{
regionKey
}
=
eccReqParamater
(
reqConf
,
req
.
body
,
NotMustHaveKeys
);
let
{
regionKey
}
=
eccReqParamater
(
reqConf
,
req
.
body
,
NotMustHaveKeys
);
const
result
=
await
deviceBiz
.
getRunAnalysisPop
(
regionKey
);
const
result
=
await
deviceBiz
.
getRunAnalysisPop
(
regionKey
);
...
@@ -88,10 +88,10 @@ async function deviceFaultPush(req, res) {
...
@@ -88,10 +88,10 @@ async function deviceFaultPush(req, res) {
/**
/**
* 智能监控弹窗
* 智能监控
-
弹窗
*/
*/
async
function
getSmartMonitorPop
(
req
,
res
)
{
async
function
getSmartMonitorPop
(
req
,
res
)
{
let
reqConf
=
{
regionKey
:
'
Number
'
};
let
reqConf
=
{
regionKey
:
'
String
'
};
const
NotMustHaveKeys
=
[];
const
NotMustHaveKeys
=
[];
let
{
regionKey
}
=
eccReqParamater
(
reqConf
,
req
.
body
,
NotMustHaveKeys
);
let
{
regionKey
}
=
eccReqParamater
(
reqConf
,
req
.
body
,
NotMustHaveKeys
);
const
result
=
await
deviceBiz
.
getSmartMonitorPop
(
regionKey
);
const
result
=
await
deviceBiz
.
getSmartMonitorPop
(
regionKey
);
...
...
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