Commit 542241ec by 冷斌

试卷

parent 3d202fc0
......@@ -111,7 +111,7 @@ class IndexAction extends Action
if (is_admin($this->mid) || $is_buy == 3 || $is_buy == 4 || $is_buy == 6) {
$v['is_buy'] = 1;
}
$v['exams_user'] = M('exams_users')->where(['exams_paper_id' => $v['exams_paper_id']])->count('id');
$v['exams_user'] = M('exams_users')->where(['exams_paper_id' => $v['exams_paper_id']])->count();
}
unset($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