Explorar el Código

修复:查看商品评价时报错

萤火科技 hace 5 años
padre
commit
d66e513b1f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/api/controller/Comment.php

+ 1 - 1
app/api/controller/Comment.php

@@ -35,7 +35,7 @@ class Comment extends Controller
         // 评价列表
         $model = new CommentModel;
         $list = $model->getCommentList($goodsId, $scoreType);
-        return $this->renderSuccess(compact('list', 'total'));
+        return $this->renderSuccess(compact('list'));
     }
 
     /**