正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -322,7 +322,7 @@ class Teacher extends Api | @@ -322,7 +322,7 @@ class Teacher extends Api | ||
322 | $upd_territory = implode(',',$teacher_territory); | 322 | $upd_territory = implode(',',$teacher_territory); |
323 | $upd_teacher = Db::name('teacher') | 323 | $upd_teacher = Db::name('teacher') |
324 | ->where('user_id',$user_id) | 324 | ->where('user_id',$user_id) |
325 | - ->update(['territory_id'=>$upd_territory,'status'=>0]); | 325 | + ->update(['territory_id'=>$upd_territory]); |
326 | if($res && $upd_teacher){ | 326 | if($res && $upd_teacher){ |
327 | Db::commit(); | 327 | Db::commit(); |
328 | $this->success('点亮成功'); | 328 | $this->success('点亮成功'); |
-
请 注册 或 登录 后发表评论