自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(71)
  • 资源 (2)
  • 问答 (1)
  • 收藏
  • 关注

原创 实现简单手写板

canvas {})})redraw()})})})

2023-06-08 11:40:22 720

原创 源码解析(个人收录,并不标准)

有志不在年高,无志空长百岁古代的Spring容器:BeanFactory现代的Spring容器:SpringApplicationContext 允许容器通过应用程序上下文环境创建、获取、管理beanhttps://blog.csdn.net/ac_dao_di/article/details/123764281?ops_request_misc=&request_id=&biz_id=102&utm_term=SpringApplicationContext%E6%B5%81%E7%A8%8B&utm_m

2022-07-13 18:22:44 1260 3

原创 QT使用sqllite

sql.pro目录里面,加入sql的支持为了防止生成到debug文件,需要在database名加入…/+“你的工程目录”/数据库名的运算符,使得.db文件生成在你的工程目录里

2022-06-28 20:16:39 1383

原创 QT实现界面跳转

在需要跳转业务的类中:找到该类的头文件创建一个跳转类的指针在待跳转页的类中,将该指针实例化即可在待跳转类中使用跳转类的方法(其中就有show方法)实现展示跳转页,同时用this->close()关闭待转页,实现跳转业务。...

2022-06-28 16:08:23 1574

原创 前端设计接收RabbitMQ的消息

前面需要加入stomp相关的插件参照这位大佬吧https://blog.csdn.net/weixin_40461281/article/details/81806921?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165233362716781432972420%2522%252C%2522scm%2522%253A%252220140713.130102334…%2522%257D&request_id=1652333627

2022-05-12 13:34:24 713

原创 failed to req API:/nacos/v1/ns/instance after all servers([]) tried: ErrCode:400,

双服务器做集群的话,需要一个服务器做单体模式,另一个服务器做集群模式

2022-05-10 15:13:11 894

原创 OpenFeign:back to the current handler URL [/student] again. Check your ViewResolver setup

需要使用@RestController

2022-05-08 10:43:20 150

原创 Springcloud GateWay + OpenFeign访问CORS

每个模块加入跨域问题解决

2022-05-08 10:20:15 638

原创 Springboot实现文件上传和获取

Windows版新建一个properties# 文件的实体路径image.path=C:\\Users\\Administrator\\IdeaProjects\\shitang\\img\\# 待会要获取的IP地址image.ip=localhost:8080linux版本# 文件的实体路径image.path=/usr/web/shitangdemo/img/# 待会要获取的IP地址image.ip=121.57.161.223:8000配置类,让properti.

2022-05-06 21:48:03 1937

原创 Vue +原生js 实现 放大效果

<html> <head> <meta charset="utf-8"> <style> @import url("//unpkg.com/[email protected]/lib/theme-chalk/index.css"); </style> </head> <body> <div id="App"&

2022-04-24 22:59:10 561

原创 使用ajax+Springboot实现文件上传

后端部分:@PostMapping("/fileUpload") public Map<String,Object> getFile(@RequestPart("file") MultipartFile file) throws IOException { if(!file.isEmpty()) { // 获取文件名 System.out.println(file.getName());

2022-04-24 13:58:32 2798

原创 Jquery测试

<html> <head> <meta charset="utf-8"> <style> #headtext{ width: 500px; height: 500px; } </style> </head> <body> &lt

2022-04-12 17:29:27 757

原创 vue2 websocket

<html> <head> <meta charset="utf-8"> </head> <body> <div id="name"></div> <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> <

2022-04-10 19:07:02 377

原创 uniapp 表单传递

uni.request({ url:"http://localhost:8008/renzheng/dologin", method:"POST", header: {'content-type': 'application/x-www-form-urlencoded'}, data:{ username:username, password:password }, success:(e)=>{ conso

2022-04-09 14:34:36 494

原创 Security自定义接口

package com.wang.securitydemo.filter;import org.springframework.security.authentication.AuthenticationServiceException;import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;import org.springframework.security.core.Authe

2022-04-09 14:26:57 787

原创 Uniapp - 使用Uview组件

main.jsimport uView from '@/uni_modules/uview-ui'Vue.use(uView);uni.scss@import '@/uni_modules/uview-ui/theme.scss';script引入import button from "../../components/page-nav/page-nav.vue"

2022-04-09 13:21:39 347

原创 easyexcel简单使用

@Configurationpublic class easyExcelConfig extends AnalysisEventListener<CATEGORY> { @Autowired CATEGORYdao categorYdao; //一行一行的读取 @Override public void invoke(CATEGORY category, AnalysisContext analysisContext) { categorYdao.ins

2022-04-07 22:54:34 399

原创 org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:201) ~

问题出现在public AuthenticationManager authenticationManagerBean() throws Exception {return super.authenticationManagerBean();}重写bean而不是重写 authenticationManagepublic AuthenticationManager authenticationManager() throws Exception {return super.authenticat

2022-04-05 16:36:47 929

原创 报错:Cannot determine value type from string ‘xxxxxx‘

使用Lombok别让有参构造影响到

2022-03-31 13:55:20 238

原创 Easyexcel问题 Can not instance class

不要添加构造方法

2022-03-23 22:21:52 3237

原创 list删除remove的小坑

记得删除一个元素的时候i–一下不然for循环会跳过一些元素(指针漂移)

2022-03-21 22:21:05 234

原创 51闪灯测试

#include <REGX52.H>#include <INTRINS.H>void Delay30ms() //@12.000MHz{unsigned char i, j, k;_nop_();_nop_();i = 2;j = 95;k = 43;do{ do { while (--k); } while (--j);} while (--i);}int main(){while(1){//1111 1110P2 = 0xFE;

2022-03-09 14:30:44 103

原创 B站直播弹幕姬 java版

纠正了一些bug尝试使用javafx做图形化界面,但是不会做就g了解析:fastjson解析B站Api的JSON数据存取和判断:List 普通的for循环判断有无线程的睡眠和执行package com.example.pachong3;import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONArray;import com.alibaba.fastjson.JSONObject;import com.jaco

2022-03-08 20:56:05 919 2

原创 java实现B站弹幕爬取

package com.wang.demo;import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONArray;import com.alibaba.fastjson.JSONObject;import org.jsoup.Connection;import org.jsoup.Jsoup;import java.io.IOException;public class jsoup {public static void

2022-03-07 20:34:42 811

原创 SqlServer设置Sql类型登录

然后对他右键后进行重启,重新启动右键属性

2022-03-02 20:50:11 417

原创 nacos 配置启动

bin->startup.batset MODE="standalone"单独启动(不是集群模式启动)conf->applicationspring.datasource.platform=mysqldb.num=1db.url=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&a

2022-03-01 20:34:57 352

原创 微信小程序构建vant

现在的微信小程序好像没有使用npm模块的选项了。。。所以打开终端npm init一直回车然后npm i @vant/weapp -S --production最后工具-》构建npm

2022-02-28 22:36:28 91

原创 Go写一个简单的接口

使用到了结构体但是因为反射机制获取结构,所以必须每一个字段名要大写package mainimport ( "fmt" "github.com/gin-gonic/gin" "net/http")func main() { type user struct { Username string Password string } fmt.Println("helloworld!") server := gin.Default() server.GET("/json", f

2022-02-22 16:00:49 628

原创 Vuecli vue3中使用vuex

store层import {createStore} from 'vuex'export default createStore({ state:{ token:'测试有无跳转' }, mutations:{ setToken(state,token) { state.token = token; } }, getters:{ getToken(state)

2022-02-18 15:56:16 415

原创 关于Springboot js文件没有加载问题

禁止使用iframe内部跳转这种方式,容易使静态资源加载的是原来的东西,直接的办法就是用windows.open的办法打开一个新页面,利用新页面来强制刷新

2022-02-02 23:19:27 1327

原创 SpringBoot session获取不到

我是做前后端分离的时候发现这个问题的,查到的相关解释就是因为浏览器跨域策略,导致不存储session,将html等文件重新合并到Springboot的static目录下,就没有这个情况了我是裂了啊,前后端分离白给了...

2022-02-01 20:40:22 1853

原创 Springboot跨域问题

1.加入@CrossOrigin注解解决如果继续报错,请注意你访问后端的ip地址是否写对如果没写对,因为Springboot的同源过滤器策略同样会给你返回那个信息

2022-02-01 10:05:56 337

原创 Request processing failed; nested exception is org.springframework.dao.DataIntegrityViolationExcepti

1.dao层设计有问题2.pojo层类型不对3.Application没有扫描dao层

2022-02-01 09:35:13 1419

原创 MySQL连接出错(时区问题)

IDEA连接mysql又报错!Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' prope_liuqiker的博客-CSDN博客

2022-01-31 20:08:23 566

原创 Tomcat乱码问题

1.tomcat本身没有设置UTF-8编码在tomcat文件中conf下面有一个server.xml将connect改为以下的编码<Connector URLEncoding="UTF-8" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />此时用chrome浏览器的装一个charset插件,使用charset插件将网

2022-01-26 09:39:55 841

原创 Tomcat跨域问题

简单方案:整一个live-server先简单的把网页弄上用 live-server指令跑起来

2022-01-16 17:27:07 584

原创 Tomcat配置闪退

没有配置JAVA_HOMEpath配置里面只需要添加jdk/binjre/bintomcat/bin

2022-01-15 13:23:18 187

原创 java配置环境变量

系统环境里面直接找到path在里面添加jdk和jre的bin目录就可以了

2022-01-15 13:14:47 112

原创 JavaFX待办事项“学生管理系统” JDBC数据库版

import javafx.application.Application;import javafx.beans.property.SimpleStringProperty;import javafx.collections.FXCollections;import javafx.collections.ObservableList;import javafx.fxml.Initializable;import javafx.geometry.Insets;import javafx.geom

2021-12-23 21:53:37 862

原创 数塔DFS

#include <bits/stdc++.h>using namespace std;int a[110][110],T,N,ma;bool f[110][110];int r[10010][3];//路径 防止下标越界int fx[3]={0,1,1};int fy[3]={0,0,1};//下 右//DFS遍历路径void dfs(int dep,int sum){ //深度 回溯 int tx,ty; for(int i=1;i<=2;i+

2021-11-25 15:01:23 393

图书管理系统(使用文本IO实现)

图书管理系统(使用文件实现)

2021-11-28

JavaFX(模板) 待办任务(类图书管理系统) SQL简化版

都是自带的模板,建议购买一个云数据库使用,或者用电脑自带的数据库绑定就ok

2021-12-23

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除