request->get(); $lists = VoteLogic::category($get); return JsonServer::success('获取成功', $lists); } /** * @Notes: 文章列表 * @Author: 张无忌 */ public function lists() { $get = $this->request->get(); $get['page_no'] = $this->page_no; $get['page_size'] = $this->page_size; $lists = VoteLogic::lists($get); return JsonServer::success('获取成功', $lists); } /** * @Notes: 文章详细 * @Author: 张无忌 */ public function detail() { $id = $this->request->get('id'); $detail = VoteLogic::detail($id,$this->user_id); return JsonServer::success('获取成功', $detail); } /** * @Notes: 文章详细 * @Author: 张无忌 */ public function players() { $get = $this->request->get(); $get['page_no'] = $this->page_no; $get['page_size'] = $this->page_size; $detail = VoteLogic::players($get,$this->user_id); return JsonServer::success('获取成功', $detail); } /** * @Notes: 文章详细 * @Author: 张无忌 */ public function playerDetail() { $id = $this->request->get('id'); $detail = VoteLogic::playersDetail($id,$this->user_id); return JsonServer::success('获取成功', $detail); } /** * @Notes: 文章详细 * @Author: 张无忌 */ public function vote() { $id = $this->request->get('id'); $detail = VoteLogic::vote($id,$this->user_id); return JsonServer::success('获取成功', $detail); } /** * @Notes: 文章详细 * @Author: 张无忌 */ public function rank() { $get = $this->request->get(); $lists = VoteLogic::rank($get); return JsonServer::success('获取成功', $lists); } }