Commit d0b7a324 by 冷斌

fix bug

parent 8367f62b
...@@ -326,6 +326,10 @@ class AdminPaperAction extends AdministratorAction ...@@ -326,6 +326,10 @@ class AdminPaperAction extends AdministratorAction
exit; exit;
} }
$paper_id = intval($_GET['paper_id']); $paper_id = intval($_GET['paper_id']);
$b = M('exams_paper')->where(['exams_paper_id' => $paper_id])->save([
'attache' => 104
]);
var_dump($b);
$paper = $this->mod->getPaperById($paper_id); $paper = $this->mod->getPaperById($paper_id);
if (!$paper) { if (!$paper) {
$this->jumpUrl = U('exams/AdminPaper/index'); $this->jumpUrl = U('exams/AdminPaper/index');
......
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