Commit 7f4751f3 authored by zw's avatar zw

看铺数量控制 盘方控制

parent ccff1ab9
...@@ -278,7 +278,7 @@ class Shop extends Basic ...@@ -278,7 +278,7 @@ class Shop extends Basic
//todo 判断盘方是否是自己 //todo 判断盘方是否是自己
if($params["site_area"] == 3 && $result){ if($params["site_area"] == 3 && $result){
$lookShopArr = $lookShopService_->countLookShopNum((int)$this->agentId,(int)$params["id"]); $lookShopArr = $lookShopService_->countLookShopNum((int)$this->agentId,(int)$params["id"]);
if($lookShopArr["residue_num"] == 0 && !$lookShopArr["isExist"]){ if($lookShopArr["residue_num"] == 0 && !$lookShopArr["isExist"] && !$lookShopArr["isPanParty"] ){
//todo 判断看铺数量是否上限 //todo 判断看铺数量是否上限
return $this->response("102", "您今天的看铺数量已达上限!"); return $this->response("102", "您今天的看铺数量已达上限!");
} }
......
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