Commit eab758a4 authored by hujun's avatar hujun

//

parent 6f2d6862
......@@ -420,19 +420,7 @@ class Shop extends Basic
$result['shop_videos'] = $s_house->getHouseVideoList($params["id"]);
$result['shop_videos_length'] = $s_house->getHouseVideoLength();
$lookShopArr = $this->lookShopService_->addUserLookShop((int)$params["user_id"], (int)$params["id"]);
//判断看铺数量是否上限
if ($lookShopArr) {
if ($lookShopArr["residue_num"] == 0 && !$lookShopArr["isExist"] && !$lookShopArr["isPanParty"]) {
Log::record('info ----countLookShopNum------121113-', "info");
return $this->response("102", "您今天的看铺数量已达上限!");
}
$result["lookShopArr"] = $lookShopArr;
}
$this->lookShopService_->addUserLookShop((int)$params["user_id"], (int)$params["id"]);
return $this->response("200", 'request success', $result);
}
......
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