MeetingRecordController.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. namespace App\Http\Controllers\Admin;
  3. use App\Services\Common\ComplaintService;
  4. use App\Services\Common\MeetingService;
  5. /**
  6. * 会议签到记录
  7. */
  8. class MeetingRecordController extends Backend
  9. {
  10. public function __construct()
  11. {
  12. parent::__construct();
  13. $this->service = new MeetingService();
  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. /**
  46. * 获取详情
  47. */
  48. public function info()
  49. {
  50. $id = request()->get('id');
  51. return $this->service->getInfo($id);
  52. }
  53. }