摘要: 问题: 解决方法: // .allowedOrigins("*") .allowedOriginPatterns("*") 阅读全文
posted @ 2022-11-26 13:55 无相蛋 阅读(17) 评论(0) 推荐(0)
摘要: MySQL连接错误 javax.net.ssl.SSLException: Received fatal alert: protocol_version 解决方法: Maven修改成: <dependency> <groupId>com.mysql</groupId> <artifactId>mys 阅读全文
posted @ 2022-11-22 20:25 无相蛋 阅读(43) 评论(0) 推荐(0)
摘要: 无法找到this.axios 解决方法: 点击查看代码 import axios from 'axios' import VueAxios from 'vue-axios' Vue.use(VueAxios, axios)`<details> 然后就可以在钩子函数里使用: 点击查看代码 create 阅读全文
posted @ 2022-11-18 20:07 无相蛋 阅读(17) 评论(0) 推荐(0)
摘要: 下载@vue/cli报错: 解决方法: 配置淘宝镜像: yarn报错: 解决方法: 将yarn改为npm 下载element-ui失败: 解决方法: 删除已安装的cnpm版本: npm uninstall -g cnpm 安装低版本 cnpm:npm install cnpm@7.1.0 -g -- 阅读全文
posted @ 2022-11-17 15:44 无相蛋 阅读(18) 评论(0) 推荐(0)
摘要: 出现错误: error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/11/11363dc41eae606d 阅读全文
posted @ 2022-11-16 13:49 无相蛋 阅读(516) 评论(0) 推荐(0)
摘要: Config的配置 @Bean public JobDetail getJobDetail(){ //new job新的作业 return JobBuilder.newJob(MyJob.class).withIdentity("myJob").storeDurably().build(); } / 阅读全文
posted @ 2022-11-14 20:48 无相蛋 阅读(17) 评论(0) 推荐(0)
摘要: 根据ip得到地址 String url="https://api.map.baidu.com/location/ip?ak={}&ip=&coor=bd09ll"; url = StrUtil.format(url,ak); String body = HttpRequest.get(url).ex 阅读全文
posted @ 2022-11-12 16:56 无相蛋 阅读(34) 评论(0) 推荐(0)
摘要: 无法打开vue文件: 解决方式: 以管理员身份运行PowerShell,set-ExecutionPolicy RemoteSigned //设置为打开 缺少文件报错: 解决方法: 去github下载缺少的文件 https://github.com/sass/node-sass/releases 将 阅读全文
posted @ 2022-11-08 21:06 无相蛋 阅读(21) 评论(0) 推荐(0)
摘要: 生成验证码: ShearCaptcha shearCaptcha = CaptchaUtil.createShearCaptcha(200, 100, 4, 4); 获取验证码内容: String code = shearCaptcha.getCode(); 将验证码缓存到redis中: redis 阅读全文
posted @ 2022-11-05 21:59 无相蛋 阅读(42) 评论(0) 推荐(0)
摘要: //从redis中获取疾病列表 Object redisdiseases = redisTemplate.opsForValue().get("diseases"); if(redisdiseases!=null){ logger.info("调用redis中疾病的列表"); return R.su 阅读全文
posted @ 2022-11-04 23:04 无相蛋 阅读(31) 评论(0) 推荐(0)