当前位置:网站首页>What is the reason why the switching page group disappears after easycvr establishes a multi-level group?
What is the reason why the switching page group disappears after easycvr establishes a multi-level group?
2022-06-24 01:53:00 【Tsingsee green rhino video】
TSINGSEE Green rhino video cloud side architecture platform when accessing multi-level channels , In the video access sidebar, a column menu will be displayed , The purpose is to make the distinction between channels clearer . At present, we have successfully added the multi-level grouping function to EasyCVR Inside .
In a certain EasyCVR On site , An error occurred while testing the multi-level grouping function bug, When the user establishes many levels of grouping in the grouping interface , Switch to the video square page , Multi level grouping content disappeared .
actually , The interface called by the device grouping interface and the video Plaza interface is not the same interface , Find the calling interface , Then get the corresponding top-level group , Temporarily on the outermost side , When the user clicks , Load the subgroups in one time .
So we need to make changes at the code level , When the user calls the interface of the video square interface , First, determine the user role , Then bind to find the corresponding group , Show the top-level groups , The rest show the subgroups at once . The reference codes are as follows :
// The child groups included in the group
lowerlabels, err := cvrservice.GetDeviceService().GetLowerLabels(labelid)
if err != nil {
c.AbortWithStatusJSON(400, err.Error())
return
}
// The group contains subordinate devices
devices, err := cvrservice.GetDeviceService().GetDevicesByLabelID(labelid)
if err != nil {
c.AbortWithStatusJSON(400, err.Error())
return
}After adding, deploy the effect on the customer's site , Be able to show the group correctly :
边栏推荐
- Why promote steam education?
- How do users of Fortress computers add servers? How much does it cost to add servers for fortress users?
- SAP WM displays the standard report lx09 of TR item
- Global and Chinese dealox industry development status and demand trend forecast report 2022-2028
- Analysis report on operation situation and development trend of global and Chinese diisobutyl aluminum hydride (Dibah) industry 2022-2028
- Practical case - Tencent security hosting service MSS helped "zero accident" during the period of digital Guangdong re insurance!
- NFS operations and deployment
- Tcapulusdb Jun · industry news collection
- What does fortress server mean? What are the benefits of Fortress server installation
- 4、 Variable assignment method
猜你喜欢
![[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)](/img/b5/a8c4bbaf868dd20b7dc9449d2a4378.jpg)
[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)

Stm32g474 infrared receiving based on irtim peripherals
![[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)](/img/c8/f6c2a62b8ab8fa88bd2b3d8f35f592.jpg)
[SQL injection 12] user agent injection foundation and Practice (based on burpsuite tool and sqli labs LESS18 target machine platform)

Review of AI hotspots this week: the Gan compression method consumes less than 1/9 of the computing power, and the open source generator turns your photos into hand drawn photos

It's too difficult for me. Ali has had 7 rounds of interviews (5 years of experience and won the offer of P7 post)

I, a 27 year old female programmer, feel that life is meaningless, not counting the accumulation fund deposit of 430000

layer 3 switch
随机推荐
A marriage app_ T signature analysis
Query report of each mic quality inspection result on SAP QM inspection lot?
Make standardized tools in the cloud native era to realize efficient cloud R & D workflow
In only three steps, this large manufacturing enterprise has achieved full operational improvement with data
Review of AI hotspots this week: the Gan compression method consumes less than 1/9 of the computing power, and the open source generator turns your photos into hand drawn photos
How to generate EAN13 serial number barcode
[tcapulusdb knowledge base] tcapulusdb introduction Questions Summary
OA system module design scheme
Tcapulusdb Jun · industry news collection (November 22)
[SQL injection 13] referer injection foundation and Practice (based on burpseuite tool and sqli labs less19 target platform)
Moment. JS how to use epoch time to construct objects
What is data analysis? Analysis is not storytelling... - Cassie kozyrkov
How to use the speech synthesis tool? Does the speech synthesis tool cost money?
How does Huawei weautomate RPA achieve the natural growth of government enterprise automation?
How to set up AI speech synthesis? What is the function of speech synthesis?
Easycvr's use of Huawei IVS query directory shared information list interface
Why promote steam education?
Tke cluster setup linkerd2
SAP mm maintains inter company sto error -no delivery type defined for supplying
Global and Chinese dealox industry development status and demand trend forecast report 2022-2028