Commit 90896279 authored by zhuwei's avatar zhuwei

1

parent e6cd46ac
...@@ -544,6 +544,14 @@ class Shop extends Basic ...@@ -544,6 +544,14 @@ class Shop extends Basic
return $this->response("101", '没有查看权限'); return $this->response("101", '没有查看权限');
} }
//vip盘判断权限
if($result['is_vip'] == 1){
$vip = new VipService();//0:有权限 1:无权限
if($vip->vip($this->agentId, 'lookVipHouse') == 1){
return $this->response("101", '没有vip盘权限');
}
}
if ($result["start_business_date"] == "0000-00-00 00:00:00" || empty($result["start_business_date"])) { if ($result["start_business_date"] == "0000-00-00 00:00:00" || empty($result["start_business_date"])) {
$result["start_business_date"] = ""; $result["start_business_date"] = "";
} else { } else {
......
...@@ -783,7 +783,7 @@ class GHouses extends BaseModel ...@@ -783,7 +783,7 @@ class GHouses extends BaseModel
//vip盘判断权限 //vip盘判断权限
if($house_data['is_vip'] == 1){ if($house_data['is_vip'] == 1){
$vip = new VipService();//0:有权限 1:无权限 $vip = new VipService();//0:有权限 1:无权限
if($vip->vip($data['user_id'], 'index/editHouse') == 1){ if($vip->vip($data['user_id'], 'index/vipHouse') == 1){
return (int)$house_id = 0; return (int)$house_id = 0;
} }
} }
......
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