作者 郭盛
1 个管道 的构建 通过 耗费 10 秒

修改点亮标签

... ... @@ -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('点亮成功');
... ...