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

修改点亮标签

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