Commit 5bbfe49f by 冷斌

fix bug

parent 1e269d5d
...@@ -206,7 +206,8 @@ class HomeAction extends UserAction ...@@ -206,7 +206,8 @@ class HomeAction extends UserAction
} }
$data = M($table)->where($map)->order($order)->findPage($limit); $data = M($table)->where($map)->order($order)->findPage($limit);
var_dump($data);
die;
if ($data['data']) { if ($data['data']) {
$data['data'] = $this->haddleData($data['data'], $table); $data['data'] = $this->haddleData($data['data'], $table);
foreach ($data['data'] as $k => $v) { foreach ($data['data'] as $k => $v) {
......
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