Commit 939cf303 authored by hujun's avatar hujun

返回错误信息

parent 672d1985
...@@ -101,6 +101,7 @@ class HouseService ...@@ -101,6 +101,7 @@ class HouseService
if ($result_agent_data['status'] == 'fail') { if ($result_agent_data['status'] == 'fail') {
$result['status'] = 'fail'; $result['status'] = 'fail';
$result['msg'] = '新增或编辑案场权限人失败,' . $result_agent_data['msg']; $result['msg'] = '新增或编辑案场权限人失败,' . $result_agent_data['msg'];
return $result;
} }
} }
...@@ -110,6 +111,7 @@ class HouseService ...@@ -110,6 +111,7 @@ class HouseService
if ($result_agent_dish['status'] == 'fail') { if ($result_agent_dish['status'] == 'fail') {
$result['status'] = 'fail'; $result['status'] = 'fail';
$result['msg'] = '新增或编辑盘方失败,' . $result_agent_dish['msg']; $result['msg'] = '新增或编辑盘方失败,' . $result_agent_dish['msg'];
return $result;
} }
} }
...@@ -119,6 +121,7 @@ class HouseService ...@@ -119,6 +121,7 @@ class HouseService
if ($result_exclusive_ids['status'] == 'fail') { if ($result_exclusive_ids['status'] == 'fail') {
$result['status'] = 'fail'; $result['status'] = 'fail';
$result['msg'] = '新增或编辑独家方失败,' . $result_exclusive_ids['msg']; $result['msg'] = '新增或编辑独家方失败,' . $result_exclusive_ids['msg'];
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