# Spring-Boot **Repository Path**: luo-wenjie12/spring-boot ## Basic Information - **Project Name**: Spring-Boot - **Description**: 用于springboot相关 练习(新) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-30 - **Last Updated**: 2025-07-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Spring-boot - 负责人: - 邮箱: - swagger地址:http://localhost:8091/doc.html ## 项目简介 用于springboot相关 练习 ## 日记 ### 2021-08-30 #### 新增一个springboot项目 增加 一个简单的Controller类 ### 2021-09-02 #### SpringBoot集成Mybatis+Druid - Druid监控地址 http://localhost:8089/druid/login.html ### 2021-11-23 #### 增加swagger文档配置 - swagger地址:http://localhost:8091/doc.html #### 二维码扫码登陆练习 - Demo com.boot.springboot.component.qrcode.controller.QrCodeController com.boot.springboot.config.websocket.WebSocketServer - 文章: 1.[SpringBoot + Web Socket 实现扫码登录,这种方式太香了!!](https://mp.weixin.qq.com/s/T3YOppJqW85oK7mUujEReA) 2.[微信扫码登录是如何实现的?](https://www.cnblogs.com/javastack/p/13475238.html) - 步骤:1.加载二维码扫码页面 http://localhost:8091/qrcode/lgoin 生成 s_user_token表数据。及前端配置webSocket 2.使用扫码获取到的uuid作为token,并加上userid作为绑定 调用 http://localhost:8091/qrcode/bindUserIdAndToken?token={uuid}&userId={userid} 模拟确认登陆动作 3. 前端收到服务端的消息,跳转到登陆成功页面 ### 2021-11-26 #### spring boot 整合spring websocket,点对点式通讯,stomp监听连接 - Demo com.boot.springboot.component.springwebsocket.interceptor.* com.boot.springboot.config.spirngwebsocket.SpringWebSocketConfig com.boot.springboot.component.springwebsocket.controller.* - 文章: 1.[spring mvc 4整合spring websocket,点对点式通讯,stomp监听连接](https://blog.csdn.net/jie873440996/article/details/70257558) 2.[WebSocket和Stomp协议](https://www.jianshu.com/p/db21502518b9) - 步骤:1.加载前端页面,连接websocket并订阅主题 http://localhost:8091/springws/wechat 2.在前端页面,发送消息,订阅了该主题的客户端将收到消息 ### 2021-12-02 #### auto-log 是一款为 java 设计的自动日志监控框架。 https://github.com/houbb/auto-log ### 2022-01-21 #### InitializingBean InitializingBean接口为bean提供了初始化方法的方式,它只包括afterPropertiesSet方法,凡是继承该接口的类,在初始化bean的时候会执行该方法。 - Demo com.boot.springboot.component.helper.* #### ApplicationListener 监听器 - Demo com.boot.springboot.component.listener.* - 文章: 1.[Spring中的ApplicationListener的使用详解案例(观察者模式)](https://blog.csdn.net/u010963948/article/details/83507185) - 接口: http://localhost:8092/listener/push/1 ### 2022-02-19 #### java实现 RSA非对称加密 https://app.yinxiang.com/shard/s59/nl/12469951/c79eeb09-df34-4df2-8996-5efa8b558a1e - Demo com.boot.springboot.common.utils.AESUtil com.boot.springboot.common.utils.Base64Util com.boot.springboot.common.utils.RSAUtil #### mybatis实现动态插入表结构 - Demo com.boot.springboot.component.qlexpress.dao.DynamicDbMapper #### QLExpress基本语法 - 文章:1.[QLExpress基本语法](https://github.com/alibaba/QLExpress) 2.[QLExpress 规则引擎使用介绍](https://www.cnblogs.com/duanxz/p/9307985.html) - Demo com.boot.springboot.component.qlexpress.service.QlService - 执行步骤 调用:http://localhost:8092/collect/log/v1 入参:[ { "content": "aati_6HBraeFT7FFRyMN2oPW8VQBAQzCYM71MrME7nQS5PlzvatXcL_alDvB4JJl5CNWqPIsfPXkA_kGhlhKikUn6pRUvr4UYzgRUtYY_WpxyCnzZNPX8VA7xIVQUOTMg1EQu_M_izLzpLPABUi6BhqgD_QHkGX3mNCfr9W1duI_U9AcXm0dHOcrPE0TH_PEDOosecdDNzFI4LAq0hCYzqe1EyhiXCoYLrrWJTpqa2MSu7zGwDiCdajCt9VwavWyIO4lu3h0NiscqxuwPqPY-o7I6RlyK_qBOjY07xS8su5ZBxA9L98FEJ3k3cH0EiBcW_BUHn6DzJm_kYrP0GNd5ETy1sWUY70fKUbNHW1BrVX2U4UojKPoiWiV7Mq4qGXbZgGWOEHO0UiqJejvdnnshVp7hdquZ8lkAjwWqGMbPLr_0Ubh7U-78SkLG3JhIoThODL6pEjh7IREKzdc-OYbtketPeiPwakZEwjzj0qbUd0=", "key": "ZIOl2lLC6F_nXh90ZbHxHECapJ31eTwxg8tsm05NOljfn0zlGjnudIjEUlKD8ybNzNkWHFtE3UiISbw6kr__ug==" } ]