微信支付 redirect_uri 提示 協(xié)議與后臺配置不一致,錯誤碼:10039
如下圖所示:檢查微信公眾后臺的協(xié)議...
window mysql開啟遠(yuǎn)程訪問
1. 設(shè)置賬戶權(quán)限mysql -u root -p 輸入進(jìn)去后切換到mysql數(shù)據(jù)庫use mysql 查詢user表...
npm安裝時報錯,出現(xiàn) certificate has expired
最近使用npm安裝工具屢屢報錯,大致顯示為:npm ERR! request to https://registry.npm.taobao.org/cnpm failed, reason: certificate has expired....
mysql查詢名稱重復(fù)的數(shù)據(jù)
查詢所有重復(fù)數(shù)據(jù):SELECT * FROM your_table_name WHERE your_name IN ( SELECT your_name  ...
nodejs 文件操作類的封裝
最近做node項(xiàng)目,操作文件特別不方便,于是封裝了工具類挺好用的,分享給大家 const fs = require('fs') const path = require('path') /** &nb...
php實(shí)現(xiàn)微信公眾號掃碼登錄
服務(wù)器配置登錄微信公眾平臺,左側(cè)點(diǎn)開設(shè)置與開發(fā) -> 基本設(shè)置,如圖所示:...
php es 報錯 No alive nodes. All the 1 nodes seem to be down
php連接es時報錯No alive nodes. All the 1 nodes seem to be down,原因是Elasticsearch開啟了安全認(rèn)證,查看服務(wù)器端響應(yīng)信息為:received plaintext http traffic on&n...
php字符串壓縮工具
判斷字符串是否需要壓縮,然后再進(jìn)行壓縮,需要優(yōu)化的地方很多,比如把壓縮結(jié)果保存起來,避免執(zhí)行2次,判斷是依賴于壓縮的結(jié)果大小和原始字符串的大小來判斷的,懶得處理了。代碼如下/** * 字符串壓縮工具 */ class CompressStrUtil...