原创 [temp]釘釘考勤

import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.sie.util.HttpUtils; import o

原创 [temp]微信服務號 - 模板消息推送+創建自定義菜單

import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.sie.util.HttpUtils; import

原创 JMessageUtils

import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import org.springframework.beans.fact

原创 日常總結 -- html + css 篇

1. 鼠標箭頭變成小手樣式;  <div style="cursor:pointer;"></div> 2. DIV的高度固定,當超出固定高度時,出現自動滾動條;  style { width:980px; height:100px; l

原创 日常總結 -- dom4j & fastjson篇

dom4j: 字符串與文檔互轉; 創建文檔、節點、屬性;獲取節點、屬性值; 1. 創建文檔Document:  Document document = DocumentHelper.createDocument(); 2.創建根節點: 

原创 日常總結 -- Java篇 -- 全角半角互轉換

1. 半角轉全角 public String toMultiByte(String str) { final char DBC_CHAR_START = 33; // 半角開始位! final char

原创 日常總結 -- 如何查看某個端口被誰佔用

1. 開始---->運行---->cmd,或者是window+R組合鍵,調出命令窗口 2. 輸入命令:netstat -ano,列出所有端口的情況 3. 查看被佔用端口對應的PID,輸入命令:netstat -aon|findstr "4

原创 極光消息推送JPush

    import cn.jiguang.common.resp.APIConnectionException; import cn.jiguang.common.resp.APIRequestException; import cn

原创 [temp]Nginx 錯誤502 upstream sent too big header while reading response header from upstream

Nginx 502 Bad Gateway的含義是請求的PHP-CGI已經執行,但是由於某種原因(一般是讀取資源的問題)沒有執行完畢而導致PHP-CGI進程終止。 Nginx 504 Gateway Time-out的含義是所請求的網關沒

原创 MySQL合併行

原文地址: https://www.cnblogs.com/guaiguaipaizz/p/6501676.html mysql中將多行數據合併成一行數據 一個字段可能對應多條數據,用mysql實現將多行數據合併成一行數據 例如:一個活動

原创 HttpServletRequest獲取URL的方法

1、request.getRequestURL() 返回的是完整的url,包括Http協議,端口號,servlet名字和映射路徑,但它不包含請求參數。 2、request.getRequestURI() 得到的是request URL的部

原创 Win7系統 -- `win+R` 運行常用命令

Win7系統 -- `win+R`運行常用命令   win+R 鍵打開運行界面, 輸入命令          1. cmd    命令提示符程序         2. mstsc    遠程桌面連接         3. mspaint 

原创 nginx實現https轉發

1.  要有安全證書和key文件: *.crt, *.key; 保存在根目錄下(位置不重要, 只要絕對路徑可以找的到) 2. 修改nginx.conf #user nginx; #當前用戶 worker_processes 1;

原创 利用wsdl2java工具生成webservice的客戶端代碼

原文鏈接:https://www.cnblogs.com/shaosks/p/9617401.html         1、JDK環境          2、下載apache-cxf發佈包:ht

原创 日常總結 -- React中富文本編輯器Simditor

參考1: https://blog.csdn.net/lcg_18284090173/article/details/88723364 官網: https://simditor.tower.im/docs/doc-usage.html