Commit 89246caf by chenjinjing

no message

parent c402ed7d
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment