摘要:
js实现: <script> uploadfiles(2655,"files"); function uploadfiles(ids,folder) { $(function(){ var $list = $("#the_"+ids); $btn = $("#Btn_"+ids); var uplo 阅读全文
摘要:
php实现: public function excel() { //导出 $res = \app\admin\model\book\Book::select(); vendor("PHPExcel.PHPExcel"); $resultPHPExcel = new \PHPExcel(); //设 阅读全文
摘要:
laravel提示错误信息: {{implode($errors->get('name')," ")}} html:代码 <div class="page-container"> <form method="get" onsubmit="return search()"> <div class="t 阅读全文
摘要:
/** 提前声明 ElasticSearch 私有属性 方便以下使用 * @var */ private $es; /** ElasticSearch的前提 下载 composer require elasticsearch/elasticsearch * * Uploads constructor 阅读全文
摘要:
// 异步 webupload 上传图片,压缩,加水印 public function upfile(Request $request) { // header("Content-Type:text/html;charset=UTF-8"); $file = $request->file('file 阅读全文
摘要:
// 全选 反选 $("#checkAll").click(function () { $("input[type='checkbox']").prop('checked',$(this).prop('checked'),true) }) // 进行全选删除 $(".delAll").click(f 阅读全文