原创 Mac安裝mysql 以及遇到的坑

安裝過程 安裝參考文檔:mac安裝mysql 安裝過程中,遇到錯誤 brew 安裝報錯 Running Homebrew as root is extremely dangerous and no longer supported. 修改

原创 微信支付號,服務號,小程序,開放平臺,企業微信,openid,unionid

微信體系搞的比較複雜,梳理一下。其實弄清楚這些,目的就是獲取用戶的唯一ID openId,unionId 先從這2個說起 微信主掃支付獲得openId 完成後,會返回openId,開發文檔 小程序獲得OpenId 登陸後獲得code,服

原创 正則表達式以及常用規則

參考文檔 https://www.runoob.com/regexp/regexp-syntax.html https://blog.csdn.net/cherrydreamsover/article/details/80941220

原创 vue.js element el-table 裏 el-input 數據校驗,比較兩列

場景,換購價不能超過售價。網上搜到的一般都是用form對內容進行簡單校驗,比如不爲空,長度等,不能進行數據比較之類的操作。 <el-table :data="curHomePageExchangeGoodsList"

原创 vue.js 中 data, prop, computed, method,watch

官網:https://cn.vuejs.org/v2/guide/ vue.js 中 data, prop, computed, method,watch vue.js 中 data, prop, computed, method,wat

原创 自動化測試框架+jenkins集成

綜述 搭建API管理與接口自動化測試平臺全過程 文章裏說的NEI不可私有化部署,這個不對,https://github.com/x-orpheus/nei   selenium python中selenium使用 bilibi視頻教程:P

原创 vue裏的目錄 index.html、main.js、App.vue、index.js

淺談vue中index.html、main.js、App.vue、index.js之前的關係以及加載過程 【vue】index.html main.js app.vue index.js怎麼結合的?

原创 Mysql expain 及優化記錄(索引)

某次優化記錄: 操作記錄 operation_alarm 2000萬條數據 CREATE TABLE `operation_alarm` ( `id` bigint(11) NOT NULL AUTO_INCREMENT, `s

原创 Java Mybatis 聯查join resultMap對應

需求:商品計量單位,其中計量單位名稱是獨立表裏存儲的,請求商品-計量單位時,需要把名稱一起返回 以下代碼 name 和 metering 二選一就可,這裏方便測試,2個都寫了,方便比較 // 商品計量單位表 public class G

原创 Sping MVC 裏CSS,JS等靜態資源前後端分離,獨立部署服務器

使用interceptor,攔截html <mvc:interceptor> <mvc:mapping path="/"/> <mvc:mapping path="/**/

原创 Spring中的ApplicationListener和ServletContextListener的區別

參考文章:https://www.zifangsky.cn/1303.html

原创 Element el-date-picker datetimerange使用及限制時間範圍

使用場景: 1)初始化時間爲明天零點到7天后晚上23:59:59秒 2)不允許選今天之前的日期 <el-date-picker v-model="rangeTime" type="datetime

原创 mysql數據庫刪除千萬記錄方案

前提:總記錄4000多萬條,是刪除部分數據,而不是全部。 參考 https://zhuanlan.zhihu.com/p/20209766 https://blog.csdn.net/u013276277/article/details/

原创 js架構框架

html,css,js加載順序 [Web前端][JS框架]詳解三大JS框架 前端知識圖譜

原创 SpringMVC的攔截器(mvc:interceptor)和過濾器(filter)的區別與聯繫

SpringMVC的攔截器(Interceptor)和過濾器(Filter)的區別與聯繫 spring mvc自定義過濾器filter實現對request預處理和response響應