joyo 发布的文章

公共网盘模板含以下基础功能
创建目录.png
创建文件.png
目录层级.png
目录压缩.png
目录重命名.png
网盘物理目录.png
文件或目录删除.png
文件上传.png
文件下载.png
文件重命名.png

需要源码的微信联系joyokim,备注公共网盘。

                    {field: 'introduce', title: __('Introduce'),oprate:'Like',cellStyle: {css: {"max-width": "80px","white-space":"nowrap","overflow":"hidden","text-overflow":"ellipsis"}}},

    /*
    *参数 param day  近几天
*参数 param size  间隔几天
*/
public function card_list(){

  $day=$this->request->param('day',1);
  $size=$this->request->param('size',1);
  #时间计算
  $start_time =strtotime('-'.$day.' day');
  $current_date =date('Y-m-d',$start_time);
  $current_m=date('m',$start_time);
  $current_d=date('d',$start_time);
  $current_Y=date('Y',$start_time);

  $start_date =$current_date.' 00:00:01';
  $end_date = date('Y-m-d H:i:s',mktime(0,0,0,$current_m,$current_d+$size,$current_Y)-1);
  echo $start_date;
  echo '<br>';
  echo $end_date;
}