原创 接入短信平臺(雲片)實現短信更改密碼(登陸同流程)
雲片開發文檔 https://www.yunpian.com/official/document/sms/zh_CN/scene/smsverify SDK整合 pom依賴 <dependency>
原创 SpringBoot下整合ueditor踩過的坑
目錄 一、前端配置ueditor 二、後端配置 三、碰到的問題 視頻無法預覽,在修改框中顯示“插入的視頻地址有誤” 正常顯示的圖片,在編輯器添加內容移位後變成圖裂找不到 多圖上傳的在線管理不顯示圖片 在layui中多圖上傳和視頻上傳的
原创 JS獲取當前網絡定位
方法一: <html> <head> <title>獲取地址</title> <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script> var c
原创 記使用MultipartFile上傳文件引發的oom錯誤
異常情況 上傳50M左右的文件時正常,當文件較大到100M時引發oom。異常如下: 異常org.springframework.web.util.NestedServletException: Handler dispatch fail
原创 SpringBoot下整合Druid連接池的兩種方式(數據庫密碼加密及解密)
參考博客: https://www.jianshu.com/p/4a8e56f557ea https://blog.csdn.net/u010513756/article/details/80235876 前言 在springboo
原创 SpringBoot引入外部jar打包問題
現象 將外部jar放在resource下的文件夾,打包war時提示使用到jar的類NotFound 解決 在pom.xml文件中加入如下配置 <project> ... <build> <plugins
原创 SpringBoot打包war部署tomcat8訪問404
現象 能正常訪問貓頁以及tomcat的默認項目 訪問我們的項目404 控制檯並沒有打印出我們熟悉的“Spring”字眼的log 解決 添加tomcat依賴 <dependency> <groupId>or
原创 SpringBoot整合MyBatisPlus代碼生成器
官方例子 https://mp.baomidou.com/guide/generator.html#%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B 引入依賴 <dependency> <
原创 Java服務端-前端接入微信第三方登錄
目錄 準備工作 業務流程 後臺接口實現 準備工作 在微信開放平臺申請微信登錄 微信開放平臺:https://open.weixin.qq.com/ 微信登錄開發文檔:https://developers.weixin.qq.co
原创 SpringBoot整合MybatisPlus碰到的坑
框架整合 整合MBP前使用的依賴 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-
原创 在現有Div下給控件動態生成的Div添加點擊事件
現有Div: <div class="layui-form-item"> <label class="layui-form-label">村莊姓氏</label> <div class="
原创 SSM(SpringBoot)下實現定時任務
配置類 package com.yq.config; import org.springframework.context.annotation.Configuration; import org.springframework.sc
原创 SpringBoot下使用PageHelper分頁插件
引入依賴 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</art
原创 SpringBoot下整合Druid連接池的兩種方式
參考博客: https://www.jianshu.com/p/4a8e56f557ea https://blog.csdn.net/u010513756/article/details/80235876 前言 在springboo
原创 SpringBoot下使用Log4J2,按日期保存7天日誌
參考博客: https://www.cnblogs.com/xishuai/p/spring-boot-log4j2.html https://blog.csdn.net/shope9/article/details/87379255