Commit af20efcb authored by zhuwei's avatar zhuwei

1

parent 8c1219fc
......@@ -544,13 +544,6 @@ class Shop extends Basic
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"])) {
$result["start_business_date"] = "";
......
......@@ -783,7 +783,7 @@ class GHouses extends BaseModel
//vip盘判断权限
if($house_data['is_vip'] == 1){
$vip = new VipService();//0:有权限 1:无权限
if($vip->vip($data['user_id'], 'index/vipHouse') == 1){
if(($vip->vip($data['user_id'], 'lookVipHouse') == 1)and($vip->vip($data['user_id'], 'index/vipHouse') == 1)){
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