添加个人中心功能
添加订单记录
This commit is contained in:
@@ -44,4 +44,15 @@ class File extends ApiBase
|
||||
$data = FileServer::userFormImage($this->user_id);
|
||||
$this->_success($data['msg'], $data['data'], $data['code']);
|
||||
}
|
||||
|
||||
/**
|
||||
* 视频上传
|
||||
* @param string $file
|
||||
* @return \think\response\Json
|
||||
*/
|
||||
public function videoUpload($file = '')
|
||||
{
|
||||
$result = FileServer::video();
|
||||
$this->_success('上传成功', $result);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user