07 2022 档案
摘要:Git遇到error: Unable to create 'E:/zyw/xm/ssrb_uni_oa_ht/.git/index.lock': File exists. 解决方案: 在 .git 同级目录中找到 index.lock ,删除即可; 或在 .git 同级目录执行 rm -f .git
阅读全文
摘要:看代码 //判断文件是否存在,存在则删除,不存在则。。。 public function ff(){ $list=Db::name('costpay_file')->where('url','like','/costpay_file/20220622/%')->select(); foreach (
阅读全文
摘要:若执行了git commit 想车祸,只需要执行命令 git reset --soft HEAD^ 若执行了git add 后想撤回 直接执行 git reset HEAD git reset HEAD 如果后面什么都不跟的话 就是上一次add 里面的全部撤销了 git reset HEAD XXX
阅读全文
摘要:tp5.0 //值为数字 $id=419; $where[] = ['exp',Db::raw("FIND_IN_SET($id,category)")];//category值为数字,例子:419,415,414 //值为字符串 $id值等于dfd 要注意'引号 $where[] = ['exp'
阅读全文
摘要:执行指令 composer require qiniu/php-sdk:^7.2
阅读全文