| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- namespace App\Http\Controllers\Admin;
- use App\Services\Common\MeetingService;
- /**
- * 会议
- */
- class MeetingController extends Backend
- {
- public function __construct()
- {
- parent::__construct();
- $this->service = new MeetingService();
- }
- /**
- * 列表
- */
- public function index()
- {
- $params = request()->all();
- $pageSize = isset($params['limit']) ? intval($params['limit']) : PERPAGE;
- return $this->service->getDataList($params, $pageSize);
- }
- /**
- * 编辑(处理投诉)
- */
- public function edit()
- {
- return $this->service->edit();
- }
- /**
- * 删除
- */
- public function delete()
- {
- return $this->service->delete();
- }
- /**
- * 修改状态
- */
- public function status()
- {
- return $this->service->status();
- }
- /**
- * 获取详情
- */
- public function info()
- {
- $id = request()->get('id');
- return $this->service->getInfo($id);
- }
- /**
- * 获取
- */
- public function qrcode()
- {
- $id = request()->get('id');
- return $this->service->getInfo($id);
- }
- }
|