上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 58 下一页
摘要: 前提条件 1.已安装DevExpress环境 2. 窗体已包含控件:GoupControl控件(gcb),GridControl控件(gd),默认的gridview控件(gridview1)、管理工具条控件(barManager)。 步骤 1. 先拖一个PopupMenu和BarManage控件,设 阅读全文
posted @ 2024-10-18 14:33 陆陆无为而治者 阅读(441) 评论(0) 推荐(0)
摘要: 若依采用了Apache Shiro是Java的一个安全框架。Shiro可以帮助我们完成:认证、授权、加密、会话管理、与Web集成、缓存等。其不仅可以用在 JavaSE环境,也可以用在 JavaEE 环境。 之前,为了了解shiro,我做了一些入门: 【shiro】1.快速入门 【shiro】2.认证 阅读全文
posted @ 2024-10-18 10:04 陆陆无为而治者 阅读(669) 评论(0) 推荐(0)
摘要: 本文示例环境 Visual Studio 2019 XUnit 2.9.2 单元测试框架 xunit.runner.visualstudio 2.2.0 测试运行工具 为什么要写单元测试 一个项目中,可能比较庞大。所以,使用测试,可以减少耦合,提升代码的质量。也可以让后续开发人员,快速了解代码。 至 阅读全文
posted @ 2024-10-17 14:27 陆陆无为而治者 阅读(603) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/smart_an/article/details/140550621 阅读全文
posted @ 2024-10-16 16:56 陆陆无为而治者 阅读(31) 评论(0) 推荐(0)
摘要: shiro可以与前端Thymeleaf结合,进行前端授权认证。 由于,“吾生而有涯,而知而无涯”。所以,有限的生命不能照单全收无限的知识。而,前后端分离,必定是大趋势。所以,我就不额外写代码。截图记账理解一下。 1. pom.xml页面引入Thymeleaf依赖。 2.配置类添加新配置 3.前端页面 阅读全文
posted @ 2024-10-16 16:29 陆陆无为而治者 阅读(47) 评论(0) 推荐(0)
摘要: https://www.jb51.net/program/3014932j9.htm 阅读全文
posted @ 2024-10-16 07:53 陆陆无为而治者 阅读(13) 评论(0) 推荐(0)
摘要: 通过给接口服务方法添加注解可以实现权限校检,可以加在控制器方法上,也可以加在业务方法上,一般加在控制器方法上。 @RequiresAuthentication 验证用户登录,等同于方法subject.isAuthenticated() @RequiresUser 验证用户是否被记忆; 登录认证成功s 阅读全文
posted @ 2024-10-15 16:19 陆陆无为而治者 阅读(36) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq; public class Item{ public int Id { get; set; } public int? ParentId { get; set; }} pu 阅读全文
posted @ 2024-10-15 16:15 陆陆无为而治者 阅读(4) 评论(0) 推荐(0)
摘要: https://www.jb51.net/article/283870.htm 阅读全文
posted @ 2024-10-15 16:15 陆陆无为而治者 阅读(16) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/starktan/p/9608692.html 问题: https://blog.csdn.net/koproblem/article/details/70046240 如果不是电商支付类的网页,我们一般可以使用类似于“记住当前用户的功能”。主要原理: 阅读全文
posted @ 2024-10-15 08:58 陆陆无为而治者 阅读(377) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 58 下一页