会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
勤快的懒羊羊
原创文章,转载请求说明出处,谢谢合作
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
20
下一页
2022年11月16日
FileZilla连接CentOS服务器失败解决方法
摘要: 如下所示,提示连接被服务器拒绝 解决方法: 1、先查看服务器是否安装ftp软件: which vsftpd 如果看到有vsftpd的目录说明服务器已经按照了ftp软件 如果没有,需要安装,yum安装方法:yum -y install vsftpd 即可 2. 查看ftp 服务器状态 service
阅读全文
posted @ 2022-11-16 20:09 勤快的懒羊羊
阅读(980)
评论(0)
推荐(0)
2022年11月15日
Vue3解决前端跨域问题
摘要: 在vue.config.js里添加代理 备注:例如vue想请求不在同一台服务器上的localhost:8080服务器的接口,在下面proxy里的target里写上要访问的服务器的前缀,然后写一个别名'/projectURL', 1 const {defineConfig} = require('@v
阅读全文
posted @ 2022-11-15 20:28 勤快的懒羊羊
阅读(2809)
评论(0)
推荐(0)
2022年11月12日
Java实现MD5加密
摘要: 1 /** 2 * MD5加密 3 * 4 * @param input 5 * @return 6 */ 7 @Override 8 public String MD5(String input) throws NoSuchAlgorithmException { 9 10 try { 11 //
阅读全文
posted @ 2022-11-12 15:14 勤快的懒羊羊
阅读(301)
评论(0)
推荐(0)
Springboot+Vue实现Base64编码与解码
摘要: HTML 1 <template> 2 <nav-bar/> 3 <div class="body"> 4 5 <div style="margin: 0 auto;width: 100%;height: auto;text-align: center"> 6 <h2>Base64加密</h2> 7
阅读全文
posted @ 2022-11-12 14:35 勤快的懒羊羊
阅读(1433)
评论(0)
推荐(0)
2022年11月10日
vue3 setup中获取地址栏参数
摘要: 1 import { useRoute } from "vue-router" 2 3 setup() { 4 const route = useRoute() 5 console.log(route.query, route.params, ' ') // 地址兰参数 6 }
阅读全文
posted @ 2022-11-10 22:41 勤快的懒羊羊
阅读(1800)
评论(0)
推荐(0)
2022年11月8日
springboot上传图片设置虚拟目录
摘要: springboot实现图片上传到static目录后,访问不到,需要重启服务后才可访问,解决方案就是设置虚拟目录 1 @SuppressWarnings("all") 2 @Configuration 3 public class UserIcoUploadConfig implements Web
阅读全文
posted @ 2022-11-08 20:57 勤快的懒羊羊
阅读(564)
评论(0)
推荐(0)
2022年11月5日
vue+WangEditor+自定义上传图片
摘要: 1 <div class="content"> 2 <p name="editor" id="editor" ref="editor" style="z-index: -1"></p> 3 <el-input id="in" type="hidden"></el-input><!--绑定输入-->
阅读全文
posted @ 2022-11-05 15:01 勤快的懒羊羊
阅读(1825)
评论(0)
推荐(0)
访问不到springboot项目静态文件(图片)
摘要: 查看“1667626781298.jpg”图片 配置:application.properties的配置文件进行配置 spring.mvc.static-path-pattern=/**spring.web.resources.static-locations=classpath:/static/
阅读全文
posted @ 2022-11-05 14:06 勤快的懒羊羊
阅读(2025)
评论(0)
推荐(0)
springboot实现图片、文件接收
摘要: 存放在资源文件里 1 /** 2 * 3 * @param file 4 * @return 5 */ 6 @PostMapping(value = "getCategoryByUserName") 7 public String updateConfig(@RequestParam("file")
阅读全文
posted @ 2022-11-05 14:02 勤快的懒羊羊
阅读(1565)
评论(0)
推荐(0)
2022年11月4日
Mybatis查询二级评论SQL
摘要: Mybatis查询评论 1 <select id="getCommentByID" resultMap="getCommentResultMap"> 2 SELECT com1.*,com2.* 3 FROM itkb_comment_info com1 LEFT JOIN itkb_comment
阅读全文
posted @ 2022-11-04 21:11 勤快的懒羊羊
阅读(192)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
20
下一页
公告