Commit 01a3e82b by 刘海龙

Merge branch 'master' of http://132.232.91.252:9999/ice/eduline

parents 7cf46308 f73884cf
......@@ -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