MeetingRecordController.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. namespace App\Http\Controllers\Admin;
  3. use App\Services\Common\ComplaintService;
  4. use App\Services\Common\MeetingRecordService;
  5. use App\Services\Common\MeetingService;
  6. /**
  7. * 会议签到记录
  8. */
  9. class MeetingRecordController extends Backend
  10. {
  11. public function __construct()
  12. {
  13. parent::__construct();
  14. $this->service = new MeetingRecordService();
  15. }
  16. /**
  17. * 列表
  18. */
  19. public function index()
  20. {
  21. $params = request()->all();
  22. $pageSize = isset($params['limit']) ? intval($params['limit']) : PERPAGE;
  23. return $this->service->getDataList($params, $pageSize);
  24. }
  25. /**
  26. * 编辑(处理投诉)
  27. */
  28. public function edit()
  29. {
  30. return $this->service->edit();
  31. }
  32. /**
  33. * 删除
  34. */
  35. public function delete()
  36. {
  37. return $this->service->delete();
  38. }
  39. /**
  40. * 修改状态
  41. */
  42. public function status()
  43. {
  44. return $this->service->status();
  45. }
  46. /**
  47. * 获取详情
  48. */
  49. public function info()
  50. {
  51. $id = request()->get('id');
  52. return $this->service->getInfo($id);
  53. }
  54. }