diff --git a/app/rongyu/model/JsRongyuInfo.php b/app/rongyu/model/JsRongyuInfo.php index c60a5054..8d1dc665 100644 --- a/app/rongyu/model/JsRongyuInfo.php +++ b/app/rongyu/model/JsRongyuInfo.php @@ -165,7 +165,6 @@ class JsRongyuInfo extends BaseModel // 查询数据 $data = $this->where('id', 'in', function($query) use($teacher_id){ $query->name('JsRongyuCanyu') - ->where('category_id', 1) ->where('teacher_id', $teacher_id) ->field('rongyu_id'); })