Commit 9effa03f authored by hujun's avatar hujun

恢复注释

parent 170b65b2
...@@ -9,8 +9,7 @@ ...@@ -9,8 +9,7 @@
namespace app\index\controller; namespace app\index\controller;
use app\api\controller\Sublet; use app\api_broker\service\LookShopService;
//use app\api_broker\service\LookShopService;
use app\index\extend\Basic; use app\index\extend\Basic;
use app\model\AAgents; use app\model\AAgents;
use app\model\GHouses; use app\model\GHouses;
...@@ -220,10 +219,10 @@ class Houses extends Basic ...@@ -220,10 +219,10 @@ class Houses extends Basic
$data['data']['total'] = $this->house->getHouseListDishTotal($where); $data['data']['total'] = $this->house->getHouseListDishTotal($where);
} }
// $look_shop = new LookShopService(); $look_shop = new LookShopService();
foreach ($data['data']['list'] as $k=>$v) { foreach ($data['data']['list'] as $k=>$v) {
$data['data']['list'][$k]["is_look"] = false; $data['data']['list'][$k]["is_look"] = $look_shop->isLooked($this->userId, $v["id"]);;
} }
return $this->response($data['status'], $data['msg'], $data['data']); return $this->response($data['status'], $data['msg'], $data['data']);
......
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