01 2020 档案
摘要:layui官方上传视频时并没直接提供获取视频时长的方法,需要我们间接获得 HTML增加一个<video>标签,因为video标签可以帮我们获取视频时长 <video id="videoattr" width="250" height="100" ></video> 当然,你也可以设置隐藏。 然后JS
阅读全文
摘要:<form class="layui-form" action="{:url('Plan/plan_train_num_edit')}" id="test" method="post"> <div class="layui-form-item"> <label class="layui-form-l
阅读全文
摘要:需求: 1.利用layui上传控件上传至七牛 2.实现layedit插入图片上传至七牛 实现 前端js上传七牛云需要携带token 1、后端获取token,以PHP为例 public function getQiniuToken() { // 需要填写你的 Access Key 和 Secret K
阅读全文
摘要:可以执行下面命令 php -r "readfile('https://getcomposer.org/installer');" | php This will install composer to the current directory so that you can use php com
阅读全文

浙公网安备 33010602011771号