会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
$DeBuger
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2020年5月8日
js 自定义数组根据index索引删除元素
摘要: arr.splice(index,1)
阅读全文
posted @ 2020-05-08 11:09 $DeBuger
阅读(13107)
评论(0)
推荐(0)
2020年4月6日
配置git 忽略文件,刷新缓存
摘要: 1 ,git rm -r --cached . 2,git add . 3,git commit -m ".gitignore"
阅读全文
posted @ 2020-04-06 15:47 $DeBuger
阅读(1577)
评论(0)
推荐(0)
2020年3月27日
laravel 框架路由分组设置
摘要: Route::group(['prefix'=>'admin'],function(){ Route::group(['prefix'=>'dtk'],function(){ Route::get('/getapi','DtkAPIController@getApiData'); }); Route
阅读全文
posted @ 2020-03-27 12:35 $DeBuger
阅读(502)
评论(0)
推荐(0)
2020年3月25日
解决mamp下链接数据库Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
摘要: mac终端中执行以下命令即可ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock
阅读全文
posted @ 2020-03-25 12:47 $DeBuger
阅读(746)
评论(0)
推荐(0)
2020年3月20日
解决mac终端运行mysql出现Can't connect to local MySQL server through socket '/tmp/mysql.sock'
摘要: 步骤如下 :cd /tmpln -s /Applications/MAMP/tmp/mysql/mysql.sock ./mysql.sock
阅读全文
posted @ 2020-03-20 16:43 $DeBuger
阅读(1798)
评论(0)
推荐(0)
2020年3月4日
composer Changed current directory to没反应
摘要: 根据官方手册执行composer global require "laravel/installer" 显示Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer 然后没反应了,因为去国外的镜像地址下载
阅读全文
posted @ 2020-03-04 15:21 $DeBuger
阅读(144)
评论(0)
推荐(0)
2019年12月20日
git 配置忽略文件
摘要: //创建忽略文件的配置文件 touch .gitignore 附上友情链接 https://blog.csdn.net/ihtml5/article/details/87928109
阅读全文
posted @ 2019-12-20 11:51 $DeBuger
阅读(627)
评论(0)
推荐(0)
2019年12月13日
tp框架查看未空 和不为空的字段,很有效果
摘要: 序:由于我们在查询数据时,常常会使用['eq','']或者array('eq','')的写法,查询数据无法获取想要的结果。以下方法完美解决了这个问题。$where['name'] = array('exp', 'is null'); //为空的 $where['name'] = array('exp
阅读全文
posted @ 2019-12-13 08:48 $DeBuger
阅读(1300)
评论(0)
推荐(0)
2019年12月6日
为动态生成的元素绑定监听事件
摘要: $('body').on('input','input.spare_hard_num,input.hard_cost',function(){ alert(123)});
阅读全文
posted @ 2019-12-06 18:52 $DeBuger
阅读(603)
评论(0)
推荐(0)
2019年12月5日
文件上传接口
摘要: public function commonUpload(){ $uploadDir = sprintf( './Public/Uploads/%s/',date('Ym') ); if ( !is_dir($uploadDir) ){ mkdir($uploadDir,0777,true); }
阅读全文
posted @ 2019-12-05 17:28 $DeBuger
阅读(470)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告