上一页 1 2 3 4 5 6 ··· 20 下一页
摘要: 1 /** 2 * 获取客户端ip地址(可以穿透代理) 3 4 * @param request 5 * @return 6 */ 7 8 @RequestMapping("getRemoteAddr") 9 public String getRemoteAddr(HttpServletReques 阅读全文
posted @ 2023-05-16 14:27 勤快的懒羊羊 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1 package com.example.demo.api.soap.client.userInterface.controller; 2 3 4 import org.w3c.dom.Document; 5 import org.w3c.dom.NamedNodeMap; 6 import or 阅读全文
posted @ 2022-11-26 00:36 勤快的懒羊羊 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 1 <!-- 加入security依赖 --> 2 <dependency> 3 <groupId>org.springframework.boot</groupId> 4 <artifactId>spring-boot-starter-security</artifactId> 5 </depen 阅读全文
posted @ 2022-11-25 21:04 勤快的懒羊羊 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 1 <!-- 加入jedis依赖 --> 2 <dependency> 3 <groupId>redis.clients</groupId> 4 <artifactId>jedis</artifactId> 5 <version>2.9.0</version> 6 </dependency> 测试连 阅读全文
posted @ 2022-11-22 00:16 勤快的懒羊羊 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 如下所示,提示连接被服务器拒绝 解决方法: 1、先查看服务器是否安装ftp软件: which vsftpd 如果看到有vsftpd的目录说明服务器已经按照了ftp软件 如果没有,需要安装,yum安装方法:yum -y install vsftpd 即可 2. 查看ftp 服务器状态 service 阅读全文
posted @ 2022-11-16 20:09 勤快的懒羊羊 阅读(836) 评论(0) 推荐(0) 编辑
摘要: 在vue.config.js里添加代理 备注:例如vue想请求不在同一台服务器上的localhost:8080服务器的接口,在下面proxy里的target里写上要访问的服务器的前缀,然后写一个别名'/projectURL', 1 const {defineConfig} = require('@v 阅读全文
posted @ 2022-11-15 20:28 勤快的懒羊羊 阅读(2704) 评论(0) 推荐(0) 编辑
摘要: 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 勤快的懒羊羊 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 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 勤快的懒羊羊 阅读(1232) 评论(0) 推荐(0) 编辑
摘要: 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 勤快的懒羊羊 阅读(1377) 评论(0) 推荐(0) 编辑
摘要: springboot实现图片上传到static目录后,访问不到,需要重启服务后才可访问,解决方案就是设置虚拟目录 1 @SuppressWarnings("all") 2 @Configuration 3 public class UserIcoUploadConfig implements Web 阅读全文
posted @ 2022-11-08 20:57 勤快的懒羊羊 阅读(476) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 20 下一页