Commit 75ae632b by 冷斌

测试

短信验证
parent 832b38d7
......@@ -229,10 +229,20 @@ class GoodsAction extends Action
unset($split_score['rechange_default']);
$sple_score = array_filter(explode(':', $split_score['sple_score']))[1] / array_filter(explode(':', $split_score['sple_score']))[0];
$html = $this->fetch('index_w3g_ajax');
$data['data'] = $html;
echo json_encode($data);
exit();
$this->assign("video", $video);
$this->assign("guess_you_like", $guess_you_like);
$this->assign("bestVideo", $bestVideo);
$this->assign('sort_type', $sort_type);
$this->assign("sple_score", $sple_score);
//如果是ajax并且为h5访问 直接输出后边的数据
if ($this->isAjax() && $this->is_wap) {
$html = $this->fetch('index_w3g_ajax');
$data['data'] = $html;
echo json_encode($data);
exit();
}
$this->display();
}
/**
......
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