上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 定位到本地对应文件夹,打开 Git Bash $ git reflog //查看历史版本 如果要回退到 commit:地图选择插件 也就是7383322这个版本,执行 $ git reset 7383322 之后执行强制推送 $ git push origin HEAD --force 阅读全文
posted @ 2021-09-14 13:55 一颗糊涂淡 阅读(1985) 评论(0) 推荐(0)
摘要: 首先安装GIT打开Git Bash git config --global user.name "your name" //配置昵称 git config --global user.email "your email" //配置邮箱 git config --global credential.h 阅读全文
posted @ 2021-09-13 17:08 一颗糊涂淡 阅读(1011) 评论(0) 推荐(0)
摘要: POST function curl_post($url, $header, $content) { $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_URL, $u 阅读全文
posted @ 2021-08-24 10:30 一颗糊涂淡 阅读(401) 评论(0) 推荐(0)
摘要: function getDateSeven($time = '', $format = 'Y-m-d') { $time = $time != '' ? $time : time(); //获取当前周几 // $week = date('w', $time); $date = []; for ($i 阅读全文
posted @ 2021-08-20 11:11 一颗糊涂淡 阅读(544) 评论(0) 推荐(0)
摘要: 转自:https://blog.csdn.net/echizao1839/article/details/94380916注意设置完成后需要执行 flush privileges; 1,设置访问单个数据库权限 mysql>grant all privileges on test.* to 'root 阅读全文
posted @ 2021-07-30 15:01 一颗糊涂淡 阅读(3913) 评论(0) 推荐(0)
摘要: $url = ((int)$_SERVER['SERVER_PORT'] == 80 ? 'http://' : 'https://') . $_SERVER['HTTP_HOST'] 阅读全文
posted @ 2021-07-30 09:36 一颗糊涂淡 阅读(781) 评论(0) 推荐(0)
摘要: /** * 格式化数字 */ public function float_number($number){ $length = strlen($number); //数字长度 if($length > 8){ //亿单位 $str = substr_replace(strstr($number,su 阅读全文
posted @ 2021-07-28 11:19 一颗糊涂淡 阅读(371) 评论(0) 推荐(0)
摘要: { field: 'question', title: __('Question'), operate: false, formatter : function(value, row, index, field){ return "<span style='display: block;overfl 阅读全文
posted @ 2021-07-28 10:51 一颗糊涂淡 阅读(711) 评论(0) 推荐(0)
摘要: { field: 'detail', title: __('Detail'), cellStyle: { css: { "max-width": "100px", "overflow": "hidden", "text-overflow": "ellipsis" } }, operate: fals 阅读全文
posted @ 2021-07-27 09:50 一颗糊涂淡 阅读(342) 评论(0) 推荐(0)
摘要: json_encode($arr,JSON_UNESCAPED_UNICODE) 在json_encode后面加上JSON_UNESCAPED_UNICODE 阅读全文
posted @ 2021-07-20 10:55 一颗糊涂淡 阅读(152) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 13 下一页