摘要: 阅读全文
posted @ 2018-04-22 22:28 lshan 阅读(147) 评论(0) 推荐(0)
摘要: @NotEmpty用在集合类上面 @NotBlank 用在String上面 @NotNull 用在基本类型上 在 user对象中需要 阅读全文
posted @ 2018-04-22 17:54 lshan 阅读(311) 评论(0) 推荐(0)
摘要: /* */ /* DBMS name: MySQL5.0 */ /* Created on: 2018/4/18 21:33:52 */ /* */ drop table if exists auth_function; drop table if exists auth_role; drop ta 阅读全文
posted @ 2018-04-18 21:29 lshan 阅读(219) 评论(0) 推荐(0)
摘要: 参考1: https://docs.spring.io/spring-security/site/docs/5.0.1.BUILD-SNAPSHOT/reference/htmlsingle/ 列子:websystique.com/spring-security/spring-security-4- 阅读全文
posted @ 2018-04-18 17:17 lshan 阅读(460) 评论(2) 推荐(0)
摘要: 自定义服务: angular.module('myApp').factory('UserService',['$http','$q',function ($http,$q) { // 定义一个方法工厂 var factory = { httpGet : httpGet, login:login }; 阅读全文
posted @ 2018-04-18 16:56 lshan 阅读(157) 评论(0) 推荐(0)
摘要: pom <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.o 阅读全文
posted @ 2018-04-16 18:26 lshan 阅读(344) 评论(0) 推荐(0)
摘要: 参考: https://docs.angularjs.org/api/ng/service/$location 阅读全文
posted @ 2018-04-16 11:31 lshan 阅读(208) 评论(0) 推荐(0)
摘要: 在要转的实体上加一个 @JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" }) @JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handl 阅读全文
posted @ 2018-04-13 18:37 lshan 阅读(335) 评论(0) 推荐(0)
摘要: 参考:https://blog.csdn.net/xqhys/article/details/68486215 eg: window.location.href="/user/update?id=''aaa"&name="sdsad" ******************************** 阅读全文
posted @ 2018-04-13 17:39 lshan 阅读(1192) 评论(0) 推荐(0)
摘要: 弹框:http://layer.layui.com/ bootstroop 弹框 https://www.cnblogs.com/cpcpc/p/7233898.html 图标:http://www.fontawesome.com.cn/faicons/ 表格:http://www.layui.co 阅读全文
posted @ 2018-04-13 00:49 lshan 阅读(131) 评论(0) 推荐(0)