Commit 710bca41 by 冷斌

fix bug

parent 612f02f1
......@@ -369,8 +369,6 @@ class AdminPaperAction extends AdministratorAction
$this->opt['show_user_group'] = model('UserGroup')->where($ug_map)->getField('user_group_id,user_group_name');
$paper['start_time'] = date('Y-m-d H:i', $paper['start_time']);
$paper['end_time'] = date('Y-m-d H:i', $paper['end_time']);
var_dump($paper);
die;
$this->displayConfig($paper);
}
......
......@@ -65,6 +65,8 @@ class ExamsPaperModel extends Model
*/
protected function haddleData($data = array(),$is_need = 0)
{
var_dump($is_need);
die;
if ($data) {
$subjectModel = D('ExamsSubject', 'exams');
foreach ($data as $key => $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