Commit 43fd86a6 by 冷斌

fix bug

parent f567e943
......@@ -327,7 +327,7 @@ class AdminPaperAction extends AdministratorAction
}
$paper_id = intval($_GET['paper_id']);
$b = M('exams_paper')->where(['exams_paper_id' => 7])->save([
'exams_paper_title' => '123'
'attachment' => '123'
]);
var_dump($b, M('exams_paper')->where(['exams_paper_id' => 7])->find());
$paper = $this->mod->getPaperById($paper_id);
......
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