logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

idea里configurations没有spingboot启动配置

idea里configurations没有spingboot启动配置Spring-boot这个插件在settings -> Plugins 里面搜索spring boot,勾选上,然后再重启下idea

oauth2登录页跳转改为https

在WebSecurityConfigurerAdapter实现类中重写configure方法,补充以下处理逻辑:http.and().loginPage("https://xxx")//指定请求自定义登录页地址https.loginProcessingUrl("/login")//指定登录请求处理地址(这个地址是oauth2处理地址,Post请求)...

#https#http#安全
tcp/http/websocket/socket区别

tcp协议与http协议区别TCP是底层协议,定义的是数据传输和连接方式的规范。HTTP是应用层协议,定义的是传输数据的内容的规范。HTTP协议中的数据是利用TCP协议传输的,所以支持HTTP就一定支持TCP。...

#websocket#http#tcp/ip
mybatis函数toLowerCase/toUpperCase/toString使用

.toLowerCase()转化为小写.toUpperCase()转化为大写<if test="'Admin'.toLowerCase() == 'admin'">and id = 4000</if>.toString()是转化为字符串<if test="readState != null and readState.toString() == '...

Windows和Linux路径分隔符通用书写方法

Windows和Linux路径分隔符通用书写方法Windows和Linux路径分隔符不一样Windows:File file1 = new File (&quot;C:\demo\aa.txt&quot;);Linux:File file2 = new File (&quot;/demo/aa.txt&quot;);建议:File myFile = new File

Vue中在新窗口打开页面

Vue中在新窗口打开页面//post新窗口打开// var newWin = window.open('','','height=500,width=1250,top=100,left=100,center=yes'),var newWin = window.open('_blank'),formStr = '',formStr ='<form style="vi...

vue定义全局this

vue定义全局this//全局this,定义在初始化vue方法外,与import方法同级let _this;//初始化加载项created() {_this = this;},

vue数字校验-小数/范围/排除e

vue数字校验-小数/范围/排除e数字校验/可输入小数/排除e<el-input type="number" v-model="aa" />校验数字范围const validateAcquaintance = (rule, value, callback) => {if (value < 0 ) {callback(new Error('请输入大于...

vue表单清空方法

vue表单清空方法调用(releaseForm为表单名字)this.resetForm('releaseForm');或@click="onSubmit('reportForm')"方法resetForm(formName) {//初始化表单this.$nextTick(()=>{this.$refs[formName].resetFields();...

    共 17 条
  • 1
  • 2
  • 请选择