当前位置:网站首页>Fix the problem that the paging data is not displayed when searching the easycvr device management list page
Fix the problem that the paging data is not displayed when searching the easycvr device management list page
2022-07-27 06:53:00 【EasyCVR】
EasyCVR Support massive video aggregation management , It can provide live video surveillance 、 Cloud video 、 Cloud storage 、 Video retrieval and review 、 Intelligent alarm 、 Platform cascading 、 Intelligent analysis and other video services . The platform supports the equipment to pass the national standard GB28181、RTMP、RTSP/Onvif、 The sea, SDK、 Dahua SDK、Ehome Wait for protocol access , External distribution RTSP、RTMP、FLV、HLS、WebRTC Video streams of the same format .

There's user feedback , stay EasyCVR Device management list page , When searching for devices , Paging data is not displayed .

Technicians immediately checked the situation . It is found that , There is an error in the total number returned by the backend interface , This leads to the above problems .
It can be solved through the following methods :
When the search criteria is passed in at the current end , The backend queries the corresponding number of devices , And then it goes back to the front end . The reference codes are as follows :

devicescount, _ := cvrservice.GetDeviceService().CountDevice()
devices := cvrservice.GetDeviceService().GetDevices(params["device"], params["q"], uint(start), uint(limit))
if params["q"] != "" {
devicescount1, err := cvrservice.GetDeviceService().CountDeviceByQ(params["q"])
if err != nil {
log.Printf("deviceService.GetDBDeviceByRoleID err :%v", err.Error())
return
}
devicescount = devicescount1
}
Query the front end again after modification , At this time, the number of devices and paging display have returned to normal .

EasyCVR Simple deployment 、 High compatibility , The platform adopts distributed deployment , It can provide unified API Interface , Connect devices 、 Connect data 、 Connect applications , Facilitate the rapid integration of third-party platforms . The platform has a wide range of application scenarios , There are a large number of landing applications offline , Including smart factory 、 Smart campus 、 Smart construction site 、 Smart storage 、 Intelligent water conservancy 、 Intelligent fire fighting and so on , Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- Rsync remote synchronization
- To improve the baby's allergy, take yiminshu. Azg and aibeca love la Beijia work together to protect the growth of Chinese babies
- Open source WebGIS related knowledge
- Gin Vue admin uses the database in the docker container
- 如何避免漏洞?向日葵远程为你讲解不同场景下的安全使用方法
- Soul 递交港股上市申请,加快社交聚集地多元化、场景化的布局
- NAT (network address translation)
- The problem of torch loading custom models
- EasyCVR设备管理列表页面搜索时,分页数据不显示的问题修复
- 网站服务器被攻击怎么办?向日葵提示防范漏洞是关键
猜你喜欢

Sunflower popularizes Science in an all-round way to avoid loopholes for your remote control equipment in time

3D打印品牌的康复骨科支具有何特别之处?

NFS简介和配置

Project training experience 1

After adding a camera (camera) to the UAV in gazebo, the UAV cannot take off

一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告

Linux Installation and uninstallation of MySQL

RAID详解与配置

For redis under windows, it can only read but not write

Lamp -- source code compilation and installation
随机推荐
MySql数据库
项目实训经历1
Build cloud native operating environment
客户案例 | 聚焦流程体验,助银行企业APP迭代
Do it yourself container
Record of pychart running jupyter notebook in virtual environment
TS学习(八) :TS中的类
FTX.US推出股票和ETF交易服务,让交易更透明
numpy数组和图片互转
Shell -- circular statements (for, while, until)
Decorator functions and the use of class decorators
To improve the baby's allergy, take yiminshu. Azg and aibeca love la Beijia work together to protect the growth of Chinese babies
ES6的新特性(2)
Go语言学习
Linux安装与卸载MySql
使用密钥方式登录阿里云服务器
创建一个不依赖于任何基础镜像的容器
Three methods to judge whether it is palindrome structure
向日葵:遇到电脑漏洞别担心,了解清楚再判断向日葵:遇到电脑漏洞别担心,了解清楚再判断向日葵:遇到电脑漏洞别担心,了解清楚再判断向日葵:遇到电脑漏洞别担心,了解清楚再判断向日葵:遇到电脑漏洞别担心,了解
Webodm win10 installation tutorial (personal test)