Commit 1fd122f7 authored by hujun's avatar hujun

//

parent 8adc3e53
...@@ -125,10 +125,9 @@ class HouseService ...@@ -125,10 +125,9 @@ class HouseService
//vip盘判断权限 //vip盘判断权限
if($house_data[0]['is_vip'] == 1){ if($house_data[0]['is_vip'] == 1){
$vip = new VipService();//0:有权限 1:无权限 $vip = new VipService();//0:有权限 1:无权限
$look_house = $vip->vip($agent_id, 'lookVipHouse');
$vip_house = $vip->vip($agent_id, 'index/vipHouse'); $vip_house = $vip->vip($agent_id, 'index/vipHouse');
if(($look_house == 1) and ( $vip_house == 1)){ if($vip_house == 1){
$result['status'] = 'fail'; $result['status'] = 'fail';
$result['msg'] = '无vip盘编辑权限!'; $result['msg'] = '无vip盘编辑权限!';
return $result; return $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