Closed zykzhangyukang closed 4 years ago
No description provided.
yeah because it's a project for beginner but please try to integrate it with Shiro Framework or others if you want to add the permission feature in back-end . . .
Shiro Framework
there had a project for shiro framework of beginner : https://github.com/YUbuntu0109/springboot-shiro
<%-- 通过JSTL设置用户操作权限: 将修改和删除按钮设置为仅管理员可见 --%> <c:if test="${userType==1}"> <div style="float: left;"><a id="edit" href="javascript:" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true">修改</a></div> <div style="float: left;" class="datagrid-btn-separator"></div> <div style="float: left;"><a id="delete" href="javascript:" class="easyui-linkbutton" data-options="iconCls:'icon-some-delete',plain:true">删除</a></div> </c:if>
yeah because it's a project for beginner but please try to integrate it with
Shiro Framework
or others if you want to add the permission feature in back-end . . .