上一页 1 ··· 3 4 5 6 7 8 下一页

2023年5月21日

vue实现页面无限滚动

摘要: <div id="load2" class="infinite-list" v-infinite-scroll="load" style="overflow:auto; display: flex;flex-wrap: wrap;justify-content: center;" > <el-car 阅读全文

posted @ 2023-05-21 17:39 你就学个JVAV? 阅读(196) 评论(0) 推荐(0)

vue集成websocket

摘要: 安装websocket yarn add nodejs-websocket 导入并创建服务端 /** * 服务端代码 */ // 1.导入nodejs-websocket包 const ws = require('nodejs-websocket'); const PORT = 3000 // 2. 阅读全文

posted @ 2023-05-21 17:39 你就学个JVAV? 阅读(188) 评论(0) 推荐(0)

后端拦截器

摘要: package com.huoziqi.springboot.common.config; import com.huoziqi.springboot.common.handler.LoginInterceptor; import org.springframework.context.annota 阅读全文

posted @ 2023-05-21 17:36 你就学个JVAV? 阅读(19) 评论(0) 推荐(0)

MybatisPlusConfigration

摘要: package com.huoziqi.springboot.common.config; import com.baomidou.mybatisplus.annotation.DbType; import com.baomidou.mybatisplus.extension.plugins.Myb 阅读全文

posted @ 2023-05-21 17:35 你就学个JVAV? 阅读(12) 评论(0) 推荐(0)

手动实现分页查询(菜鸟版)

摘要: public Map<String,Object> selectPage(Integer pageNum, Integer pageSize,String username,String email,String address) { // 拼接sql username = "%"+username 阅读全文

posted @ 2023-05-21 17:34 你就学个JVAV? 阅读(17) 评论(0) 推荐(0)

文件上传下载

摘要: 文件上传 /** * 文件上传 * @return */ @PostMapping(value = "/upload") public String fileUpload(@RequestParam MultipartFile file) throws IOException { //获取源文件名 阅读全文

posted @ 2023-05-21 17:34 你就学个JVAV? 阅读(27) 评论(0) 推荐(0)

UserThreadLocal简单使用

摘要: 1 package com.huoziqi.springboot.utils; 2 3 /** 4 * @version 1.0 5 * @Author 作者名 6 * @Date 2022/10/22 11:16 7 */ 8 9 import com.huoziqi.springboot.ent 阅读全文

posted @ 2023-05-21 17:32 你就学个JVAV? 阅读(52) 评论(0) 推荐(0)

springboot集成websocket

摘要: 导入依赖 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <artifactId>spring-boot-starter-websocket</artifactId> 4 </dependency> 编写配置类 @Conf 阅读全文

posted @ 2023-05-21 17:31 你就学个JVAV? 阅读(45) 评论(0) 推荐(0)

简单封装JWTUtils实现对token的创建和过期时间检查

摘要: 想要使用jwt需要先导入依赖 <!-- https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt --> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</arti 阅读全文

posted @ 2023-05-21 17:24 你就学个JVAV? 阅读(376) 评论(0) 推荐(0)

web.xml

摘要: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文

posted @ 2023-05-21 17:22 你就学个JVAV? 阅读(15) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7 8 下一页

导航