博客园 首页 私信博主 显示目录 隐藏目录 管理 动画
摘要: > github地址 获取 > https://github.com/August-the-feel/jqcode.git > html 内容 ```html ``` > js 实现方式 ```javascript $(function(){ var Url = url +getQueryVaria 阅读全文
posted @ 2022-07-06 23:26 八月情 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 实现方法 /** * @使用HMAC-SHA1算法生成oauth_signature签名值 * * @param $key 密钥 * @param $str 源串 * * @return 签名值 */ function get_signature($str, $key) { $signature = 阅读全文
posted @ 2022-07-06 14:52 八月情 阅读(346) 评论(0) 推荐(0) 编辑
摘要: //临时二维码 public function getQrls() { $user = $this->auth->getUserinfo(); $src = Cache::get('srcimg'); if (!empty($src)) { $this->success('成功', ['img' = 阅读全文
posted @ 2022-07-05 15:49 八月情 阅读(240) 评论(0) 推荐(0) 编辑
摘要: use PhpOffice\PhpWord\IOFactory; //获取文件名 function get_fileName($file_path){ //1、先获取带文件部分 $file_base_name = basename($file_path); //2、查找截取即可 $f_name = 阅读全文
posted @ 2022-05-31 16:18 八月情 阅读(351) 评论(0) 推荐(0) 编辑
摘要: let baseUrlStr = 'https://!@!@!@@@@@!@/lock?code=DWE34234'; const queryURLParameter = (url) => { let regx = /([^&?=]+)=([^&?=]+)/g; let obj = {}; url. 阅读全文
posted @ 2022-05-19 13:47 八月情 阅读(144) 评论(0) 推荐(0) 编辑
摘要: function arraySort($array, $keys, $sort = 'asc') { $newArr = $valArr = array(); foreach ($array as $key => $value) { $valArr[$key] = $value[$keys]; } 阅读全文
posted @ 2022-03-10 23:29 八月情 阅读(225) 评论(0) 推荐(0) 编辑
摘要: ```php header('Content-type: text/html; charset=utf-8'); echo '百度关键词URL编码转换示例:'; $urlBaidu = '%B9%AB%D6%DA%BA%C5%B9%D8%D7%A2%C8%CE%CE%F1'; parse_str($ 阅读全文
posted @ 2022-03-10 23:28 八月情 阅读(280) 评论(0) 推荐(0) 编辑
摘要: jwt 升级 到 6.0版本以后会报错 $keyOrKeyArray must be an instance of Firebase\JWT\Key key or an array of Firebase\JWT\Key keys 解决办法 JWTdecode($jwt, $key,["HS256" 阅读全文
posted @ 2022-03-02 15:16 八月情 阅读(296) 评论(0) 推荐(0) 编辑
摘要: ```linux git config --global http.proxy socks5://127.0.0.1:端口 git config --global http.https://github.com.proxy socks5://127.0.0.1:端口 ``` 重置 ```linux 阅读全文
posted @ 2022-02-22 17:09 八月情 阅读(105) 评论(0) 推荐(0) 编辑
摘要: public $str1; public $str2; public $c = array(); /*返回串一和串二的最长公共子序列 */ function getLCS($str1, $str2, $len1 = 0, $len2 = 0) { $this->str1 = $str1; $this 阅读全文
posted @ 2022-01-20 10:37 八月情 阅读(55) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示