摘要: 1.添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> <version>2.3.11.RELEASE</version> </ 阅读全文
posted @ 2021-06-09 16:48 执笔coding 阅读(125) 评论(0) 推荐(0) 编辑
摘要: python客户端代码,可直接使用 import websocket import json import time import threading class WebsocketClient(object): """docstring for WebsocketClient""" def __i 阅读全文
posted @ 2021-06-07 16:03 执笔coding 阅读(3113) 评论(0) 推荐(0) 编辑
摘要: <!--用户信息结果集--> <resultMap id="userResultMap" type="cn.com.xytkj.goods.entity.user.User"> <id column="uid" property="id"/> <result column="user_name" p 阅读全文
posted @ 2021-05-25 14:53 执笔coding 阅读(56) 评论(0) 推荐(0) 编辑
摘要: exp INSERT INTO t_test (`name`,age) VALUES ('小黑',19) ON DUPLICATE KEY UPDATE age = 19 阅读全文
posted @ 2021-01-21 14:53 执笔coding 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 下载mysql8.0rpm安装包 wget https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm 安装yum repo文件 rpm -ivh mysql80-community-release-el7-11.noar 阅读全文
posted @ 2021-01-20 20:18 执笔coding 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://www.cnblogs.com/sijidou/p/13121332.html 阅读全文
posted @ 2021-01-20 14:53 执笔coding 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 项目场景: Linux springboot上传文件报错:java.nio.file.NoSuchFileException: /tmp/undertowXXXXXX 问题描述: 系统使用频率较低,用户上传附件时提示报错:java.nio.file.NoSuchFileException: /tmp 阅读全文
posted @ 2021-01-04 10:08 执笔coding 阅读(10578) 评论(0) 推荐(3) 编辑
摘要: proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 阅读全文
posted @ 2020-09-22 12:38 执笔coding 阅读(387) 评论(0) 推荐(0) 编辑
摘要: //用于登录过期之后回到登录页 $.ajaxSetup({ complete:function(XMLHttpRequest,textStatus){ if(textStatus=="parsererror"){ window.location.href = '/'; } else if(textS 阅读全文
posted @ 2020-08-14 14:33 执笔coding 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 一般不做特别设置登录失效会在小窗口弹出登录页面,这样影响整体视觉效果,所以在登录添加判断当前是否是在父窗口 if (top.location.href.indexOf("login") 1) { top.location.href = '/'; } 阅读全文
posted @ 2020-08-14 14:19 执笔coding 阅读(1517) 评论(0) 推荐(0) 编辑