springboot
那个id是什么东西
只想做一条咸鱼,没事晒晒太阳
展开
-
shiro+springboot 权限拦截
package com.mlcp.config; import java.util.LinkedHashMap; import java.util.Map; import org.apache.shiro.spring.web.ShiroFilterFactoryBean; import org.apache.shiro.web.mgt.DefaultWebSecurityManager; ...原创 2018-07-17 09:56:57 · 1533 阅读 · 0 评论 -
shiro+springboot 权限拦截器问题
login.html:1 Uncaught SyntaxError: Unexpected token < login.html:17 Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8088/login/login.html". login.htm...原创 2018-07-17 10:02:57 · 1024 阅读 · 0 评论 -
springboot+HandlerInterceptor 拦截器
package com.mlcp.config; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; import com.mlcp.module.user.model.User; import javax.servle...原创 2018-07-18 10:48:08 · 721 阅读 · 0 评论 -
springboot 操作原生sql,java取数据,jquery取数据
配置文件 datasource: url: jdbc:mysql://localhost:3306/ssoml?useSSL=false&characterEncoding=utf8 username: root password: root driver-class-name: com.mysql.jdbc.Driver jpa: sh...原创 2018-11-02 10:04:59 · 527 阅读 · 0 评论 -
java+springboot 发送邮件
步骤: 1.设置application.yml spring: mail: host: smtp.exmail.qq.com username: 你的QQ password: 授权码 port: 465 default-encoding: UTF-8 testConnection: false pro...原创 2019-04-17 09:40:50 · 704 阅读 · 0 评论