Commit b4359799 authored by hujun's avatar hujun

1

parent 4af3fd3f
...@@ -106,7 +106,8 @@ class BrokerService ...@@ -106,7 +106,8 @@ class BrokerService
$new_site_id = $m_district->getDistrictKeyById('site_id', ['id'=>$data['district_id']]); $new_site_id = $m_district->getDistrictKeyById('site_id', ['id'=>$data['district_id']]);
if ($old_site_id != $new_site_id) { if ($old_site_id != $new_site_id) {
return $this->response(101, '编辑部门,导致所属城市不一致'); $result['msg'] = '编辑部门,导致所属城市不一致';
return $result;
} }
$msg = '编辑成功'; $msg = '编辑成功';
if (!empty($data['password'])) { if (!empty($data['password'])) {
......
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