摘要:
arr.splice(index,1) 阅读全文
摘要:
1 ,git rm -r --cached . 2,git add . 3,git commit -m ".gitignore" 阅读全文
摘要:
Route::group(['prefix'=>'admin'],function(){ Route::group(['prefix'=>'dtk'],function(){ Route::get('/getapi','DtkAPIController@getApiData'); }); Route 阅读全文
摘要:
mac终端中执行以下命令即可ln -s /Applications/MAMP/tmp/mysql/mysql.sock /tmp/mysql.sock 阅读全文
摘要:
步骤如下 :cd /tmpln -s /Applications/MAMP/tmp/mysql/mysql.sock ./mysql.sock 阅读全文
摘要:
根据官方手册执行composer global require "laravel/installer" 显示Changed current directory to C:/Users/Administrator/AppData/Roaming/Composer 然后没反应了,因为去国外的镜像地址下载 阅读全文
摘要:
//创建忽略文件的配置文件 touch .gitignore 附上友情链接 https://blog.csdn.net/ihtml5/article/details/87928109 阅读全文
摘要:
序:由于我们在查询数据时,常常会使用['eq','']或者array('eq','')的写法,查询数据无法获取想要的结果。以下方法完美解决了这个问题。$where['name'] = array('exp', 'is null'); //为空的 $where['name'] = array('exp 阅读全文
摘要:
$('body').on('input','input.spare_hard_num,input.hard_cost',function(){ alert(123)}); 阅读全文
摘要:
public function commonUpload(){ $uploadDir = sprintf( './Public/Uploads/%s/',date('Ym') ); if ( !is_dir($uploadDir) ){ mkdir($uploadDir,0777,true); } 阅读全文