...
|
...
|
@@ -89,7 +89,7 @@ class SchoolController extends WeChatBaseController{ |
|
|
$grade['class'] = $grade_class[1].'-'.$grade_class[2];
|
|
|
Db::name('grade_class') -> insert($grade);
|
|
|
}
|
|
|
$this -> success('保存成功',url('school/school'));
|
|
|
return true;
|
|
|
}else{
|
|
|
$id = $this -> request -> param();
|
|
|
$data = Db::name('school') -> where('id',$id['id']) -> find();
|
...
|
...
|
|