提交 9c9db254 编写于 作者: D Devil

商品评论错误修复

上级 a3352e82
......@@ -336,7 +336,7 @@ class Goods extends Common
}
// 参数
$params = input();
$params = $this->data_request;
if(empty($params['goods_id']))
{
return DataReturn('参数有误', -1);
......@@ -371,7 +371,7 @@ class Goods extends Common
'number' => $number,
'total' => $total,
'page_total' => $page_total,
'data' => MyView(null, ['data'=>$data['data']]),
'data' => MyView('', ['data'=>$data['data']]),
];
return DataReturn('请求成功', 0, $result);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册