|
@@ -32,7 +32,7 @@ class Video extends Api
|
|
$val['thumb_image'] = $val['video_file'].'?x-oss-process=video/snapshot,t_100,f_png,m_fast';
|
|
$val['thumb_image'] = $val['video_file'].'?x-oss-process=video/snapshot,t_100,f_png,m_fast';
|
|
}
|
|
}
|
|
|
|
|
|
- $val['createtime'] = date('Y-m-d H:i:s',$val['createtime']);
|
|
|
|
|
|
+ $val['createtime'] = $this->datetime_lang($val['createtime']);
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -51,7 +51,7 @@ class Video extends Api
|
|
$info['thumb_image'] = $info['video_file'].'?x-oss-process=video/snapshot,t_100,f_png,m_fast';
|
|
$info['thumb_image'] = $info['video_file'].'?x-oss-process=video/snapshot,t_100,f_png,m_fast';
|
|
}
|
|
}
|
|
|
|
|
|
- $info['createtime'] = date('Y-m-d H:i:s',$info['createtime']);
|
|
|
|
|
|
+ $info['createtime'] = $this->datetime_lang($info['createtime']);
|
|
}
|
|
}
|
|
|
|
|
|
$this->success(1,$info);
|
|
$this->success(1,$info);
|