微信支付 redirect_uri 提示 協(xié)議與后臺(tái)配置不一致,錯(cuò)誤碼:10039
如下圖所示:檢查微信公眾后臺(tái)的協(xié)議...
window mysql開啟遠(yuǎn)程訪問(wèn)
1. 設(shè)置賬戶權(quán)限mysql -u root -p 輸入進(jìn)去后切換到mysql數(shù)據(jù)庫(kù)use mysql 查詢user表...
npm安裝時(shí)報(bào)錯(cuò),出現(xiàn) certificate has expired
最近使用npm安裝工具屢屢報(bào)錯(cuò),大致顯示為: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)微信公眾號(hào)掃碼登錄
服務(wù)器配置登錄微信公眾平臺(tái),左側(cè)點(diǎn)開設(shè)置與開發(fā) -> 基本設(shè)置,如圖所示:...
php es 報(bào)錯(cuò) No alive nodes. All the 1 nodes seem to be down
php連接es時(shí)報(bào)錯(cuò)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é)果保存起來(lái),避免執(zhí)行2次,判斷是依賴于壓縮的結(jié)果大小和原始字符串的大小來(lái)判斷的,懶得處理了。代碼如下/** * 字符串壓縮工具 */ class CompressStrUtil...