摘要:
.antMatchers("/**/users/admin/**").access("hasAnyRole('ADMIN')") .antMatchers("/**/users/test/**").access("hasAnyRole('USER')") .antMatchers("/**/user 阅读全文
摘要:
权限控制时报 Access is denied (user is not anonymous); delegating to AccessDeniedHandler 或者 AccessDeniedException : Access is denied 那么请确保最终传入 方法为: Username 阅读全文
摘要:
导入依赖包: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <grou 阅读全文
摘要:
生成菜单方法createMenu.jsimport navMenu from "./navMenu"; /** * 菜单组件 * @module widgets/my-menu * @example * * // 使用说明 */ export default { name: "createMenu" 阅读全文
摘要:
A(父窗体) 使用window.open(url);打一个子窗口(B) 然后在子窗口(B)使用window.opener.location可以获得父窗口信息 在子窗口使用 window.opener.location.reload();刷新父窗口 window.close();关闭当前窗口 阅读全文
摘要:
注意自己的数据结构 实体类如下: //[Serializable] // 表示该类可以被序列化 [XmlRoot("xml")] // 设置为XML中的根元素名称 /// <summary> /// 事件推送群发结果 /// </summary> public class ResponseMassS 阅读全文
摘要:
准备ADB环境、python环境、手机开启开发人员选项 weditor 地址 https://github.com/openatx/weditor 先把weditor安装好并运行起来。然后: .设备通过USB线连接电脑。 在cmd命令行中输入adb tcpip 5555 拔掉数据线 在cmd命令行中 阅读全文
摘要:
点击左边到右边,并且删除点击边的数据,点击右边同理。 <template> <div class="transfer" style="text-align: left;display: inline-block;font-size: 14px;" > <div class="transfer-pan 阅读全文
摘要:
//点击按钮,根据状态做不同的事情 /**=> function */ const onBtnClick=(status)=>{ /** * == 是相对判断, 是绝对判断(类型相等,值相等) * 例:'2'==2 成立,'2' 2 不成立。因为一个是字符窜,一个是数值类型 * */ let sta 阅读全文
摘要:
根据实体类或字典检查传参,是否缺少参数并返回缺少参数 值类型必须声明可空 /// <summary> /// 自动处理属性(当传参属性和实体类属性一样时可用) /// </summary> public static class EntityProperties { /// <summary> // 阅读全文