|
|
@@ -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)
|
|
|
+
|
|
|
->order('create_time desc')
|
|
|
->paginate($this->pageSize);
|
|
|
$this->success('ok', $list);
|