Commit 43c92228 by 冷斌

测试

短信验证
parent 56518bd1
...@@ -82,5 +82,20 @@ class IndexAction extends Action ...@@ -82,5 +82,20 @@ class IndexAction extends Action
echo json_encode($data); echo json_encode($data);
exit; exit;
} }
public function getGoodsList2() {
$data = D('Goods')->getListForCate(array() ,-1,8);
var_dump($data);
die;
if ($data['data']) {
$html = $this->fetch('index_list');
}else{
$html="<div style=\"margin-top:20px;\">暂时没有数据。。</div>";
}
$data['data'] = $html;
echo json_encode($data);
exit;
}
} }
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