更新学校
This commit is contained in:
@@ -228,6 +228,12 @@ class Group extends Backend
|
||||
//根据等级直接分配权限
|
||||
$params['rules'] = $this->rules[$params['level']];
|
||||
if ($params) {
|
||||
if($params['level'] == 4){
|
||||
//学校
|
||||
db('student')->where('group_id',$ids)->update(array('school'=>$params['name']));
|
||||
}
|
||||
|
||||
|
||||
Db::startTrans();
|
||||
try {
|
||||
$row->save($params);
|
||||
|
||||
Reference in New Issue
Block a user