- 博客(9)
- 收藏
- 关注
原创 keepalived的安装与配置
再次在浏览器输入http://虚拟ip:port,查看页面是否正常展示。在浏览器输入http://虚拟ip:port,查看页面是否正常展示。停掉其中一台服务器的keepalived。
2023-05-09 14:25:06
5223
3
原创 mybatis一对多关联查询映射实体对象,但是以“一”分页
mybatis的xml<select id="queryMyOrders" resultMap="myOrdersVO" parameterType="Map"> SELECT od.id as orderId, od.created_time as createdTime, od.pay_method as payMethod, od.real_pay_amount as realPayAmount, od.post_amo
2022-01-29 14:07:51
683
2
原创 Springboot +Netty+Vue实现聊天(单聊+创建群聊并聊天)
Springboot +Netty+Vue实现简单的单对单聊天后台项目结构pom文件主要在SpringBoot项目的pom文件基础上,加上下面的<dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <!-- Use 'netty-all' for 4.0 or above --> <scope
2021-04-26 10:19:59
5731
2
原创 vue预览pdf和视屏及excel
vue预览pdf和视屏及excel预览pdf<el-dialog :visible.sync="dialogVisible"> <embed :src="dialogPdfUrl" style="width: 100%;height: 400px;"/> </el-dialog>dialogPdfUrl 为pdf文件的路径《参考访问项目外的文件》预览video<el-dialog :visible.sync="dialogVi
2021-04-14 15:03:16
231
原创 通过请求路径访问项目外的本地文件
通过请求路径访问项目外的本地文件package com.ydy.file.config;import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;import org.springframework.web.servlet.config.annotation.WebMvcCon
2021-04-14 14:47:19
361
原创 Vue头部菜单,点击菜单新增tab页签
Vue头部菜单,点击菜单新增tab页签<template><div class="wrapper"><!-- 页面头部部分 --> <div class="header"> <div class="logo">SpringCloud-Study</div> <!-- 水平一级菜单 --> <div style="float:left;">
2021-03-27 17:56:54
1914
原创 SpringBoot+Zuul过滤器中获取每个请求的参数
SpringBoot+Zuul过滤器中获取每个请求的参数package com.ydy.zuul.util;import com.alibaba.fastjson.JSONObject;import com.alibaba.fastjson.parser.Feature;import com.google.common.collect.Maps;import com.netflix.zuul.context.RequestContext;import com.netflix.zuul.http.
2021-03-26 14:23:49
715
1
原创 SpringBoot或者SpringMvc+quartz2.2.1实现定时任务的增删改,启动自动添加任务
SpringBoot或者SpringMvc+quartz2.2.1实现定时任务的增删改,启动自动添加任务1、pom文件:<!--quartz--><dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.2.1</version></depen
2021-03-26 13:39:43
372
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人