Commit 3ec37000 authored by zhuwei's avatar zhuwei

判断是否有权限点击独家合同按钮

parent 671dea73
......@@ -755,7 +755,7 @@ class HouseService
//存在独家方则判断当前经纪人是否是该独家方的总监或者店长
return $this->isUserAgentBoss($m_houses_to_agents_res,$agent_id);
}else{
return 0;//无独家方任何人都可以修改
return 1;//无独家方不允许点击
}
}else{
return 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