Commit ebdf5b61 by 冷斌

fix bug

parent b29e2e68
......@@ -199,16 +199,17 @@ class HomeAction extends UserAction
$ordertype = 'exams';
$table = 'exams_paper_order';
$check_type = 'exams';
} else if ($_GET['ordertype'] == 'goods') {
$ordertype = 'goods';
$table = 'el_goods_order';
$check_type = 'goods_order';
}
// else if ($_GET['ordertype'] == 'goods') {
// $ordertype = 'goods';
// $table = 'el_goods_order';
// $check_type = 'goods_order';
// }
$data = M($table)->where($map)->order($order)->findPage($limit);
var_dump($data);
die;
if ($data['data']) {
$data['data'] = $this->haddleData($data['data'], $table);
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