检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:陈进川 CHEN Jinchuan(Guangdong East Guangdong Technician College,Shantou Guangdong 515041,China)
出 处:《信息与电脑》2022年第15期7-9,共3页Information & Computer
摘 要:随着我国信息产业的发展,越来越多的公司和单位都开发了自己的手机App、小程序等信息管理软件,这些软件都需要一个后台管理系统供管理人员对软件上的内容信息进行管理。而后台管理系统一项非常重要的功能就是权限管理,针对不同的登录账号赋予不同的操作权限。因此,文章使用树形结构的方式对权限进行操作,生成权限字符串存储在数据库中,使用时只需验证该用户的权限字符串中是否有相关的权限字符,再在前端页面根据权限渲染出相应内容即可,是一种简易高效的权限系统。With the development of China’s information industry,more and more companies and units have built their own mobile apps,applets and other information management software,which need a backend management system for managers to manage the content information on the software.A very important function of backend management system is permission management,which gives different operation rights to different login accounts.Therefore,the article uses a tree structure to operate permissions,generating permission strings to be stored in the database,and when using it,it only needs to verify whether the user has the relevant permission character in the permission string,and then render the corresponding content in the front-end page according to the permission,which is an easy and efficient permission system.
分 类 号:TP393[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.49