Commit 3c6e3aad authored by hujun's avatar hujun

判断路名

parent 62f54848
......@@ -67,6 +67,12 @@ class HouseService
return $result;
}
if (!strstr($data['internal_address'], '路')) {
$result['status'] = 'fail';
$result['msg'] = '请输入完整路名';
return $result;
}
$house_id = $this->house->addHouse($data, $agent_id);
if (!empty($data['id'])) {
......
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