Commit 055e84e6 authored by hujun's avatar hujun

upload_phone

parent e096885b
......@@ -1117,7 +1117,7 @@ class Shop extends Basic
$msg = '';
$service = new HouseService();
$result = $service->addVideo($this->params['house_id'], $this->params['video_name'], $this->params['video_image'], $this->agentId, $this->agentName);
$result = $service->addVideo($this->params['house_id'], $this->params['video_name'], $this->params['video_image'], $this->agentId, $this->agentName, $this->agentPhone);
if ($result['status'] == 'fail') {
$code = 101;
$msg = $result['msg'];
......
......@@ -979,9 +979,10 @@ class HouseService
* @param $video_imgage
* @param $upload_id
* @param $upload_name
* @param $upload_phone
* @return mixed
*/
public function addVideo($house_id, $video_name, $video_imgage, $upload_id, $upload_name)
public function addVideo($house_id, $video_name, $video_imgage, $upload_id, $upload_name, $upload_phone)
{
$result['status'] = 'fail';
......@@ -1008,6 +1009,7 @@ class HouseService
$data['video_image'] = $video_imgage;
$data['upload_id'] = $upload_id;
$data['upload_name'] = $upload_name;
$data['upload_phone'] = $upload_phone;
$data['house_id'] = $house_id;
$num = $m_video->insertData($data);
if ($num > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment