Commit 3475b90c by 冷斌

`试卷`

parent a12d7107
......@@ -308,7 +308,7 @@ class AdminPaperAction extends AdministratorAction
$data['assembly_type'] = isset($_POST['assembly_type']) ? intval($_POST['assembly_type']) : 0;
$data['best'] = isset($_POST['best']) ? intval($_POST['best']) : 0;
$data['price'] = t($_POST['price']);
if ($this->mod->where(['exams_paper_id' => $paper_id])->save($data)) {
if (M('exams_paper')->where(['exams_paper_id' => $paper_id])->save($data)) {
$this->success('编辑成功');
} else {
$this->error('编辑失败,请重新尝试');
......
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