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