当前位置:网站首页>What is the case when easynvr non administrator logs in to view the empty video list?
What is the case when easynvr non administrator logs in to view the empty video list?
2022-06-24 02:40:00 【Tsingsee green rhino video】
EasyNVR The platform has the function of hierarchical management , At the same time, it also has an administrator with the highest authority , Administrators and ordinary users of other levels can be set under this administrator . Some users reported that if they use non administrator login EasyNVR, Set the nickname to Chinese , Then go back to the video , The list will be empty .
We tested this situation , It was found that it was , This place needs to be modified :
After checking the code debugging, it is found that it is because sql Caused by statement error ,sql Statement with a nickname field (username) the sql Inquire about , The value used is name The value corresponding to the field , As long as the two are different, the data will not be found .
After changing the nickname field to the login field, the data appears :
wheresql := fmt.Sprintf(`%s.name='%s'`, models.User{}.TableName(), uname)EasyNVR It can be said that it has become the vanguard of domestic video internet infrastructure construction , Almost every livelihood industry already has EasyNVR The ability of video output ,EasyNVR Years of service in all walks of life video infrastructure , Its reliability 、 integrity 、 Stability has been widely recognized by the industry . At the same time, for the convenience of users to understand and use EasyNVR, We provide EasyNVR Trial version of , Decompression is used immediately. , Welcome to test .
边栏推荐
- What is the industrial Internet? What is the industrial Internet platform?
- How to bind EIP to access public network in tke cluster fixed IP mode pod
- Solution to session problem of missing laravel jump page
- More than 10 million Android users installed a fraud app and doubled the number of blackmail attacks in the UK | global network security hotspot
- Grc: GRC interface is mixed with restful API
- How to strengthen prison security measures? Technologies you can't imagine
- How to view the speech synthesis platform how to use the speech synthesis platform
- How to build video websites? What are the types of video websites?
- Block
- Wkwebview audio and video media playback processing
猜你喜欢
随机推荐
Build your own cloud game server. What if the cloud game server is attacked
Coding -- the leader of R & D tools in the cloud native Era
What is the domain name trademark? What are the registration conditions for domain names and trademarks?
Flink practice tutorial: getting started 1- zero basic users realize simple Flink tasks
What is the backbone of marketing website construction? What does it do?
How to understand EDI requirements of trading partners
Evaluation index of machine learning model
How about Shenzhen website construction? Is it expensive?
Is the server connected to the fortress machine a virtual machine? What if the fortress machine IP is not connected
The cloud University of "digital and real integration, CO building authentic Internet" is surging forward
Operation and maintenance platform tcapulusdb transaction management
Is your database "cloud native"?
What are the conditions for trademark registration? How long does it take to register a trademark?
A variety of fixed assets inventory methods to deal with the year-end large inventory of fixed assets
Some tips for using uitextview
2021 game security industry summit: Security Co Construction and healthy development of escort industry
How to calculate the trademark registration fee? How much does it cost to register a trademark?
Crawler series: using API
[supply chain • case] Tianneng group: the key to understanding the leading battery manufacturer to achieve the first profit fault
Easycvr cannot be played when cascaded to the superior platform. Troubleshooting


