Commit c0649c3a authored by hujun's avatar hujun

!

parent 3cd6572a
......@@ -131,7 +131,7 @@ class HouseService
$m_house_agent = new GHousesToAgents();
$agents_id_arr = $m_house_agent->getAgentHouseOne('agents_id',['houses_id'=>$data['id'],'is_del'=>0,'type'=>2]);
//处理盘方编辑自己的商铺,没有vip权限
if (empty($agents_id_arr) && !in_array($agent_id, $agents_id_arr)) {
if (!empty($agents_id_arr) && !in_array($agent_id, $agents_id_arr)) {
$result['status'] = 'fail';
$result['msg'] = '无vip盘编辑权限!';
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