Commit b05f6fb9 authored by 杨培's avatar 杨培

调用接口获取的内容自适应 https

parent 265beaa0
......@@ -17,7 +17,6 @@ function user_ibanshou($num)
foreach ($list as $val) {
//自适应 http, https
$val['url'] = str_replace('http://', '//', $val['url']);
$val['preview_pic'] = str_replace('http://', '//', $val['preview_pic']);
$str .= <<<EOD
<div class=\"news-item portal-course\">
......
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