Commit 74da41c7 by 冷斌

测试

短信验证
parent 14e72d5f
...@@ -73,6 +73,8 @@ class IndexAction extends Action ...@@ -73,6 +73,8 @@ class IndexAction extends Action
public function getGoodsList() { public function getGoodsList() {
$data = D('Goods')->getListForCate(array() ,-1,8); $data = D('Goods')->getListForCate(array() ,-1,8);
var_dump($data);
die;
if ($data['data']) { if ($data['data']) {
$html = $this->fetch('index_list'); $html = $this->fetch('index_list');
}else{ }else{
...@@ -86,8 +88,6 @@ class IndexAction extends Action ...@@ -86,8 +88,6 @@ class IndexAction extends Action
public function getGoodsList2() { public function getGoodsList2() {
$data = D('Goods')->getListForCate(array() ,-1,8); $data = D('Goods')->getListForCate(array() ,-1,8);
var_dump($data);
die;
if ($data['data']) { if ($data['data']) {
$html = $this->fetch('index_list'); $html = $this->fetch('index_list');
}else{ }else{
......
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