Authored by zhangxiaoru

guang

@@ -89,7 +89,7 @@ class IndexModel @@ -89,7 +89,7 @@ class IndexModel
89 } 89 }
90 $data['guang']['infos'][] = $build; 90 $data['guang']['infos'][] = $build;
91 } 91 }
92 - print_r($data['guang']['infos']); 92 + //print_r($data['guang']['infos']);
93 93
94 // 分页需要参数 94 // 分页需要参数
95 $data['guang']['gender'] = $gender; 95 $data['guang']['gender'] = $gender;
@@ -190,6 +190,7 @@ class IndexModel @@ -190,6 +190,7 @@ class IndexModel
190 190
191 // 内容列表 191 // 内容列表
192 if (!empty($article['data']['list']['artList'])) { 192 if (!empty($article['data']['list']['artList'])) {
  193 + print_r($article['data']['list']['artList']);
193 foreach ($article['data']['list']['artList'] as $value) { 194 foreach ($article['data']['list']['artList'] as $value) {
194 $data['guang']['infos'][$curIndex]['info'][] = Helpers::formatArticle($value, true, false, true); 195 $data['guang']['infos'][$curIndex]['info'][] = Helpers::formatArticle($value, true, false, true);
195 } 196 }
@@ -214,7 +215,7 @@ class IndexModel @@ -214,7 +215,7 @@ class IndexModel
214 $category = array(); 215 $category = array();
215 $article = array(); 216 $article = array();
216 217
217 - 218 + //print_r($data);
218 return $data; 219 return $data;
219 } 220 }
220 221
@@ -24,12 +24,8 @@ class IndexController extends AbstractAction @@ -24,12 +24,8 @@ class IndexController extends AbstractAction
24 $this->setTitle('逛'); 24 $this->setTitle('逛');
25 $this->setNavHeader('逛', true, SITE_MAIN); 25 $this->setNavHeader('逛', true, SITE_MAIN);
26 26
27 - // $uid = $this->getUid();  
28 $udid = $this->getUdid(); 27 $udid = $this->getUdid();
29 28
30 - $uid = 8039759;  
31 - //$udid = P_YDoclyC4l9GWC9gScyTpbMiWnQpaYA;  
32 -  
33 $type = $this->get('id', 0); 29 $type = $this->get('id', 0);
34 $gender = $this->get('gender'); 30 $gender = $this->get('gender');
35 if (is_string($gender)) { 31 if (is_string($gender)) {