Commit 048b6e5e authored by clone's avatar clone

bug

parent 78fdcfec
......@@ -64,12 +64,12 @@ class AttentionShop extends Basic
*/
public function attentionList()
{
$params = $this->params;
/* $params = array(
"user_id" => 816,
"pageNo" => 1,
"pageSize" => 15,
);*/
$params = $this->params;
/* $params = array(
"user_id" => 816,
"pageNo" => 1,
"pageSize" => 15,
);*/
$pageNo = empty($params['pageNo']) ? 1 : $params['pageNo'];
$pageSize = empty($params['pageSize']) ? 15 : $params['pageSize'];
......@@ -89,6 +89,7 @@ class AttentionShop extends Basic
return $this->response("200", "请求数据为空");
}
foreach ($result as $key => $val) {
$result[$key]["price"] = $val["price"] * 0.01;
$result[$key]["api_path"] = IMG_PATH;
$imgParam["house_id"] = $val["house_id"];
$imgParam["img_type"] = 1; //默认主图
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment