Commit a1a5c6d4 authored by zhuwei's avatar zhuwei

1

parent a2beedd7
......@@ -426,9 +426,9 @@ class Houses extends Basic
$m_houses_to_agents_res = $s_house->getShopOnlyAgentId($v["id"]);
if($m_houses_to_agents_res){
//存在独家方则判断当前经纪人是否是该独家方的总监或者店长
$result['is_can_edit_only_contract'] = $s_house->isUserAgentBoss($m_houses_to_agents_res,$this->userId);
$list[$k]['is_can_edit_only_contract'] = $s_house->isUserAgentBoss($m_houses_to_agents_res,$this->userId);
}else{
$result['is_can_edit_only_contract'] = 0;//无独家方任何人都可以修改
$list[$k]['is_can_edit_only_contract'] = 0;//无独家方任何人都可以修改
}
......
......@@ -453,4 +453,6 @@ class BrokerService
}
return true;
}
}
\ No newline at end of file
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