...
|
...
|
@@ -322,7 +322,7 @@ class Teacher extends Api |
|
|
$upd_territory = implode(',',$teacher_territory);
|
|
|
$upd_teacher = Db::name('teacher')
|
|
|
->where('user_id',$user_id)
|
|
|
->update(['territory_id'=>$upd_territory,'status'=>0]);
|
|
|
->update(['territory_id'=>$upd_territory]);
|
|
|
if($res && $upd_teacher){
|
|
|
Db::commit();
|
|
|
$this->success('点亮成功');
|
...
|
...
|
|