Commit 3c69e2e7 authored by zw's avatar zw

bug

parent 81cd6a13
...@@ -330,7 +330,7 @@ class Shop extends Basic ...@@ -330,7 +330,7 @@ class Shop extends Basic
} }
} }
return $this->response($result['code'], $result['msg'], $result['data']);; return $this->response($result['code'], $result['msg'], $result['data']);
} }
/** /**
......
...@@ -83,7 +83,7 @@ class LookShopService ...@@ -83,7 +83,7 @@ class LookShopService
$this->redis->sAdd(self::LOOK_SHOP . $this->nowTime . $agent_id, $house_id);//存入楼盘信息 $this->redis->sAdd(self::LOOK_SHOP . $this->nowTime . $agent_id, $house_id);//存入楼盘信息
$this->incrementLookNum($agent_id); $this->incrementLookNum($agent_id);
} }
$totalNum = $this->redis->hGet(self::LOOK_TOTAL . $this->nowTime, $agent_id); $totalNum = $this->redis->hGet(self::LOOK_UP_NUM . $this->nowTime, $agent_id) * $this->redis->get("lookNum");
return [ "total_num" => $totalNum, "residue_num" => $lookShopNum, "isExist" => $isExist, "isPanParty" => $isPanParty ]; return [ "total_num" => $totalNum, "residue_num" => $lookShopNum, "isExist" => $isExist, "isPanParty" => $isPanParty ];
} }
......
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