afa 6 months ago
parent
commit
0a3f466612
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Teac.php

+ 1 - 1
application/api/controller/Teac.php

@@ -185,7 +185,7 @@ class Teac extends Api
     public function getUserTeacList(ProductTeac $productTeac)
     {
         $list = $productTeac::where('user_id', $this->auth->id)
-             ->where('status', ProductTeac::Normal)->where('type_id', $type_id)
+             ->where('status', ProductTeac::Normal)//->where('type_id', $type_id)
              ->order('create_time desc')
              ->paginate($this->pageSize);
         $this->success('ok', $list);