Commit 3e9a12a2 authored by liuyuzhen's avatar liuyuzhen

测试

parent a7afd93a
...@@ -39,7 +39,8 @@ class AdvModel extends \DAO\AbstractModel{ ...@@ -39,7 +39,8 @@ class AdvModel extends \DAO\AbstractModel{
foreach($advs as $adv){ foreach($advs as $adv){
$advContent=unserialize($adv['adv_content']); $advContent=unserialize($adv['adv_content']);
if($advContent['adv_pic_url']){ if($advContent['adv_pic_url']){
$temp['href']=\Our\NameConst::httpPrefix.$advContent['adv_pic_url']; // $temp['href']=\Our\NameConst::httpPrefix.$advContent['adv_pic_url'];
$temp['href']=$advContent['adv_pic_url'];
} }
$temp['imageUrl']=\Our\Common::getStaticFile($advContent['adv_pic'],\Our\ImageConst::advPath); $temp['imageUrl']=\Our\Common::getStaticFile($advContent['adv_pic'],\Our\ImageConst::advPath);
$result[] = $temp; $result[] = $temp;
......
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