Commit 72dace17 authored by zw's avatar zw

看铺数量控制 盘方控制

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