SupervisorConsultRecordController.php 992 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace App\Http\Controllers\Admin;
  3. use App\Services\Common\MeetingRecordService;
  4. use App\Services\Common\SupervisorConsultRecordService;
  5. /**
  6. * 导师咨询记录
  7. */
  8. class SupervisorConsultRecordController extends Backend
  9. {
  10. public function __construct()
  11. {
  12. parent::__construct();
  13. $this->service = new SupervisorConsultRecordService();
  14. }
  15. /**
  16. * 列表
  17. */
  18. public function index()
  19. {
  20. $params = request()->all();
  21. $pageSize = isset($params['limit']) ? intval($params['limit']) : PERPAGE;
  22. return $this->service->getDataList($params, $pageSize);
  23. }
  24. /**
  25. * 编辑(处理投诉)
  26. */
  27. public function edit()
  28. {
  29. return $this->service->edit();
  30. }
  31. /**
  32. * 删除
  33. */
  34. public function delete()
  35. {
  36. return $this->service->delete();
  37. }
  38. /**
  39. * 修改状态
  40. */
  41. public function status()
  42. {
  43. return $this->service->status();
  44. }
  45. }