getList(0,$this->shop_id,1); return $this->renderSuccess(compact('list')); } /** * 门店评分 */ public function score() { $model = new CommentModel; $score = $model->score($this->shop_id); return $this->renderSuccess(compact('score')); } }