09 2022 档案
摘要:spring security social 访问 http://auth.xxx.com/api/auth/wxgzh 时报错: Whitelabel Error Page This application has no explicit mapping for /error, so you ar
阅读全文
摘要:<image :src="imgVerificationCode" @click="getVerificationCode" class="imageCode"></image> arrayBufferToBase64(buffer) { var binary = ''; var bytes = n
阅读全文
摘要:1.在工具栏的”视图“下打开终端或者ctrl+`2.安装jsencrypt ,安装的东西都会在node_module下 npm i jsencrypt 3.在需要加密的文档中引入 import JSEncrypt from '../../node_modules/jsencrypt/bin/jsen
阅读全文
摘要:js取url各部分数据 //使用字符索引对URL进行解析 parseURL(url):any{ //解析协议 var protocal = url.substring(0, url.indexOf(':')); //alert('protocal:' + protocal); //解析域名和端口 v
阅读全文
摘要:Mysql5+处理办法: mysql -hlocalhost -uroot -pgrant all privileges on *.* to root@"%" identified by ".";flush privileges;Mysql8+处理办法: mysql -hlocalhost -uro
阅读全文
摘要:报下面错我的原因是: security.oauth2.client.clientId =security.oauth2.client.clientSecret =这个两个值配置错误 org.springframework.beans.factory.UnsatisfiedDependencyExce
阅读全文
摘要:HBuilderx下载地址: https://dcloud.io/hbuilderx.html uniapp文档:https://uniapp.dcloud.net.cn/quickstart.html# native.js:http://ask.dclound.net.cn/article/114
阅读全文
摘要:今天一个客户在新安装宝塔时,Linux服务器报错:Errors during downloading metadata for repository ‘epel’ 排查后发现客户使用的是centos8.2的版本,所以导致宝塔安装出错,这是因为所用系统为Centos 8版本暂时已停止更新相应依赖。 简
阅读全文
摘要:在springboot项目中出现Consider defining a bean of type ‘xxx’ in your configuration.的原因,是因为无法识别相应的bean,无法完成注入。解决办法有:1.检查实现类上是否添加@Service 2.实体类上是否添加@Component
阅读全文