Commit 0beb50c7 authored by hujun's avatar hujun

上传视频判断

parent 13513aa8
......@@ -707,10 +707,10 @@ class Shop extends Basic
$result['is_upload_video'] = 1;
}
if (!$result['is_upload_video']) {
if ($result['is_upload_video'] == 1) {
$upload_video_num = $s_house->getHouseVideoNum($params['id'], 0, $this->agentId);
if ($upload_video_num) {
$result['is_upload_video'] = 1;
$result['is_upload_video'] = 0;
}
}
unset($result['external_image_id']);
......
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